Docker-transmission-openvpn: Cannot resolve host address, SIGUSR1 received, process restarting

Created on 9 Dec 2020  路  4Comments  路  Source: haugene/docker-transmission-openvpn


Before creating this issue I have:

  • [X] Searched for similar issues
  • [x] [Read the documentation](https://haugene.github.io/docker-transmission-openvpn/). Especially the troubleshooting section
  • [X] Tried to add as much relevant information to the issue as possible

Describe the problem
For about a week now, I added a few series to transmission, and they'll start off just fine, but after a day, they then have 0 upload/download. I checked the logs and got what I pasted below. I've changed the OPENVPN_CONFIG multiple times, and set it to the following in my latest change: ca_vancouver,ca_ontario,ca_montreal. I'm still getting the same.

Logs

2020-12-09聽00:17:48 | stdout | Wed聽Dec聽聽9聽00:17:48聽UTC聽2020:聽bindPort聽error
-- | -- | --
2020-12-09聽00:17:48 | stdout | curl:聽(28)聽Connection聽timed聽out聽after聽15001聽milliseconds
2020-12-09聽00:17:18 | stdout | curl:聽(28)聽Connection聽timed聽out聽after聽15001聽milliseconds
2020-12-09聽00:16:48 | stdout | curl:聽(28)聽Connection聽timed聽out聽after聽15000聽milliseconds
2020-12-09聽00:16:18 | stdout | curl:聽(28)聽Connection聽timed聽out聽after聽15000聽milliseconds
2020-12-09聽00:16:00 | stdout | Wed聽Dec聽聽9聽00:16:00聽2020聽SIGUSR1[soft,init_instance]聽received,聽process聽restarting
2020-12-09聽00:16:00 | stdout | Wed聽Dec聽聽9聽00:16:00聽2020聽Could聽not聽determine聽IPv4/IPv6聽protocol
2020-12-09聽00:16:00 | stdout | Wed聽Dec聽聽9聽00:16:00聽2020聽RESOLVE:聽Cannot聽resolve聽host聽address:聽ca-montreal.privacy.network:1198聽(Try聽again)
2020-12-09聽00:15:55 | stdout | Wed聽Dec聽聽9聽00:15:55聽2020聽RESOLVE:聽Cannot聽resolve聽host聽address:聽ca-montreal.privacy.network:1198聽(Try聽again)
2020-12-09聽00:15:50 | stdout | Wed聽Dec聽聽9聽00:15:50聽2020聽NOTE:聽the聽current聽--script-security聽setting聽may聽allow聽this聽configuration聽to聽call聽user-defined聽scripts
2020-12-09聽00:15:48 | stdout | curl:聽(28)聽Connection聽timed聽out聽after聽15001聽milliseconds
2020-12-09聽00:15:18 | stdout | curl:聽(28)聽Connection聽timed聽out聽after聽15001聽milliseconds
2020-12-09聽00:10:50 | stdout | Wed聽Dec聽聽9聽00:10:50聽2020聽SIGUSR1[soft,init_instance]聽received,聽process聽restarting
2020-12-09聽00:10:50 | stdout | Wed聽Dec聽聽9聽00:10:50聽2020聽Could聽not聽determine聽IPv4/IPv6聽protocol
2020-12-09聽00:10:50 | stdout | Wed聽Dec聽聽9聽00:10:50聽2020聽RESOLVE:聽Cannot聽resolve聽host聽address:聽ca-montreal.privacy.network:1198聽(Try聽again)
2020-12-09聽00:10:45 | stdout | Wed聽Dec聽聽9聽00:10:45聽2020聽RESOLVE:聽Cannot聽resolve聽host聽address:聽ca-montreal.privacy.network:1198聽(Try聽again)
2020-12-09聽00:10:40 | stdout | Wed聽Dec聽聽9聽00:10:40聽2020聽NOTE:聽the聽current聽--script-security聽setting聽may聽allow聽this聽configuration聽to聽call聽user-defined聽scripts
2020-12-09聽00:05:40 | stdout | Wed聽Dec聽聽9聽00:05:40聽2020聽SIGUSR1[soft,init_instance]聽received,聽process聽restarting
2020-12-09聽00:05:40 | stdout | Wed聽Dec聽聽9聽00:05:40聽2020聽Could聽not聽determine聽IPv4/IPv6聽protocol
2020-12-09聽00:05:40 | stdout | Wed聽Dec聽聽9聽00:05:40聽2020聽RESOLVE:聽Cannot聽resolve聽host聽address:聽ca-montreal.privacy.network:1198聽(Try聽again)
2020-12-09聽00:05:35 | stdout | Wed聽Dec聽聽9聽00:05:35聽2020聽RESOLVE:聽Cannot聽resolve聽host聽address:聽ca-montreal.privacy.network:1198聽(Try聽again)
2020-12-09聽00:05:30 | stdout | Wed聽Dec聽聽9聽00:05:30聽2020聽NOTE:聽the聽current聽--script-security聽setting聽may聽allow聽this聽configuration聽to聽call聽user-defined聽scripts
2020-12-09聽00:00:30 | stdout | Wed聽Dec聽聽9聽00:00:30聽2020聽SIGUSR1[soft,init_instance]聽received,聽process聽restarting
2020-12-09聽00:00:30 | stdout | Wed聽Dec聽聽9聽00:00:30聽2020聽Could聽not聽determine聽IPv4/IPv6聽protocol
2020-12-09聽00:00:30 | stdout | Wed聽Dec聽聽9聽00:00:30聽2020聽RESOLVE:聽Cannot聽resolve聽host聽address:聽ca-montreal.privacy.network:1198聽(Try聽again)
2020-12-09聽00:00:25 | stdout | Wed聽Dec聽聽9聽00:00:25聽2020聽RESOLVE:聽Cannot聽resolve聽host聽address:聽ca-montreal.privacy.network:1198聽(Try聽again)
2020-12-09聽00:00:20 | stdout | Wed聽Dec聽聽9聽00:00:20聽2020聽NOTE:聽the聽current聽--script-security聽setting聽may聽allow聽this聽configuration聽to聽call聽user-defined聽scripts
2020-12-08聽23:55:20 | stdout | Tue聽Dec聽聽8聽23:55:20聽2020聽SIGUSR1[soft,init_instance]聽received,聽process聽restarting
2020-12-08聽23:55:20 | stdout | Tue聽Dec聽聽8聽23:55:20聽2020聽Could聽not聽determine聽IPv4/IPv6聽protocol
2020-12-08聽23:55:20 | stdout | Tue聽Dec聽聽8聽23:55:20聽2020聽RESOLVE:聽Cannot聽resolve聽host聽address:聽ca-montreal.privacy.network:1198聽(Try聽again)
2020-12-08聽23:55:15 | stdout | Tue聽Dec聽聽8聽23:55:15聽2020聽RESOLVE:聽Cannot聽resolve聽host聽address:聽ca-montreal.privacy.network:1198聽(Try聽again)
2020-12-08聽23:55:10 | stdout | Tue聽Dec聽聽8聽23:55:10聽2020聽NOTE:聽the聽current聽--script-security聽setting聽may聽allow聽this聽configuration聽to聽call聽user-defined聽scripts
2020-12-08聽23:50:10 | stdout | Tue聽Dec聽聽8聽23:50:10聽2020聽SIGUSR1[soft,init_instance]聽received,聽process聽restarting
2020-12-08聽23:50:10 | stdout | Tue聽Dec聽聽8聽23:50:10聽2020聽Could聽not聽determine聽IPv4/IPv6聽protocol
2020-12-08聽23:50:10 | stdout | Tue聽Dec聽聽8聽23:50:10聽2020聽RESOLVE:聽Cannot聽resolve聽host聽address:聽ca-montreal.privacy.network:1198聽(Try聽again)
2020-12-08聽23:50:05 | stdout | Tue聽Dec聽聽8聽23:50:05聽2020聽RESOLVE:聽Cannot聽resolve聽host聽address:聽ca-montreal.privacy.network:1198聽(Try聽again)
2020-12-08聽23:50:00 | stdout | Tue聽Dec聽聽8聽23:50:00聽2020聽NOTE:聽the聽current聽--script-security聽setting聽may聽allow聽this聽configuration聽to聽call聽user-defined聽scripts
2020-12-08聽23:45:03 | stdout | the聽has聽been聽a聽fatal_error

Host system:
Running on Synology NAS.

bug

All 4 comments

The container is apparently getting DNS errors. There are two log lines that is especially relevant here:

RESOLVE: Cannot resolve host address: ca-montreal.privacy.network:1198 (Try again)

:point_up: Ok, so your DNS resolving is gone. Doing one of these suggestions might remedy that. But.. As you say, the container starts off just fine. So what happens?

And then we have:

SIGUSR1[soft,init_instance] received, process restarting

:point_up: This is described here. It's not always easy to know why a containers network falls out. I've been running this container for 5-6 years now and haven't had that problem. But still. There is a proposed solution in the docs. Test it and let me know how it goes :crossed_fingers:

The container is apparently getting DNS errors. There are two log lines that is especially relevant here:

RESOLVE: Cannot resolve host address: ca-montreal.privacy.network:1198 (Try again)

鈽濓笍 Ok, so your DNS resolving is gone. Doing one of these suggestions might remedy that. But.. As you say, the container starts off just fine. So what happens?

And then we have:

SIGUSR1[soft,init_instance] received, process restarting

鈽濓笍 This is described here. It's not always easy to know why a containers network falls out. I've been running this container for 5-6 years now and haven't had that problem. But still. There is a proposed solution in the docs. Test it and let me know how it goes 馃

Roger that, I'll see what I can find and provide feedback.

Oh yeah. And I see you're running PIA and getting the bindPort stuff. Hopefully I've just merged a fix for that in #1602
You could try to just pull the latest image again and see if it's fixed for you in the new version. That would also be interesting for me to know, if that ultimately caused your container networking to fail somehow. But I'm not seeing how some failed curl calls can cause that.

Oh yeah. And I see you're running PIA and getting the bindPort stuff. Hopefully I've just merged a fix for that in #1602
You could try to just pull the latest image again and see if it's fixed for you in the new version. That would also be interesting for me to know, if that ultimately caused your container networking to fail somehow. But I'm not seeing how some failed curl calls can cause that.

Looks like it was a combination of this and the DNS resolving. Upgraded to latest and set the suggestion and now I'm running clean. Appreciate the update!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jorgelsaba picture jorgelsaba  路  3Comments

niXta1 picture niXta1  路  3Comments

pejotll picture pejotll  路  4Comments

Jafalex picture Jafalex  路  3Comments

coulterj picture coulterj  路  4Comments