-
Notifications
You must be signed in to change notification settings - Fork 24
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
Socket hang up #2
Comments
Hi. I am having the same problem in an AWS EC2 environment
|
For production envirioment the HTTP Proxy has no response for OPTIONS requests, so its will give us Cors error. My temp solution:
After resolve this, i found another problem. [EDIT] [EDIT 2]
|
Implemented CORS support per colyseus#2 (comment)
I got the same error in my production env. I deploy the @colyseus/proxy service in a docker swarm cluster after a nginx reverse proxy. @MateusMendesSantana have you solved your problem and do you has the same deployment with me? |
When I run this proxy, I get this error
I tried to fix it and I found this, if I replace the target in original code, from this
to this
It works. I don't really understand why. Maybe you can help me explain it.
I fixed the code in my case, and I also replace the backend to localhost if it's the same with proxy IP.
The text was updated successfully, but these errors were encountered: