usernameupdate on Nostr: hey I'm trying to implement a nostr client with websockets but the client times out ...
hey I'm trying to implement a nostr client with websockets but the client times out and closes the connection after 20mins, I'm not sending any data for 20mins but am still expecting the client to be connected and subscribed for greater than 20mins, is their some sort of ping or keepalive packet that im missing here or is the main relay programmed to disconnect each websocket session after 20mins?
Published at
2023-01-28 01:11:05Event JSON
{
"id": "b77def21f079d1d505c12b8bf36a9db89572bb1bb55520f384aacbb82833aed0",
"pubkey": "b8d5093246029a896cabadb7952dceabff3673e4a09fc3535ea277b40ce05329",
"created_at": 1674868265,
"kind": 1,
"tags": [],
"content": "hey I'm trying to implement a nostr client with websockets but the client times out and closes the connection after 20mins, I'm not sending any data for 20mins but am still expecting the client to be connected and subscribed for greater than 20mins, is their some sort of ping or keepalive packet that im missing here or is the main relay programmed to disconnect each websocket session after 20mins? ",
"sig": "12ed14e65ac42e49d48c8e39b6acf5b4e4f7d6d9fb6c1e63d3ea0372f03b976bcdbc02b280d35c408a6c06733d9f400af16a07ed8faf230ce7ada1ce33fc60aa"
}