Android java GRPC: Error: INTERNAL: Missing HTTP status code
See original GitHub issuePlease answer these questions before submitting your issue.
What version of gRPC are you using?
1.8.0
What did you expect to see?
Correct response,
on android maven build I get the following error on response (note I see the correct response on the logs but the error stops it been returned correctly
Error: INTERNAL: Missing HTTP status code
headers: Metadata(strict-transport-security=max-age=31536000)
//code
String macaroon = "my macroon";
ManagedChannel channel = OkHttpChannelBuilder.forAddress("btcpayt3.indiesquare.net", 443).build();
LightningBlockingStub stub = LightningGrpc
.newBlockingStub( channel)
.withCallCredentials(new MacaroonCallCredential(macaroon));
GetInfoResponse response = stub.getInfo(GetInfoRequest.getDefaultInstance());
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
java.io.IOException: grpc failed - Stack Overflow
I can reproduce this issue (java.io.IOException: grpc failed), when there is no Internet connection on my real device.
Read more >Error Handling in gRPC - Baeldung
Java encapsulates this error model with the class io.grpc.Status. This class requires a standard error status code and an optional string ...
Read more >Enum Status.Code - gRPC on GitHub
Internal errors. Means some invariants expected by underlying system has been broken. If you see one of these errors, something is very broken....
Read more >Basics tutorial | Android Java - gRPC
Then we define rpc methods inside our service definition, specifying their request and response types. gRPC lets you define four kinds of ...
Read more >415 Unsupported Media Type - HTTP - MDN Web Docs
The HTTP 415 Unsupported Media Type client error response code indicates that the server refuses to accept the request because the payload ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You were likely hitting this bug with gRPC OkHttp, fixed in our 1.11.0 release: https://github.com/grpc/grpc-java/issues/4261.
I can confirm the the issue was the version 1.8.0, changing to 1.6.1 fixes it so I will close and post my maven pox.xml code for reference