RayBa82

Results 31 comments of RayBa82

Is there anything happening? Does anybody consider the security aspect of running a public available web application? I brought the vulnerabilities down to three, take it or leave it. I...

I have the same error when using report state. How should i try the suggestions? Changing the code and building the project?

I dont know what you are talking about? I am using just SmartHomeApp.reportState. There is no method to shut down a "channel"

BTW I have a working implementation for node, i just converted this app to java because node sucks ;-) And now I get this error. So the error has to...

I am hosting it on my own server. I have zero experience with gRPC, so I would have to dig into it. Maybe using kotlin with node is easyer....

Ok now i got it, I will try that tonight CET ;-)

This really seems to fix the problem. I could not reproduce the error with the fix. Thanks.

This code works without any problem: ' fun report(request: HomeGraphApiServiceProto.ReportStateAndNotificationRequest): HomeGraphApiServiceProto.ReportStateAndNotificationResponse { requireNotNull(this.credentials) { "You must pass credentials in the app constructor" } val channel = ManagedChannelBuilder.forTarget("homegraph.googleapis.com").build() val blockingStub =...

Just for further Info: This error never happened with a single request. But if my applications was sending multiple report state requests per second (about 6) this error has always...

None of the solutions with manually closing the channel worked for me in the long run. After some time the error always occured again. What actually worked for me is...