grpc_stream-medium icon indicating copy to clipboard operation
grpc_stream-medium copied to clipboard

Cloning To Windows Gives "Failed to load resource: net::ERR_CONNECTION_REFUSED"

Open austincollinpena opened this issue 4 years ago • 9 comments

Process:

  1. Start up Envoy
  2. Run the Go server
  3. Run the React app

Error code: Failed to load resource: net::ERR_CONNECTION_REFUSED

Any ideas?

austincollinpena avatar Jul 20 '20 05:07 austincollinpena

Most probably the connection between envoy and client is failing

kumaranshu72 avatar Aug 18 '20 02:08 kumaranshu72

I have the same problem. Did you solve it?

delaprada avatar Oct 13 '20 11:10 delaprada

I did not

austincollinpena avatar Oct 14 '20 04:10 austincollinpena

Sorry guys just seeing this let me see if I can replicate it tonight / tomorrow and will post the findings here

Niraj-Fonseka avatar Oct 14 '20 04:10 Niraj-Fonseka

@austincollinpena It will be helpful if you can share the configurations.

kumaranshu72 avatar Oct 14 '20 04:10 kumaranshu72

I ended up abandoning the project, apologies but you'll have to get someone else who has the same issue to help

austincollinpena avatar Oct 14 '20 16:10 austincollinpena

Yeah I'm not able to replicate this. Will you be able to provide a more descriptive error message ? Maybe a screen shot or something ? @delaprada

Niraj-Fonseka avatar Oct 15 '20 01:10 Niraj-Fonseka

Hi I'm getting the same issue when I try to replicate, I get from the browser

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:8000/sensors.Sensor/TempSensor. (Reason: CORS request did not succeed).

fmolinar avatar Oct 28 '20 00:10 fmolinar

@fmr999 Set the cors headers in envoy. You can refer to the config here for more details. https://stackoverflow.com/a/62905330/7494233

kumaranshu72 avatar Oct 28 '20 04:10 kumaranshu72