nextcloud / nextcloud/whiteboard

Wrong websocket path

Open
#193 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs info setup
Dominant language
JavaScript
Stars
215
Forks
39
Avg merge
1d 3h
Merged PRs (30d)
32

Description

The websocket path is /socket.io in the source code but /whiteboard in the documentation.

The result of this is that the client fails to connect to the service, when configured according to the documentation/example.

I suggest changing the code so that it is using /whiteboard, as that makes more sense than /socket.io (in particular since there may be other services using websockets on the host in question, and it's therefore better to name the endpoints for what they are instead of by technology).

I also mentioned this earlier here ten days ago, perhaps that information is useful to those having problems getting it running.

Contributor guide

Open the contributing guide

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

Start with src/collaboration/Portal.ts at the websocket path and compare it with the /nginx documentation section in the README. Align the client endpoint with the documented configuration, then verify that a client configured according to the documentation can connect successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
networking
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.