question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Echo Demo not Working

See original GitHub issue

Hey there, a couple of us in our office have recently followed the directions in INSTALL.md and the net/grpc/gateway/examples/echo/README.md.

After following the instructions without any visible errors, we can confirm that the docker instances are all running as expected:

CONTAINER ID        IMAGE                    COMMAND                  CREATED                  STATUS              PORTS                               NAMES
d70c3b126c95        grpcweb/closure-client   "nginx"                  Less than a second ago   Up 2 seconds        0.0.0.0:8081->8081/tcp              modest_bohr
930f5ebfbbb6        grpcweb/envoy            "/usr/bin/dumb-init …"   57 seconds ago           Up About a minute   0.0.0.0:8080->8080/tcp, 10000/tcp   eloquent_heisenberg
7dd1c9f8ce1f        grpcweb/echo-server      "/github/grpc-web/ne…"   3 minutes ago            Up 3 minutes        0.0.0.0:9090->9090/tcp              echo-server

However, when running http://localhost:8080/net/grpc/gateway/examples/echo/echotest.html in the browser, we get:

upstream connect error or disconnect/reset before headers

We have also attempted to hook up our own GRPC service and a custom Envoy container with a HTTP-GRPC proxy and are getting the exact same error for any validly formatted POST request we send to the envoy proxy.

This is a complete blocker for us at this time. Any ideas?

EDIT: Discovered the echo README.md documentation is wrong, the browser URL should be:

http://localhost:8081/echotest.html

However, this also breaks as it can’t load the main.js file and I now get this error:

GET http://localhost:8081/dist/main.js net::ERR_ABORTED 404 (Not Found)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
osweecommented, Jan 6, 2019

I see this is closed, but actually the same issue there when following - https://github.com/grpc/grpc-web/tree/master/net/grpc/gateway/examples/helloworld guide. Just reporting.

0reactions
stanley-cheungcommented, Oct 2, 2018

Closing this. Original issue was resolved. Added a blurb on how to compile the protoc-gen-grpc-web plugin here: https://github.com/grpc/grpc-web#code-generator-plugin

Read more comments on GitHub >

github_iconTop Results From Across the Web

Echo fishfinder goes into demo mode
Ensure the transducer was correctly connected before powering on the echo. If the echo was powered on before the transducer was connected, power...
Read more >
How Do I Troubleshoot an Issue? - Echo Knowledge Base
To resolve issues as quickly as possible, try using the troubleshooting tips and techniques below. Please note: Always back up your website, or ......
Read more >
Amazon Alexa: Troubleshooting Streaming Issues on Echo ...
If you experience issues streaming content on your Alexa device, here are some common solutions that may help.
Read more >
Is the ws WebSocket client broken? echo.websocket.org demo ...
I'm running the echo.websocket.org demo for the ws WebSocket library on my local machine. var WebSocket = require('ws'); var ws = new ...
Read more >
Fix audio issues or echo on Meta Portal
Your camera cover is not covering your mics. Echo during a call. Echo is when one caller speaks and hears their own voice...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found