WebSocket handshake: Unexpected response code: 403
Closed this issue · 1 comments
vinayp21 commented
WebSocket connection to 'wss://us1.pusherplatform.io/ws' failed: Error during WebSocket handshake: Unexpected response code: 403
Getting this error whenever I am trying to connect using ChatManager.connect function.
trying to establish connection through localhost
code -
const tokenProvider = new TokenProvider({
url: TOKEN_URL,
})
const chatManager = new ChatManager({
instanceLocator: INSTANCE_LOCATOR,
tokenProvider: tokenProvider,
userId:'test' // a valid user created in console
})
const currentUser = await chatManager.connect();
minaorangina commented
Hi, if this is still an issue please let our support team know at support@pusher.com, and they can give you more direct help.