langflow icon indicating copy to clipboard operation
langflow copied to clipboard

Local docker dev env wont connect "Could not proxy request /all from"

Open dataforxyz opened this issue 2 years ago • 2 comments

Describe the bug If you can point me in the right direction or some trouble shooting steps I am happy to keep working on the issue. I am reaching out cause I feel like I am missing something dumb.

I understand it might have something to do with set_proxy.sh. so maybe idk what I should change package.json to?

I have tried changing the backend url in the package.json to localhost, backend and 127.0.0.1 as well as the one in the log which is its local docker network ip.

Proxy error: Could not proxy request /all from localhost:3000 to http://172.24.0.3:7860. 2023-05-06T01:30:01.133840400Z See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNREFUSED). 2023-05-06T01:30:01.133854900Z 2023-05-06T01:33:15.013844800Z Proxy error: Could not proxy request /all from 127.0.0.1:3000 to http://172.24.0.3:7860. 2023-05-06T01:33:15.013930700Z See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNREFUSED).

Browser and Version

  • Browser Firefox
  • Version 112.0.2

To Reproduce Steps to reproduce the behavior: download the pack. run the docker compose or make dev build=1

dataforxyz avatar May 06 '23 01:05 dataforxyz

Hey, @bobsburgers This is due to the proxy in package.json file. Change it to http://backend:7860 and it should work.

ogabrielluiz avatar May 07 '23 20:05 ogabrielluiz

Hey, @bobsburgers This is due to the proxy in package.json file. Change it to http://backend:7860 and it should work.

doesn't work and gives another problem https://github.com/logspace-ai/langflow/issues/275#issuecomment-1543329427

developerisnow avatar May 11 '23 05:05 developerisnow

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 25 '23 06:06 stale[bot]