Docker issues with Networking

Docker containers wrap a piece of software in a complete filesystem that contains everything needed to run: code, runtime, system tools, system libraries – anything that can be installed on a server. This guarantees that the software will always run the same, regardless of its environment.

Moderator: Lillian.W@AST

Fgrutz
Posts: 7
youtube meble na wymiar Warszawa
Joined: Sun Aug 15, 2021 9:45 am

Docker issues with Networking

Post by Fgrutz »

I have a AS1002T V2 and since yesterday, all my docker´s containers lost their connections with Internet.
Sonarr and Bazarr stopped accepting connections from internet browsers and from using telnet inside SSH.
Checking both Sonarr and Bazarr Logs, I saw that they are running but with connection problems to internet.

I tried to re-install Both programs and Docker-ce itself again and no success.
I even tried to install Portainer (that uses Docker-ce) and same issue happens there.

I saw that Docker-ce last update version is from 08/11/21, don’t know if the problem came from there.

Don’t know if someone is having or had this problem.

Thanks.
User avatar
Nazar78
Posts: 2002
Joined: Wed Jul 17, 2019 10:21 pm
Location: Singapore
Contact:

Re: Docker issues with Networking

Post by Nazar78 »

So far no issues but I'm on a different architecture. Do you mean you can't access the app's web UI or the apps can't access the internet or both?

Please post your:

Code: Select all

docker ps -a
And can you telnet into the shown bridged ports i.e. 0.0.0.0:9000 for portainer?

Code: Select all

telnet 127.0.0.1 9000
AS5304T - 16GB DDR4 - ADM-OS modded on 2GB RAM
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps

When posting, consider checking the box "Notify me when a reply is posted" to get faster response
Fgrutz
Posts: 7
Joined: Sun Aug 15, 2021 9:45 am

Re: Docker issues with Networking

Post by Fgrutz »

Both problems!

Code: Select all

 docker ps -a 
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
2049d9961ca3 portainer/portainer:latest "/portainer --no-ana…" About a minute ago Up About a minute 0.0.0.0:9000->9000/tcp Portainer
4545b961b060 linuxserver/sonarr:latest "/init" 13 hours ago Up 4 hours 0.0.0.0:18989->8989/tcp Sonarr

Code: Select all

 telnet 127.0.0.1 9000 
telnet 127.0.0.1 9000
Connected to 127.0.0.1
Connection closed by foreign host
User avatar
Nazar78
Posts: 2002
Joined: Wed Jul 17, 2019 10:21 pm
Location: Singapore
Contact:

Re: Docker issues with Networking

Post by Nazar78 »

From your response, both Portainer and Sonarr seems to be running ok. Even the telnet can connect so you should be able to connect from a browser for both Portainer (http://nas-ip:9000) and Sonarr (http://nas-ip:18989). Try:

Code: Select all

curl -I http://nas-ip:9000
curl -I http://nas-ip:18989
Perhaps clear your browser cache or run in incognito mode or try another browser?

If you say the apps can't access the internet test this see if you can get a response from Google on the Sonarr container:

Code: Select all

docker exec -t Sonarr curl -I google.com
AS5304T - 16GB DDR4 - ADM-OS modded on 2GB RAM
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps

When posting, consider checking the box "Notify me when a reply is posted" to get faster response
Fgrutz
Posts: 7
Joined: Sun Aug 15, 2021 9:45 am

Re: Docker issues with Networking

Post by Fgrutz »

This is what I get trying to connect to them:

Code: Select all

curl -I http://nas-ip:9000
curl -I http://nas-ip:18989
Portainer:
curl -I http://192.168.100.38:9000
curl: (7) Failed to connect to 192.168.100.38 port 9000: No route to host

Sonarr:
curl -I http://192.168.100.38:18989
curl: (7) Failed to connect to 192.168.100.38 port 18989: No route to host

Already tried to clear Cache and run in incognito mode.
After both tries I got Timeout response from browsers.

Code: Select all

docker exec -t Sonarr curl -I google.com
docker exec -t Sonarr curl -I google.com
curl: (6) Could not resolve host: google.com

And I checked NAS logs, and saw that it started happening after I reboot NAS after the update of Docker-CE.
User avatar
Nazar78
Posts: 2002
Joined: Wed Jul 17, 2019 10:21 pm
Location: Singapore
Contact:

Re: Docker issues with Networking

Post by Nazar78 »

Ok unfortunately I can't check further as mentioned I'm on a different architecture, x86_64, yours is arm. You could however try downgrading to the previous version see if it helps. Also open a ticket with app maintainer, Austor Support.

https://appdownload.asustor.com/0010_99 ... r5_arm.apk

Uninstall the current version then upload the apk above on the App Central->Management->Manual Install. Also temporarily disable the auto update schedule if enabled until this is fixed.
AS5304T - 16GB DDR4 - ADM-OS modded on 2GB RAM
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps

When posting, consider checking the box "Notify me when a reply is posted" to get faster response
User avatar
Nazar78
Posts: 2002
Joined: Wed Jul 17, 2019 10:21 pm
Location: Singapore
Contact:

Re: Docker issues with Networking

Post by Nazar78 »

I'm not sure of your NAS builds and if these commands are built-in but if you would like to try test:

1. Disable Docker from the app central.

2. Run below:

Code: Select all

iptables -t nat -F
ifconfig docker0 down
brctl delbr docker0
3. Enable Docker from the app central.

If this works think you'll need to do this every reboot until it's fixed.
AS5304T - 16GB DDR4 - ADM-OS modded on 2GB RAM
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps

When posting, consider checking the box "Notify me when a reply is posted" to get faster response
Fgrutz
Posts: 7
Joined: Sun Aug 15, 2021 9:45 am

Re: Docker issues with Networking

Post by Fgrutz »

No Success with the codes you sent, tried it last night .

Just did the downgrade on Docker-CE and everything working again!

I will report it in Asustor Support and wait for a solution before upgrading it again.

Thanks for the help.
shrek3
Posts: 2
Joined: Sun Sep 05, 2021 6:01 pm

Re: Docker issues with Networking

Post by shrek3 »

Nazar78 wrote:I'm not sure of your NAS builds and if these commands are built-in but if you would like to try test:

1. Disable Docker from the app central.

2. Run below:

Code: Select all

iptables -t nat -F
ifconfig docker0 down
brctl delbr docker0
3. Enable Docker from the app central.

If this works think you'll need to do this every reboot until it's fixed.
Hi,

just came across this topic while trying to solve the same problem with qbittorrent. it seems that the container is running, but no network access.
i noticed it yesterday, after upgrading the ADM to the latest version (AS1004T).
i also noticed that in the docker-ce changelog, the latest update change something with local access and security (so maybe this is the cause?).
i tried running the commands above, but it didn't solve it. then i tried to download the previous version from the link that you provided, but it seems that Asustor has removed it.
in addition, the portainer was also removed from app central.
any chance that you have a working link to download the apk from? at least until this issue will be resolved (hopefully) by Asustor

Thanks
User avatar
Nazar78
Posts: 2002
Joined: Wed Jul 17, 2019 10:21 pm
Location: Singapore
Contact:

Re: Docker issues with Networking

Post by Nazar78 »

Sorry I'm not using the arm arch so I don't have it. Hopefully Fgrutz or anybody can help.
AS5304T - 16GB DDR4 - ADM-OS modded on 2GB RAM
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps

When posting, consider checking the box "Notify me when a reply is posted" to get faster response
Post Reply

Return to “Docker”