-
April 2nd, 2020, 03:09 PM
#1
Issue with conecting via websocket (Sec-WebSocket-Protocol unsuported)
Hi!
I'm currently using the Lightstreamer version 6.0.3 (& 6.0.1), and, when I try to connect using websockets, following the TLCP Specifications document, but got 403 and an message in log's file.
I tried with bellow command:
JS Command:
var websocket = new WebSocket('ws://localhost:8080/lightstreamer',['Sec-WebSocket-Protocol','TLCP-2.1.0.lightstreamer.com']);
Result: 403
LS Server Log:
02-abr-20 10:03:00,578|WARN |ightstreamerLogger.connections.WS|SERVER POOLED THREAD 10 |Received websocket upgrade request with no acceptable subprotocol: unsupported.
Tried the same with currently online server (latest version of LS) wss://push.lightstreamer.com/lighstreamer and works like a charm.
The question is, wich subprotocol should I use with version 6.0.1 (&6.0.3) to work with websockets transport? I have not found any documentation about this.
Thanks!
Similar Threads
-
By Jack Andrews in forum Client SDKs
Replies: 1
Last Post: July 28th, 2016, 11:16 AM
-
By atamel in forum General
Replies: 3
Last Post: August 9th, 2010, 02:09 PM
-
By cfalcone in forum Client SDKs
Replies: 1
Last Post: July 10th, 2008, 02:19 PM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 06:17 PM.
Bookmarks