NginxProxyManager / NginxProxyManager/nginx-proxy-manager

Synology Docker Container open terminal socket closed error.

Open
#3,595 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug stale
Dominant language
TypeScript
Stars
34.2k
Forks
3.9k
Avg merge
21h 12m
Merged PRs (30d)
20

Description

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes
  • Are you sure you're not using someone else's docker image?
    • Yes
  • Have you searched for similar issues (both open and closed)?
    • Yes

Describe the bug
The Synology Nas web page is accessed normally, but the opening terminal in the docker container indicates that the socket is closed, and the error occurs whether add custom /docker/wslocation or not.

The chrome web developer tools - network error is as follows:
WebSocket connection to 'wss://mydomain:myport/docker/ws' failed: WebSocket is closed before the connection is established.

Additional information:
The websocket connection on the home page is normal:
request url: wss://mydomain:myport//synoscgi.sock/socket.io/?Version=xx

Nginx Proxy Manager Version
v2.11.1

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Container Manager', select one container and enter detail.
  2. Click on handle, select open terminal
  3. See error

Screenshots
image
image
image
image

Operating System
Synology DSM 7.2-64570 Update 1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named in the report. Start by reproducing the terminal WebSocket failure using the listed Container Manager steps on Synology DSM, then trace the Docker terminal connection entry point; done means the terminal opens successfully without the socket closing.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, typescript
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.