monk_cactus on Nostr: Anyone have advice on establishing relay connections using python-nostr? I’ve got ...
Anyone have advice on establishing relay connections using python-nostr?
I’ve got
normie_news_bot (npub1c3z…y7cq) running with basic functionality, but I don’t think it’s publishing to every relay in the script.
I get a WebSocketConnectionClosedExcption: Connection is already closed error. Not sure if that’s because the relays are rejecting my connection or if the connection times out before the publish() executes.
Published at
2023-04-17 21:18:38Event JSON
{
"id": "c5597f13bd8e08e9b4beff2bd8c216cfb71dab85fe764d0e1732f5d820dbce58",
"pubkey": "0da54ff10e1931782c8db2cb7519a282cb990f39dff378dc5a2cc67a63794007",
"created_at": 1681766318,
"kind": 1,
"tags": [
[
"p",
"c445259e8f35e32a1f333d2e4554cbaa587bd33253147617b8259662b31dcfd6"
]
],
"content": "Anyone have advice on establishing relay connections using python-nostr? \n\nI’ve got #[0] running with basic functionality, but I don’t think it’s publishing to every relay in the script. \n\nI get a WebSocketConnectionClosedExcption: Connection is already closed error. Not sure if that’s because the relays are rejecting my connection or if the connection times out before the publish() executes.",
"sig": "29eabfaea4bd096fa43d55c21665c9320fd1af129ed21e4c9ca4b421ba7fcff1c4efa931bd8160ae494a998f9602e4d51a967e8cb824857fe0e49b24aaec4d95"
}