What debug level would you suggest to track it down? There is an ENV variable, so DEBUG=DEBUG? Or true false, what does it expect?
Discussion
The error is clear there, thereās no need to track down. Thereās a client forcefully sending compressed websocket frames and Nostream relays donāt like it. Nostream negotiates what websocket extensions and features are available, and compression is not. But thereās a Nostr client that just sends compressed websocket frames anyways.
Okay, I see. But maybe it is possible to find out which npub is causing it or which client it is?
In any case nostream should not die in such a case. But I suppose this happens inside the ws library, so difficult to fix for your, right?
#[3]ā Can you have a look at this nostream issue, please? It seems a request sent by Damus is causing nostream to crash: