net::ERR_INVALID_HTTP_RESPONSE
See original GitHub issueall request shows net::ERR_INVALID_HTTP_RESPONSE
i try to use demo by this
https://github.com/grpc/grpc-web/tree/master/net/grpc/gateway/examples/helloworld
i want too simple so i didnt use docker and envoy;
i make the client.js to request 8080 port and the server.js listen 8080 port.
just modify this
// client
var client = new GreeterClient('http://127.0.0.1:8080',
null, null);
//server
server.bind('0.0.0.0:8080', grpc.ServerCredentials.createInsecure());
when i open it in chrome it shows :
i add log in server method
function doSayHello(call, callback) {
console.log('hello');
callback(null, {message: 'Hello! '+ call.request.name});
}
but the hello not show
i think the server didnt get the request.
browser version
chrome 76.0.3809.100
thanks!
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:11
Top Results From Across the Web
[FIXED] NET::ERR_INVALID_RESPONSE Error Code Problem
How to Fix & Solve ERR_INVALID_RESPONSE Error Code Issue · 1. Flush the Socket Pools from your Internet Browser – · 2. Clear...
Read more >ERR_INVALID_HTTP_RESPON...
Net Core 2.2 for serving APIs. When I am sending POST or PUT requests using Google Chrome browser, I get ERR_INVALID_HTTP_RESPONSE error.
Read more >netgear router err invalid http response - Google Support
I cannot access my netgear router login from chrome. I used to be able to but about a month ago it stopped working....
Read more >(Easy Ways) Error Code: ERR_INVALID_RESPONSE Chrome ...
Some Tags you can check: ERR_INVALID_RESPONSE, ERR INVALID RESPONSE, invalid response from server, http error codes, http response example, ...
Read more >ERR_INVALID_HTTP_RESPON...
If I try with Firefox or Internet Explorer, everything works fine. ... I tried with CURL to check and I get below error:...
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 Free
Top 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
my server only run on nginx proxy,and its can not work. so I can not use grpc-web. 😦
#503 #534 I find nginx enable to use gprc on version 1.13,and I used 1.15 I try everything to config the nginx ,then the result is #503