signalrcore
signalrcore copied to clipboard
http and https transport "invalid"
hub_connection = HubConnectionBuilder()\
.with_url('http://localhost:8080/signalr', options={"verify_ssl": False, "skip_negotiation": True } )\
.configure_logging(logging.DEBUG).build()
results in
2022-08-10 10:46:35,189 - SignalRCoreClient - DEBUG - Connection started
2022-08-10 10:46:35,190 - SignalRCoreClient - DEBUG - start url:http://localhost:8080/signalr
2022-08-10 10:46:35,194 - SignalRCoreClient - DEBUG - -- web socket error --
2022-08-10 10:46:35,197 - SignalRCoreClient - ERROR - <signalrcore.transport.websockets.websocket_transport.WebsocketTransport object at 0x000002369344DCD0> scheme http is invalid
2022-08-10 10:46:35,198 - SignalRCoreClient - ERROR - scheme http is invalid <class 'ValueError'>
2022-08-10 10:46:35,198 - SignalRCoreClient - INFO - on_disconnect not defined
2022-08-10 10:46:35,198 - SignalRCoreClient - DEBUG - -- web socket close --
2022-08-10 10:46:35,198 - SignalRCoreClient - DEBUG - None
2022-08-10 10:46:35,198 - SignalRCoreClient - DEBUG - None
2022-08-10 10:46:35,199 - SignalRCoreClient - INFO - on_disconnect not defined
I believe these should work. "ws" transport scheme works, but that's not my service.