Repository navigation
[IoT] IoT client got Internal error HTTP/2. Received Rst Stream. #3367
Description
Activity
- addedtriage meI really want to be triaged.I really want to be triaged.
on Jun 12, 2018 - addedapi: cloudiotIssues related to the IoT Core API.Issues related to the IoT Core API.type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.and removedtriage meI really want to be triaged.I really want to be triaged.
on Jun 13, 2018 Hi koncha99,
I'll try to see if I can reproduce. But just wondering if you are seeing this error all the time or intermittently?
Whoops, hit the wrong button
Hi,
Thanks for help. It occurs all the time in my code.Sorry I wasn't able to reproduce this issue. My code looks like:
DeviceManagerClient client = DeviceManagerClient.create(); RegistryName parent = RegistryName.of("[project_name]", "[zone_name]", "[registry_name]"); ListDevicesRequest request = ListDevicesRequest.newBuilder() .setParent(parent.toString()) .build(); System.out.println(client.listDevices(request));And the response object is successfully received. Can you share your repro code and your environment (local machine, gae/gce, etc.)?
Sorry, I need to modify my comment before. It occurs intermittently.
I tried again from local machine with the code which is same with yours.
Code: https://github.com/koncha99/cloud-iot-api-sample
Region: asia-east1But, it sometime succeeded and sometime failed with same errors before.
Although I suspected my network environment, but situation didn't change even when I tried from another network. So I filed an issue on support desk of google clouds.If there is any progress, I will inform you.
- addedstatus: blockedResolving the issue is dependent on other work.Resolving the issue is dependent on other work.
on Jul 3, 2018 Any updates on this? I'll close this if the issue has gone.
- added a commit that references this issue
on Mar 9, 2026 - added 4 commits that reference this issue
on Mar 24, 2026
Hi,
When I use the client library for IoT, I got a HTTP/2 internal error with message, "Received Rst Stream".
In here, I used listDevicesCallable() , but also got a same error for simpler call, listDevices().
Does anyone has an insight for this error?
Thank you.
Java version
1.10
API Version
0.51-beta (also tried 0.48-beta and 0.50-beta)
Stacktrace