Global Feed Post Login
Replying to Avatar DanConwayDev

`Relay::try_connect` is less reliable at establishing a connection than say nak, or other web based tools.

Under certain network conditions, and with specific relays, `Relay::try_connect` will consistantly fail where nak will consistantly succeed (usually after a short delay <2s and the configured timeout). During these periods I can repeat the connection 10+ times.

This hasn't been too noticable as connections to other relays pick up the slack but sometimes important events are only on that relay.

I started noticing it with v0.43 but it may have been like this for a while.

Have you noticed this? Next time this happens I'll try and investigate and debug further.

Avatar
Yuki Kishimoto 2mo ago

Which relay is this happening with? Have you gossip enabled? Does it happen also with v0.44? Have you a small example to reproduce it?

Reply to this note

Please Login to reply.

Discussion

No replies yet.