bubbleboy14

Results 53 comments of bubbleboy14

Hey @gborrageiro-ld I created a standalone test from the example code you provided: ``` import rel, websocket BASEURL = "wss://fstream.binance.com/stream?streams=btcusdt@bookTicker/btcusdt@depth20@100ms/btcusdt@aggTrade/btcusdt@markPrice@1s/btcusdt@" variants = ["bookTicker", "forceOrder"] def onmsg(ws, msg): print("received:", msg) for...

@andrea-mucci hm, interesting. the [python ssl docs](https://docs.python.org/3/library/ssl.html#ssl.SSLEOFError) say: > A subclass of [SSLError](https://docs.python.org/3/library/ssl.html#ssl.SSLError) raised when the SSL connection has been terminated abruptly. Generally, you shouldn’t try to reuse the underlying...

@gborrageiro-ld @andrea-mucci @engn33r I put together a websocket throughput test in [dez](https://github.com/bubbleboy14/dez), which is an async network stack built on rel. The new test is in the latest version, 0.10.10.1,...

@engn33r @gborrageiro-ld @andrea-mucci I just encountered this issue myself! This patch fixed it for me: https://github.com/websocket-client/websocket-client/pull/961 Does it fix things for you guys? It's just two small changes in read()...

Anyone still experiencing this type of thing, check out this PR: https://github.com/websocket-client/websocket-client/pull/983 I encountered some errors along these lines, and addressed them in that branch. LMK if it works for...

@almostDemoPy I think you're right, it's probably trying to write when the socket isn't ready for it. Try out this branch: https://github.com/websocket-client/websocket-client/pull/983 Changes include using dispatcher.buffwrite() in WrappedDispatcher.send(), which should...

@almostDemoPy if you give me a basic (as concise as possible please) test case that reproduces the problem, I'll take a look

@almostDemoPy ah, I see. Correct me if I'm wrong, but it doesn't actually look like you're using rel - the branch I mentioned only addresses rel-related issues. @engn33r any thoughts?

@almostDemoPy Ok, right on. Could you please provide a concise test case with rel? BTW if you pass dispatcher=rel to run_forever() you also have to call rel.dispatch().

Nice! Glad to hear it's working. Yes, the "ws" argument is the same as the "connection" WebSocketApp instance. LMK if you have any problems! And if you're still getting that...