I have an instance of ttyd that is already reverse proxied by nginx at the URL https://192.168.1.1:4443/ttyd and that is available and functional when I visit it. My end goal is to have this instance in an iframe in one of my web applications that uses node.js and express as the web framework.
Everything works well, atleast for a few minutes i.e before my browser starts showing this in the console with the iframe in question:
I'm not sure if it's something to do with my setup or something else entirely, would love some pointers in the right direction if it is indeed my fault
Step-by-step reproduction instructions
Try with the config I've mentioned in the description that should be able to reproduce the issue
Expected behavior (be clear and concise)
Websocket should be able to connect even after a long period of inactivity
How is http-proxy-middleware used in your project?
Checks
http-proxy-middleware
.Describe the bug (be clear and concise)
I have an instance of ttyd that is already reverse proxied by nginx at the URL
https://192.168.1.1:4443/ttyd
and that is available and functional when I visit it. My end goal is to have this instance in an iframe in one of my web applications that uses node.js and express as the web framework.This is how I create the proxy:
And I use it with the express app like this:
Everything works well, atleast for a few minutes i.e before my browser starts showing this in the console with the iframe in question:
I'm not sure if it's something to do with my setup or something else entirely, would love some pointers in the right direction if it is indeed my fault
Step-by-step reproduction instructions
Try with the config I've mentioned in the description that should be able to reproduce the issue
Expected behavior (be clear and concise)
Websocket should be able to connect even after a long period of inactivity
How is http-proxy-middleware used in your project?
What http-proxy-middleware configuration are you using?
What OS/version and node/version are you seeing the problem?
Additional context (optional)
No response