fetch() API socket hang up #6956
Unanswered
DieSchoeneWolke
asked this question in
Q&A
Replies: 1 comment 6 replies
-
Is your app using |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am running code-server in docker behind caddy2 as a reverse proxy and can access my website with the node.js http-server as backend at https://domain.com/proxy/5050/index.html. My website also includes an API endpoint which is working fine locally in vs-code at http://127.0.0.1:5000/api/user. However I have issues now while using code-server when I change my endpoint to https://domain.com/proxy/5000/api/user in which I receive a socket hang up message after loading the page for quite some time. The network tab in the developer console of my browser shows 0 transferred bytes.
Does anyone know how I would have to change my setup that it will work with code-server?
Thank you very much for your replies!
Beta Was this translation helpful? Give feedback.
All reactions