Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Help] Proxy problem search for helps #613

Open
garvan2021 opened this issue Aug 29, 2023 · 1 comment
Open

[Help] Proxy problem search for helps #613

garvan2021 opened this issue Aug 29, 2023 · 1 comment

Comments

@garvan2021
Copy link

I am learning the code here to build my own coco-annotato that can run without docker, can anyone help me with the proxy problem?

When I am building the app here, I just always can't make my server correctly serve to the http://websocket/* but to http://0.0.0.0/*, I know there is a way that I can use nginx to solve the proxy problem, but it seems that coco-annotator did not use it and instead there must be another way that I want to figure out.

@SixK
Copy link

SixK commented Sep 13, 2023

you can simply add lines to the /etc/hosts file.
you can try something like that:
127.0.0.1 localhost frontend websocket

or:
127.0.0.1 frontend
127.0.0.1 websocket

As we talk about websocket, be carefull with socketio and python versions.
You have to take care about versions compatibility:
https://python-socketio.readthedocs.io/en/latest/intro.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants