Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Socketio established connection domain name path exception #936

Open
passingtraveller01 opened this issue Oct 23, 2023 · 0 comments
Open

Comments

@passingtraveller01
Copy link

Client Connection Information:
`var socket = io('ws://abc.com/customRequestPath', {

            query: {
                'clientUserCode': 'my-value'
            },
            reconnection: true,
            reconnectionDelay: 1000,
            reconnectionDelayMax: 5000,
            reconnectionAttempts: 50,
            transports: ['websocket']
        });`

The path for the browser to establish a socket link:
image

The browser establishes the socket link path is ws://abc.com/socket.io/,And the request path I expect should be ws://abc.com/customRequestPath/socket.io/。

Is this a bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant