You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
My development setup consists of multiple Docker containers:
Next.js application running in development mode
Mock API
Proxy that is used in front of Next.js application and mock API containers so one host is used for accessing both the application and API.
Next.js 8.0 has introduced WebSockets based ping approach. This in turn uses randomly assigned port for WebSocket connection and makes it impossible for me to specify which port to open in proxy container to proxy to the application container. This results in refresh of the page every 5 seconds after WebSocket connection fails.
Describe the solution you'd like
Possibility to configure WebSocket ping port will solve this issue since that specific port can be opened and proxied in the proxy container.
Describe alternatives you've considered
Solution described above is desired and probably absolutely doable. As an alternative I would consider possibility to specify ping approach: either fetch based or WebSocket based.
The text was updated successfully, but these errors were encountered:
Feature request
Is your feature request related to a problem? Please describe.
My development setup consists of multiple Docker containers:
Next.js 8.0 has introduced WebSockets based ping approach. This in turn uses randomly assigned port for WebSocket connection and makes it impossible for me to specify which port to open in proxy container to proxy to the application container. This results in refresh of the page every 5 seconds after WebSocket connection fails.
Describe the solution you'd like
Possibility to configure WebSocket ping port will solve this issue since that specific port can be opened and proxied in the proxy container.
Describe alternatives you've considered
Solution described above is desired and probably absolutely doable. As an alternative I would consider possibility to specify ping approach: either
fetch
based or WebSocket based.The text was updated successfully, but these errors were encountered: