Damus
balas profile picture
balas
@balas
what's the best way to send pings to relays in order to keep the connection alive and avoid reconnections? #asknostr
182
Kieran · 2w
Websocket supports ping pong messages
aljaz · 2w
https://www.rfc-editor.org/rfc/rfc6455#section-5.5.2
balas · 2w
nostr:nprofile1qyf8wumn8ghj7mn0wd68yv339e3k7mf0qyghwumn8ghj7mn0wd68ytnhd9hx2tcqyp7vx29q3hdj4l0elxl800hlfjp538le09epsf7k9zj59ue2y37quwgdcw9 this happens with auth.nostr1.com how can i keep your relays happy and connected?
hzrd149 · 2w
I copied nostr-tools and used a REQ with an impossible author's pubkey. https://github.com/hzrd149/applesauce/blob/master/packages%2Frelay%2Fsrc%2Frelay.ts#L134-L137