acelink
acelink copied to clipboard
Errors and instability under VPN
When I launch the container connected under VPN (using Gluetun container) in the acelink log I see many errors that are not shown when I do NOT use VPN.
I Paste container log acelink: *(I have replaced the link ID with XXXX for privacy)
2024-04-11 20:06:01,464|ServiceBrowserThread-24|zc|run: got socket error
2024-04-11 20:06:21,464|ServiceBrowserThread-24|zc|run: got socket error
2024-04-11 20:06:24,303|AceStreamCoreThread|acestream.live.download.XXXXXXXXXXXXX|send_multicast_pex_announce: error: <class 'PermissionError'>:[Errno 1] Operation not permitted
2024-04-11 20:06:41,464|ServiceBrowserThread-24|zc|run: got socket error
2024-04-11 20:07:01,464|ServiceBrowserThread-24|zc|run: got socket error
2024-04-11 20:07:16,361|AceStreamCoreThread|acestream.live.download.XXXXXXXXXXXXX|send_multicast_pex_announce: error: <class 'PermissionError'>:[Errno 1] Operation not permitted
2024-04-11 20:07:21,464|ServiceBrowserThread-24|zc|run: got socket error
2024-04-11 20:07:24,309|AceStreamCoreThread|acestream.live.download.XXXXXXXXXXXXX|send_multicast_pex_announce: error: <class 'PermissionError'>:[Errno 1] Operation not permitted
These errors when not connected by VPN are not displayed. However, even with these errors the playback usually works, but when many errors begin to appear it begins to be unstable. Since it is a paid VPN, I can configure it by removing the security filters (ad blocking, etc.), activating NAT and port forwarding:
More data: 1- I use paid ProtonVPN (Wireguard protocol). 2- The acelink container is associated with the Gluetun container network. 3- My host system is a Synology DS920+
I paste my docker compose (I use portainer):
version: "3"
services:
gluetun:
image: qmcgaw/gluetun
container_name: gluetun
mem_limit: 1g
cpu_shares: 768
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun:/dev/net/tun
ports:
- 8888:8888/tcp # HTTP proxy #For gluetun container
- 8388:8388/tcp # Shadowsocks #For gluetun container
- 8388:8388/udp # Shadowsocks #For gluetun container
- 6878:6878 #For acestream container
- 8621:8621 #For acestream container
- 62062:62062 #For acestream container
volumes:
- /volume1/docker/gluetun:/gluetun
environment:
- TZ=Europe/Madrid
- VPN_SERVICE_PROVIDER=custom
- VPN_TYPE=wireguard
- VPN_ENDPOINT_IP=XXX.XXX.XXX.XXX
- VPN_ENDPOINT_PORT=51820
- WIREGUARD_PUBLIC_KEY=XXXXX
- WIREGUARD_PRIVATE_KEY=XXXX
- WIREGUARD_ADDRESSES=XX.X.X.X/XX
- DNS_ADDRESS=X.X.X.X
- WIREGUARD_MTU=XXXX
networks:
- gluetun-bridge #It is the network previously created expressly for gluetun.
networks:
gluetun-bridge:
external: true
version: '3.3'
services:
blaiseio-acelink:
image: blaiseio/acelink:2.0.7-a1
container_name: acestream
mem_limit: 1g
cpu_shares: 768
#ports: (Disabled when connecting to VPN)
#- 6878:6878
environment:
- TZ=Europe/Madrid
volumes:
- /volume1/docker/acelink:/config
restart: always
network_mode: "container:gluetun" # to join gluetun container network