Closed Folaht closed 4 years ago
Looks like I'm using old code, closing this issue.
[update] Reopening because the new code is causing a very similar error, which I edited above.
As I understand it, the error you're encountering occurs when name resolution fails. I don't know for certain, but my impression is that you ultimately end up trying to connect before your machine has established an internet connection. You'll want to change the program to re-attempt connection in a loop, most likely.
Solved by adding:
Wants=network-online.target
I'm going to link myself to this before I keep reopening this issue:
Setup: RPi4 - Manjaro ARM
The error I get:
My code:
main.rs
And my systemd service.
testbot.service