cbpro-trader icon indicating copy to clipboard operation
cbpro-trader copied to clipboard

Forwarding problem when using docker

Open sdfsdsdsd opened this issue 3 years ago • 3 comments

Hi there,

on branch dev, after starting docker, i have this problem

web_1    | Proxy error: Could not proxy request /periods/ from 172.19.0.2:3000 to http://cbpro:5000.

ubuntu 20.04

Is it just a variable?

sdfsdsdsd avatar Feb 17 '21 23:02 sdfsdsdsd

Sorry for bothering, but this would be helpful, I am a bit stuck here

sdfsdsdsd avatar Feb 23 '21 16:02 sdfsdsdsd

I too am having this issue on ubuntu. I will look into it and see if I can find a solution.

Andrewearls avatar Apr 04 '21 00:04 Andrewearls

After starting docker you should see a few line of code that look like this:

web_1    | You can now view web in the browser.
web_1    | 
web_1    |   Local:            http://localhost:3000/
web_1    |   On Your Network:  http://172.19.0.3:3000/

In the web/package.json file you should find a proxy field replace the: http://cbpro:5000 with the Network address http://172.19.0.3:3000

Andrewearls avatar Apr 12 '21 02:04 Andrewearls