Checklist
💻 Operating System
Debian12
🐛 Bug Description
The problem lies in this line:
|
let tcp_addr = domain.to_socket_addrs()?.next().unwrap(); |
When there is a network issue or DNS issue or something unexpected happens, the client simply exits with an error.
There should be at least a retry logic or even infinite retries with exponentially growing (with an upper limit) intervals to avoid report interruption.
🚦 Expected Behavior
No response
📷 Recurrence Steps
No response
📝 Additional Information
No response