Skip to content

[bug]: Websocket connection to the proxy server failed while set up with docker compose file #3195

Closed

Description

@abidkhan484

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

There is a 404 error while requesting to the /_next/webpack-hmr endpoint with a WebSocket connection. But it perfectly works while requesting an HTTP connection.

websocket_connection_failed

Steps to reproduce

Following with the Local setup steps, the error occurred.

Browser

Google Chrome

Version

Local

Possible Solution

Since the proxy server is running with Nginx, it is recommended to add the relevant proxy header to use Web Socket. The relevant documentation is shared below.

Reference: Nginx WebSocket Proxying documentation

Activity

  1. added this to the v0.14.2-dev milestone on Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

🐛bug🐳docker

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions