haugene / docker-transmission-openvpn

Docker container running Transmission torrent client with WebUI over an OpenVPN tunnel
GNU General Public License v3.0
4.14k stars 1.21k forks source link

JSON error TRANSMISSION_UMASK=002 #1210

Closed pdoroba closed 4 years ago

pdoroba commented 4 years ago

Describe the problem

Can't connect to web UI.

Add your docker run command

#Reference: https://www.smarthomebeginner.com/traefik-reverse-proxy-tutorial-for-docker

#Requirement: Set environmental variables ( set in /etc/environment ): ${$USERDIR}, ${PUID}, ${PGID}, ${TZ}, ${DOMAINNAME}, 
#${CLOUDFLARE_EMAIL},  ${CLOUDFLARE_API_KEY}, ${HTTP_USERNAME}, ${HTTP_PASSWORD}, etc. as explained in the reference.

# Additional custom environmental variables (set in /etc/environment ): ${DOWNLOAD_DIR},${INCOMPLETE_DIR}, ${MEDIA_DIR}, ${MOVIE_DIR}, ${MUSIC_DIR},
# ${TV_DIR}, ${MY_SQL_ROOT_PASSWD}, ${MY_SQL_PASSWORD}, ${PIA_UNAME}, ${PIA_PWD}, ${TRANSMISSION_USER}, ${TRANSMISSION_PWD}

# The traefik_proxy network must be manually created in docker.

# To force Let's Encrypt Certifice regeneration for all subdomains
# rename the acme.json in ~/docker/traefik/acme and restart docker

 version: "3.6"

 services:

######### FRONTENDS ##########

######### Traefik Reverse Proxy
  traefik:
    hostname: traefik
    image: traefik:maroilles  ## maroilles refers to the latest traefik 1.7.x release
    container_name: traefik
    restart: always
    domainname: ${DOMAINNAME}
    networks:
      - default
      - traefik_proxy
    ports:
      - "80:80"
      - "443:443"
      - "8080:8080"
#    environment:
#      - CLOUDFLARE_EMAIL=${CLOUDFLARE_EMAIL}
#      - CLOUDFLARE_API_KEY=${CLOUDFLARE_API_KEY}
    labels:
      - "traefik.enable=true"
      - "traefik.backend=traefik"
#      - "traefik.frontend.rule=Host:traefik.${DOMAINNAME}"                          #subdomain match rule
#      - "traefik.frontend.rule=Host:${DOMAINNAME};PathPrefixStrip:/traefik"        #subfolder match rule
      - "traefik.port=8080"
      - "traefik.docker.network=traefik_proxy"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
      - ${USERDIR}/docker/traefik_v1.7:/etc/traefik
      - ${USERDIR}/docker/shared:/shared

######### Portainer - WebUI for Containers
  portainer:
    image: portainer/portainer
    container_name: portainer
    restart: always
#    command: --templates http://templates/templates.json
    ports:
      - "9000:9000"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - ${USERDIR}/docker/portainer/data:/data
      - ${USERDIR}/docker/shared:/shared
    environment:
      - TZ=${TZ}
    networks:
      - traefik_proxy
    labels:
      - "traefik.enable=true"
      - "traefik.backend=portainer"
#      - "traefik.frontend.rule=Host:portainer.${DOMAINNAME}"                        #subdomain match rule
#      - "traefik.frontend.rule=Host:${DOMAINNAME};PathPrefixStrip:/portainer"      #subfolder match rule
      - "traefik.port=9000"
      - "traefik.docker.network=traefik_proxy"

######### DOCKER RELATED ##########

######### Ouroboros - Automatic Update of Containers/Apps
  ouroboros:
    container_name: ouroboros
    hostname: ouroboros
    image: pyouroboros/ouroboros
    environment:
      - CLEANUP=true
      - INTERVAL=300
      - LOG_LEVEL=info
      - SELF_UPDATE=true
      #- IGNORE=mongo influxdb postgres mariadb
      - TZ=${TZ}
    restart: unless-stopped
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock

######### DOWNLOADERS ##########

######### Transmission with VPN – Bittorrent Downloader
  transmission-vpn:
    container_name: transmission-vpn
    image: haugene/transmission-openvpn
    cap_add:
      - NET_ADMIN
    devices:
      - /dev/net/tun
    restart: always
    ports:
    - "9091:9091"
    dns:
      - 1.1.1.1
      - 1.0.0.1
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ${USERDIR}/docker/transmission-vpn:/data
      - ${USERDIR}/docker/shared:/shared
      - ${USERDIR}/Downloads:/data/watch
      - ${DOWNLOAD_DIR}:/downloads                                        #Must match TRANSMISSION_DOWNLOAD_DIR
      - ${INCOMPLETE_DIR}:/data/incomplete
    environment:
      - PUID=${PUID}
      - PGID=${PGID}
      - TZ=${TZ}
###  The following environment variables are used to configure openvpn.  ###
      - OPENVPN_PROVIDER=PIA
      - OPENVPN_USERNAME=${PIA_UNAME}
      - OPENVPN_PASSWORD=${PIA_PWD}
      - OPENVPN_CONFIG=CA Toronto 
      - OPENVPN_OPTS=--inactive 3600 --ping 10 --ping-exit 60
      - LOCAL_NETWORK=192.168.0.0/24
###  The following environment variables are used to configure transmission. The transmission settings.json cannot be directly edited.  ###
      - TRANSMISSION_RPC_AUTHENTICATION_REQUIRED=true
      - TRANSMISSION_RPC_HOST_WHITELIST="127.0.0.1,192.168.*.*"
      - TRANSMISSION_RPC_PASSWORD=${TRANSMISSION_PWD}
      - TRANSMISSION_RPC_USERNAME=${TRANSMISSION_USER}
      - TRANSMISSION_UMASK=002
      - TRANSMISSION_RATIO_LIMIT=3.00
      - TRANSMISSION_RATIO_LIMIT_ENABLED=true
      - TRANSMISSION_DOWNLOAD_DIR=/downloads                              #Must match volume link for docker container
      - TRANSMISSION_SCRIPT_TORRENT_DONE_ENABLED=true                      
      - TRANSMISSION_SCRIPT_TORRENT_DONE_FILENAME=/shared/unrar.sh        #Post download unrar script
      - TRANSMISSION_INCOMPLETE_DIR_ENABLED=false
#      - TRANSMISSION_INCOMPLETE_DIR=/data/incomplete
#      - TRANSMISSION_ALT_SPEED_DOWN=50
#      - TRANSMISSION_ALT_SPEED_ENABLED=false
#      - TRANSMISSION_ALT_SPEED_TIME_BEGIN=540
#      - TRANSMISSION_ALT_SPEED_TIME_DAY=127
#      - TRANSMISSION_ALT_SPEED_TIME_ENABLED=false
#      - TRANSMISSION_ALT_SPEED_TIME_END=1020
#      - TRANSMISSION_ALT_SPEED_UP=50
#      - TRANSMISSION_BIND_ADDRESS_IPV4=0.0.0.0
#      - TRANSMISSION_BIND_ADDRESS_IPV6=::
#      - TRANSMISSION_BLOCKLIST_ENABLED=false
#      - TRANSMISSION_BLOCKLIST_URL=http://www.example.com/blocklist
#      - TRANSMISSION_CACHE_SIZE_MB=4
#      - TRANSMISSION_DHT_ENABLED=true
#      - TRANSMISSION_DOWNLOAD_LIMIT=100
#      - TRANSMISSION_DOWNLOAD_LIMIT_ENABLED=0
#      - TRANSMISSION_DOWNLOAD_QUEUE_ENABLED=true
#      - TRANSMISSION_DOWNLOAD_QUEUE_SIZE=5
#      - TRANSMISSION_ENCRYPTION=1
#      - TRANSMISSION_IDLE_SEEDING_LIMIT=30
#      - TRANSMISSION_IDLE_SEEDING_LIMIT_ENABLED=false
#      - TRANSMISSION_LPD_ENABLED=false
#      - TRANSMISSION_MAX_PEERS_GLOBAL=200
#      - TRANSMISSION_MESSAGE_LEVEL=2
#      - TRANSMISSION_PEER_CONGESTION_ALGORITHM=
#      - TRANSMISSION_PEER_ID_TTL_HOURS=6
      - TRANSMISSION_PEER_LIMIT_GLOBAL=500
      - TRANSMISSION_PEER_LIMIT_PER_TORRENT=100
#      - TRANSMISSION_PEER_PORT=51413
#      - TRANSMISSION_PEER_PORT_RANDOM_HIGH=65535
#      - TRANSMISSION_PEER_PORT_RANDOM_LOW=49152
#      - TRANSMISSION_PEER_PORT_RANDOM_ON_START=false
#      - TRANSMISSION_PEER_SOCKET_TOS=default
#      - TRANSMISSION_PEX_ENABLED=true
#      - TRANSMISSION_PORT_FORWARDING_ENABLED=false
#      - TRANSMISSION_PREALLOCATION=1
#      - TRANSMISSION_PREFETCH_ENABLED=1
#      - TRANSMISSION_QUEUE_STALLED_ENABLED=true
#      - TRANSMISSION_QUEUE_STALLED_MINUTES=30
#      - TRANSMISSION_RENAME_PARTIAL_FILES=true
#      - TRANSMISSION_RPC_BIND_ADDRESS=0.0.0.0
#      - TRANSMISSION_RPC_ENABLED=true
#      - TRANSMISSION_RPC_HOST_WHITELIST_ENABLED=false
#      - TRANSMISSION_RPC_PORT=9091
#      - TRANSMISSION_RPC_URL=/transmission/
#      - TRANSMISSION_RPC_WHITELIST=127.0.0.1
#      - TRANSMISSION_RPC_WHITELIST_ENABLED=false
#      - TRANSMISSION_SCRAPE_PAUSED_TORRENTS_ENABLED=true
#      - TRANSMISSION_SEED_QUEUE_ENABLED=false
#      - TRANSMISSION_SEED_QUEUE_SIZE=10
#      - TRANSMISSION_SPEED_LIMIT_DOWN=100
#      - TRANSMISSION_SPEED_LIMIT_DOWN_ENABLED=false
#      - TRANSMISSION_SPEED_LIMIT_UP=100
#      - TRANSMISSION_SPEED_LIMIT_UP_ENABLED=false
#      - TRANSMISSION_START_ADDED_TORRENTS=true
#      - TRANSMISSION_TRASH_ORIGINAL_TORRENT_FILES=false
#      - TRANSMISSION_UPLOAD_LIMIT=100
#      - TRANSMISSION_UPLOAD_LIMIT_ENABLED=0
#      - TRANSMISSION_UPLOAD_SLOTS_PER_TORRENT=14
#      - TRANSMISSION_UTP_ENABLED=true
#      - TRANSMISSION_WATCH_DIR=/data/watch
#      - TRANSMISSION_WATCH_DIR_ENABLED=true
#      - TRANSMISSION_HOME=/data/transmission-home
#      - TRANSMISSION_WATCH_DIR_FORCE_GENERIC=false
#      - TRANSMISSION_WEB_UI=
#      - TRANSMISSION_WEB_HOME=
###  The following environment variables modify the contaniner firewall rules.  ###
#      - ENABLE_UFW=false
#      - UFW_ALLOW_GW_NET=false
#      - UFW_EXTRA_PORTS=
#      - UFW_DISABLE_IPTABLES_REJECT=false
      - DROP_DEFAULT_ROUTE=true         #Some VPNs do not override the default route, but rather set other routes with a lower metric.
#                                        This might lead to the default route (your untunneled connection) to be used.
#                                        To drop the default route set the environment variable DROP_DEFAULT_ROUTE to true.
###  The following environment varibles allow for the use of a web proxy through the openvpn tunnel should a tracker require it.  ###
#      - WEBPROXY_ENABLED=false
#      - WEBPROXY_PORT=8888
    networks:
      - traefik_proxy
    labels:
      - "traefik.enable=true"
      - "traefik.backend=transmission-vpn"
      - "traefik.frontend.rule=Host:transmission.${DOMAINNAME}"                     #subdomain match rule
#      - "traefik.frontend.rule=Host:${DOMAINNAME};PathPrefix:/transmission"        #subfolder match rule
      - "traefik.port=9091"
      - "traefik.docker.network=traefik_proxy"

######### SABnzbd – Usenet (NZB) Downloader
#  sabnzbd:
#    image: linuxserver/sabnzbd
#    container_name: sabnzbd
#    volumes:
#      - ${USERDIR}/docker/sabnzbd:/config
#      - ${DOWNLOAD_DIR}:/downloads
#      - ${INCOMPLETE_DIR}:/incomplete-downloads
#      - ${USERDIR}/docker/shared:/shared
#    ports:
#        - "8081:8080"
#    restart: always
#   environment:
#      - PUID=${PUID}
#      - PGID=${PGID}
#      - TZ=${TZ}
#    networks:
#      - traefik_proxy
#    labels:
#      - "traefik.enable=true"
#      - "traefik.backend=sabnzbd"
#      - "traefik.frontend.rule=Host:sabnzbd.${DOMAINNAME}"                          #subdomain match rule
##      - "traefik.frontend.rule=Host:${DOMAINNAME};PathPrefix:/sabnzbd"             #subfolder match rule
#      - "traefik.port=8080"
#      - "traefik.docker.network=traefik_proxy"

######### NZBGet - Usenet (NZB) Downloader
#  nzbget:
#    image: linuxserver/nzbget
#    container_name: nzbget
#    volumes:
#      - ${USERDIR}/docker/nzbget:/config
#      - ${DOWNLOAD_DIR}:/downloads
#    ports:
#      - "6789:6789"
#    restart: always
#    environment:
#      - PIUD=${PUID}
#      - PGID=${PGID}
#      - TZ=${TZ}
#    networks:
#      - traefik_proxy
#    labels:
#      - "traefik.enable=true"
#      - "traefik.backend=nzbget"
#      - "traefik.frontend.rule=Host:nzbget.${DOMAINNAME}"                          #subdomain match rule
##      - "traefik.frontend.rule=Host:${DOMAINNAME};PathPrefix:/nzbget"             #subfolder match rule
#      - "traefik.port=6789"
#      - "traefik.docker.network=traefik_proxy"

######### PERSONAL VIDEO RECORDERS ##########

######### Radarr – Movie Download and Management
  radarr:
    image: linuxserver/radarr
    container_name: radarr
    volumes:
      - ${USERDIR}/docker/radarr:/config
      - ${DOWNLOAD_DIR}:/downloads
      - ${MOVIE_DIR}:/movies
      - "/etc/localtime:/etc/localtime:ro"
      - ${USERDIR}/docker/shared:/shared
    ports:
      - "7878:7878"
    restart: always
    environment:
      - PUID=${PUID}
      - PGID=${PGID}
      - TZ=${TZ}
    networks:
      - traefik_proxy
    labels:
      - "traefik.enable=true"
      - "traefik.backend=radarr"
      - "traefik.frontend.rule=Host:radarr.${DOMAINNAME}"                           #subdomain match rule
#      - "traefik.frontend.rule=Host:${DOMAINNAME};PathPrefix:/radarr"              #subfolder match rule
      - "traefik.port=7878"
      - "traefik.docker.network=traefik_proxy"

######### Sonarr – TV Show Download and Management
  sonarr:
    image: linuxserver/sonarr
    container_name: sonarr
    volumes:
      - ${USERDIR}/docker/sonarr:/config
      - ${DOWNLOAD_DIR}:/downloads
      - ${TV_DIR}:/tv
      - "/etc/localtime:/etc/localtime:ro"
      - ${USERDIR}/docker/shared:/shared
    ports:
        - "8989:8989"
    restart: always
    environment:
      - PUID=${PUID}
      - PGID=${PGID}
      - TZ=${TZ}
    networks:
      - traefik_proxy
    labels:
      - "traefik.enable=true"
      - "traefik.backend=sonarr"
      - "traefik.frontend.rule=Host:sonarr.${DOMAINNAME}"                           #subdomain match rule
#      - "traefik.frontend.rule=Host:${DOMAINNAME};PathPrefix:/sonarr"              #subfolder match rule
      - "traefik.port=8989"
      - "traefik.docker.network=traefik_proxy"

######### PERSONAL MUSIC RECORDERS #########

######### Lidarr - Music Download and Management
  lidarr:
    image: linuxserver/lidarr
    hostname: lidarr
    container_name: lidarr
    volumes:
      - ${USERDIR}/docker/lidarr:/config
      - ${DOWNLOAD_DIR}:/downloads
      - ${MUSIC_DIR}:/music
      - "/etc/localtime:/etc/localtime:ro"
      - ${USERDIR}/docker/shared:/shared
    ports:
      - "8686:8686"
    restart: always
    environment:
      - PUID=${PUID}
      - PGID=${PGID}
      - TZ=${TZ}
    networks:
      - traefik_proxy
    labels:
      - "traefik.enable=true"
      - "traefik.backend=lidarr"
      - "traefik.frontend.rule=Host:lidarr.${DOMAINNAME}"                           #subdomain match rule
#      - "traefik.frontend.rule=Host:${DOMAINNAME};PathPrefix:/lidarr"              #subfolder match rule
      - "traefik.port=8686"
      - "traefik.docker.network=traefik_proxy"

######### ALTERNATE PERSONAL VIDEO RECORDERS #########

######### CouchPotato - Movie Download and Management
#  couchpotato:
#    image: linuxserver/couchpotato
#    container_name: couchpotato
#    volumes:
#      - ${USERDIR}/docker/couchpotato:/config
#      - ${DOWNLOAD_DIR}:/downloads"
#      - ${MOVIE_DIR}:/movies"
#      - ${USERDIR}/docker/shared:/shared
#    ports:
#      - "5050:5050"
#    restart: always
#    environment:
#      - PUID=${PUID}
#      - PGID=${PGID}
#      - UMASK_SET=002
#      - TZ=${TZ}
#    networks:
#      - traefik_proxy
#    labels:
#      - "traefik.enable=true"
#      - "traefik.backend=couchpotato"
#      - "traefik.frontend.rule=Host:couchpotato.${DOMAINNAME}"                      #subdomain match rule
##      - "traefik.frontend.rule=Host:${DOMAINNAME};PathPrefix:/couchpotato"         #subfolder match rule
#      - "traefik.port=5050"
#      - "traefik.docker.network=traefik_proxy"

######### SickRage - TV Download and Management
#  sickrage:
#    image: linuxserver/sickrage
#    container_name: sickrage
#    volumes:
#      - ${USERDIR}/docker/sickrage:/config
#      - ${DOWNLOAD_DIR}:/downloads
#      - ${TV_DIR}:/tv
#      - ${USERDIR}/docker/shared:/shared
#    ports:
#      - "8082:8081"
#    restart: always
#    environment:
#      - PUID=${PUID}
#      - PGID=${PGID}
#      - TZ=${TZ}
#    networks:
#      - traefik_proxy
#    labels:
#      - "traefik.enable=true"
#      - "traefik.backend=sickrage"
#      - "traefik.frontend.rule=Host:sickrage.${DOMAINNAME}"                         #subdomain match rule                
##      - "traefik.frontend.rule=Host:${DOMAINNAME};PathPrefix:/sickrage"            #subfolder match rule
#      - "traefik.port=8081"
#      - "traefik.docker.network=traefik_proxy"

######### MEDIA SERVER APPS ##########

######### Emby Media Server
  emby:  
    container_name: emby-server  
    image: emby/embyserver:latest  
    restart: unless-stopped  
    volumes:  
       - ${USERDIR}/docker/emby/config:/config  
       - ${MEDIA_DIR}:/media
       - ${MEDIA_PVT_VID_DIR}:/media_pvt_vid
       - ${MEDIA_PVT_PIX_DIR}:/media_pvt_pix
    ports:   
       - "8096:8096"
       - "8920:8920"
       - "7359:7359/udp"  
       - "1900:1900/udp"  
    environment:   
       - PUID=${PUID}
       - PGID=${PGID}
#       - APP_UID=xxx  
#       - APP_GID=xxx  
       - TZ=${TZ}
    networks:
      - traefik_proxy
    labels:
      - "traefik.enable=true"
      - "traefik.backend=emby"
      - "traefik.frontend.rule=Host:emby.${DOMAINNAME}"                             #subdomain match rule
#     - "traefik.frontend.rule=Host:${DOMAINNAME};PathPrefix:/emby"                 #subfolder match rule
      - "traefik.port=8096"
      - "traefik.docker.network=traefik_proxy"

######### Ombi – Accept Requests for your Media Server
  ombi:
    container_name: ombi
    restart: always
    image: linuxserver/ombi
    volumes:
      - ${USERDIR}/docker/ombi:/config
      - ${USERDIR}/docker/shared:/shared
    ports:
      - "3579:3579"
    environment:
      - PUID=${PUID}
      - PGID=${PGID}
      - TZ=${TZ}
    networks:
      - traefik_proxy
    labels:
      - "traefik.enable=true"
      - "traefik.backend=ombi"
      - "traefik.frontend.rule=Host:ombi.${DOMAINNAME}"                             #subdomain match rule
#      - "traefik.frontend.rule=Host:${DOMAINNAME};PathPrefix:/ombi"                #subfolder match rule
      - "traefik.port=3579"
      - "traefik.docker.network=traefik_proxy"

######### SEARCHERS ##########

######### NZBHydra – NZB Meta Search
#  hydra:
#    image: linuxserver/hydra2
#    container_name: hydra
#    volumes:
#      - ${USERDIR}/docker/hydra:/config
#      - ${DOWNLOAD_DIR}:/downloads
#      - ${USERDIR}/docker/shared:/shared
#    ports:
#      - "5076:5076"
#    restart: always
#    environment:
#      - PUID=${PUID}
#      - PGID=${PGID}
#      - TZ=${TZ}
#    networks:
#      - traefik_proxy
#    labels:
#      - "traefik.enable=true"
#      - "traefik.backend=hydra"
#      - "traefik.frontend.rule=Host:hydra.${DOMAINNAME}"                            #subdomain match rule
##     - "traefik.frontend.rule=Host:${DOMAINNAME};PathPrefix:/hydra"               #subfolder match rule
#      - "traefik.port=5076"
#      - "traefik.docker.network=traefik_proxy" 

######### Jackett – Torrent Proxy
  jackett:
    image: linuxserver/jackett
    container_name: jackett
    volumes:
      - ${USERDIR}/docker/jackett:/config
      - ${DOWNLOAD_DIR}:/downloads
      - "/etc/localtime:/etc/localtime:ro"
      - ${USERDIR}/docker/shared:/shared
    ports:
      - "9117:9117"
    restart: always
    environment:
      - PUID=${PUID}
      - PGID=${PGID}
      - TZ=${TZ}
    networks:
      - traefik_proxy
    labels:
      - "traefik.enable=true"
      - "traefik.backend=jackett"
      - "traefik.frontend.rule=Host:jackett.${DOMAINNAME}"                          #subdomain match rule
#      - "traefik.frontend.rule=Host:${DOMAINNAME};PathPrefix:/jackett"             #subfolder match rule
      - "traefik.port=9117"
      - "traefik.docker.network=traefik_proxy"

######### UTILITIES ##########

######### Home Assistant – Home Automation
  homeassistant:
    container_name: home-assistant
    image: homeassistant/home-assistant:stable
    volumes:
      - ${USERDIR}/docker/homeassistant/config:/config
    ports:
      - "8123:8123"  
    devices:
      - "/dev/ttyUSB0:/zwaveusbstick:rwm"    ### Custom config for HUB-Z
      - "/dev/ttyUSB1:/zigbeestick:rwm"      ###
#      - /dev/ttyACM0:/dev/ttyACM0
##  See https://khaz.me/using-a-z-wave-or-zigbee-stick-on-synology-dsm-for-use-with-homeassistant-and-docker/
    environment:
      - PUID=${PUID}
      - PGID=${PGID}
      - TZ=${TZ}
    restart: always
#    network_mode: host
    networks:
      - traefik_proxy
    labels:
      - "traefik.enable=true"
      - "traefik.backend=homeassistant"
      - "traefik.frontend.rule=Host:homeassistant.${DOMAINNAME}"                           #subdomain match rule
#      - "traefik.frontend.rule=Host:${DOMAINNAME};PathPrefix:/homeassistant"              #subfolder match rule
      - "traefik.port=8123"
      - "traefik.docker.network=traefik_proxy"

####################################################

 networks:
  traefik_proxy:
   external:
    name: traefik_proxy
  default:
   driver: bridge

**Logs**
<!-- Provide all logs from the container. By default the should not be any sensitive information there, but if there is then mask it with *** or something similar.
You can get the logs by running "docker logs <container-name>". -->
[2020-05-26 19:16:19.928] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
Tue May 26 19:16:27 2020 event_wait : Interrupted system call (code=4)
Tue May 26 19:16:27 2020 /sbin/ip addr del dev tun0 local 10.13.11.6 peer 10.13.11.5
Tue May 26 19:16:27 2020 /etc/openvpn/tunnelDown.sh tun0 1500 1558 10.13.11.6 10.13.11.5 init
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
Tue May 26 19:16:27 2020 SIGTERM[hard,] received, process exiting
Using OpenVPN provider: PIA
Starting OpenVPN using config CA Toronto.ovpn
Setting OPENVPN credentials...
adding route to local network 192.168.0.0/24 via 172.19.0.1 dev eth0
Tue May 26 19:16:28 2020 OpenVPN 2.4.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 14 2019
Tue May 26 19:16:28 2020 library versions: OpenSSL 1.1.1  11 Sep 2018, LZO 2.08
Tue May 26 19:16:28 2020 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Tue May 26 19:16:28 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]172.98.67.12:1198
Tue May 26 19:16:28 2020 UDP link local: (not bound)
Tue May 26 19:16:28 2020 UDP link remote: [AF_INET]172.98.67.12:1198
Tue May 26 19:16:28 2020 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Tue May 26 19:16:28 2020 [bc3e1f3b1468ff4bb7f9159d20d096c2] Peer Connection Initiated with [AF_INET]172.98.67.12:1198
Tue May 26 19:16:30 2020 TUN/TAP device tun0 opened
Tue May 26 19:16:30 2020 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Tue May 26 19:16:30 2020 /sbin/ip link set dev tun0 up mtu 1500
Tue May 26 19:16:30 2020 /sbin/ip addr add dev tun0 local 10.38.11.6 peer 10.38.11.5
Tue May 26 19:16:30 2020 /etc/openvpn/tunnelUp.sh tun0 1500 1558 10.38.11.6 10.38.11.5 init
Up script executed with tun0 1500 1558 10.38.11.6 10.38.11.5 init
Updating TRANSMISSION_BIND_ADDRESS_IPV4 to the ip of tun0 : 10.38.11.6
Generating transmission settings.json from env variables
sed'ing True to true
Enforcing ownership on transmission config directories
Applying permissions to transmission config directories
Setting owner for transmission paths to 1000:1000
Setting permission for files (644) and directories (755)
Setting permission for watch directory (775) and its files (664)

-------------------------------------
Transmission will run as
-------------------------------------
User name:   abc
User uid:    1000
User gid:    1000
-------------------------------------

DROPPING DEFAULT ROUTE
STARTING TRANSMISSION
CONFIGURING PORT FORWARDING
Transmission startup script complete.
Wait for tunnel to be fully initialized and PIA is ready to give us a port
Tue May 26 19:16:31 2020 Initialization Sequence Completed
[2020-05-26 19:16:31.772] JSON parse failed in /data/transmission-home/settings.json at pos 2219: INVALID_NUMBER -- remaining text "02,
    "upload-"
Got new port 31055 from PIA
transmission auth required
waiting for transmission to become responsive
[2020-05-26 19:16:47.282] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:16:57.303] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:17:07.325] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
Tue May 26 19:17:10 2020 event_wait : Interrupted system call (code=4)
Tue May 26 19:17:10 2020 /sbin/ip addr del dev tun0 local 10.38.11.6 peer 10.38.11.5
Tue May 26 19:17:10 2020 /etc/openvpn/tunnelDown.sh tun0 1500 1558 10.38.11.6 10.38.11.5 init
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
Tue May 26 19:17:10 2020 SIGTERM[hard,] received, process exiting
Using OpenVPN provider: PIA
Starting OpenVPN using config CA Toronto.ovpn
Setting OPENVPN credentials...
adding route to local network 192.168.0.0/24 via 172.19.0.1 dev eth0
Tue May 26 19:17:53 2020 OpenVPN 2.4.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 14 2019
Tue May 26 19:17:53 2020 library versions: OpenSSL 1.1.1  11 Sep 2018, LZO 2.08
Tue May 26 19:17:53 2020 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Tue May 26 19:17:53 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]172.98.67.12:1198
Tue May 26 19:17:53 2020 UDP link local: (not bound)
Tue May 26 19:17:53 2020 UDP link remote: [AF_INET]172.98.67.12:1198
Tue May 26 19:17:53 2020 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Tue May 26 19:17:53 2020 [bc3e1f3b1468ff4bb7f9159d20d096c2] Peer Connection Initiated with [AF_INET]172.98.67.12:1198
Tue May 26 19:17:54 2020 TUN/TAP device tun0 opened
Tue May 26 19:17:54 2020 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Tue May 26 19:17:54 2020 /sbin/ip link set dev tun0 up mtu 1500
Tue May 26 19:17:54 2020 /sbin/ip addr add dev tun0 local 10.40.11.6 peer 10.40.11.5
Tue May 26 19:17:54 2020 /etc/openvpn/tunnelUp.sh tun0 1500 1558 10.40.11.6 10.40.11.5 init
Up script executed with tun0 1500 1558 10.40.11.6 10.40.11.5 init
Updating TRANSMISSION_BIND_ADDRESS_IPV4 to the ip of tun0 : 10.40.11.6
Generating transmission settings.json from env variables
sed'ing True to true
Enforcing ownership on transmission config directories
Applying permissions to transmission config directories
Setting owner for transmission paths to 1000:1000
Setting permission for files (644) and directories (755)
Setting permission for watch directory (775) and its files (664)

-------------------------------------
Transmission will run as
-------------------------------------
User name:   abc
User uid:    1000
User gid:    1000
-------------------------------------

DROPPING DEFAULT ROUTE
STARTING TRANSMISSION
CONFIGURING PORT FORWARDING
Transmission startup script complete.
Wait for tunnel to be fully initialized and PIA is ready to give us a port
Tue May 26 19:17:56 2020 Initialization Sequence Completed
[2020-05-26 19:17:56.163] JSON parse failed in /data/transmission-home/settings.json at pos 2219: INVALID_NUMBER -- remaining text "02,
    "upload-"
Got new port 31055 from PIA
transmission auth required
waiting for transmission to become responsive
[2020-05-26 19:18:11.649] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:18:21.671] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:18:31.693] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:18:41.725] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:18:51.746] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:19:01.767] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:19:11.788] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:19:21.810] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:19:31.831] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:19:41.854] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:19:51.876] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:20:01.897] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:20:11.919] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:20:21.940] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:20:31.963] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:20:41.984] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:20:52.007] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:21:02.028] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:21:12.055] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:21:22.077] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:21:32.100] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:21:42.121] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:21:52.142] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:22:02.165] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:22:12.187] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:22:22.209] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:22:32.230] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:22:42.251] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:22:52.279] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:23:02.303] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:23:12.324] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:23:22.346] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:23:32.371] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:23:42.393] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:23:52.414] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:24:02.436] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:24:12.460] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:24:22.484] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:24:32.506] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:24:42.529] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:24:52.552] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:25:02.576] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:25:12.597] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:25:22.618] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:25:32.643] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:25:42.671] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:25:52.692] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:26:02.714] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:26:12.737] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:26:22.759] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:26:32.781] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:26:42.806] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:26:52.828] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:27:02.849] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:27:12.871] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:27:22.892] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:27:32.914] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:27:42.935] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:27:52.956] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:28:02.977] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:28:12.999] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:28:23.021] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:28:33.042] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:28:43.064] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:28:53.087] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:29:03.108] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:29:13.130] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:29:23.151] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:29:33.174] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:29:43.195] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:29:53.216] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:30:03.237] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:30:13.259] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:30:23.280] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:30:33.302] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:30:43.323] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:30:53.344] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:31:03.365] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:31:13.387] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:31:23.408] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:31:33.430] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:31:43.452] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:31:53.473] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:32:03.494] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:32:13.515] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:32:23.536] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:32:33.558] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:32:43.579] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:32:53.600] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:33:03.623] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:33:13.645] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:33:23.666] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:33:33.688] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:33:43.709] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:33:53.730] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:34:03.751] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:34:13.773] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:34:23.794] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:34:33.816] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:34:43.838] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:34:53.860] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:35:03.883] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:35:13.905] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:35:23.927] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:35:33.949] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:35:43.971] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:35:53.993] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:36:04.017] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:36:14.041] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:36:24.064] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:36:34.086] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:36:44.112] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:36:54.135] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:37:04.157] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:37:14.179] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:37:24.201] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:37:34.223] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:37:44.255] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:37:54.277] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:38:04.299] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:38:14.320] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:38:24.341] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:38:34.365] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:38:44.387] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:38:54.409] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:39:04.430] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:39:14.451] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:39:24.472] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:39:34.495] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:39:44.516] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:39:54.539] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:40:04.560] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:40:14.581] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:40:24.602] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:40:34.623] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:40:44.644] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:40:54.666] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:41:04.687] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:41:14.709] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:41:24.731] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:41:34.755] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:41:44.778] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:41:54.800] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:42:04.822] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:42:14.844] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:42:24.866] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:42:34.887] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:42:44.909] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:42:54.932] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:43:04.953] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:43:14.975] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:43:24.996] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:43:35.018] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:43:45.039] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:43:55.061] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:44:05.082] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:44:15.104] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:44:25.126] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:44:35.147] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:44:45.169] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:44:55.190] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:45:05.217] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:45:15.239] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:45:25.260] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:45:35.281] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:45:45.302] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:45:55.324] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:46:05.346] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:46:15.367] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:46:25.388] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:46:35.409] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:46:45.430] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:46:55.452] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:47:05.473] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:47:15.495] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:47:25.519] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:47:35.545] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:47:45.568] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:47:55.589] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:48:05.610] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:48:15.631] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:48:25.654] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:48:35.675] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:48:45.696] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:48:55.717] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:49:05.739] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:49:15.760] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:49:25.782] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:49:35.803] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:49:45.830] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:49:55.854] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:50:05.875] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:50:15.897] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:50:25.919] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:50:35.941] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:50:45.962] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:50:55.985] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:51:06.006] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:51:16.028] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:51:26.049] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:51:36.071] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:51:46.092] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:51:56.114] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:52:06.142] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:52:16.163] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:52:26.184] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:52:36.206] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:52:46.227] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:52:56.248] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:53:06.269] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:53:16.292] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:53:26.313] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:53:36.335] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:53:46.356] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:53:56.377] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:54:06.398] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:54:16.420] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:54:26.441] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:54:36.463] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:54:46.497] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:54:56.518] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:55:06.539] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:55:16.560] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:55:26.581] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:55:36.603] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:55:46.624] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:55:56.646] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:56:06.667] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:56:16.689] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:56:26.710] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:56:36.733] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:56:46.754] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:56:56.777] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server
[2020-05-26 19:57:06.809] transmission-remote:  (http://localhost:9091/transmission/rpc/) Couldn't connect to server

**Host system:**
<!-- Are you running on Ubuntu, a NAS, Raspberry Pi, Mac OS or something else?
Which version of Docker are you using? -->

Ubuntu 18.04.1 fully up to date as of this bug report.  No configuration changes have been made in months.  This issue began after the latest container update. Thank you!
pdoroba commented 4 years ago

As far as I can tell this issue began after the latest container update. I haven't made any configuration changes on the transmission container in over a year.

mikeeman commented 4 years ago

I think there is an issue parsing /config/settings.json after last "latest" update particularly with env TRANSMISSION_UMASK set to 002

docker logs show error:

JSON parse failed in /config/settings.json at pos 2217: INVALID_NUMBER -- remaining text "02, "upload-"

which for me the 02, refers to the TRANSMISSION_UMASK 002 ENV var

I tried changing TRANSMISSION_UMASK to just 2 and container started up no problem

pkishino commented 4 years ago

yes, the settings are not correct and the umask need to be fixed as @mikeeman mentioned

ostefek99 commented 4 years ago

I am experiencing the same issue with parsing the settings.json: JSON parse failed in /data/transmission-home/settings.json at pos 2221: INVALID_NUMBER -- remaining text "02, "upload-"

Docker compose for the transmission-vpn containing: - TRANSMISSION_UMASK=002

pkishino commented 4 years ago

Change it to just 2, not 002 Json doesn’t support 002, so if you set it to 2 it will be same

ostefek99 commented 4 years ago

OK, changed to 2 instead of 002 and it's working. Thanks.

pdoroba commented 4 years ago

Thank you! That fixed the problem. What's odd is that I've been running the container with that configuration for over a year without issue. The only changes I've made in recent months was to rename the docker compose file with traefik_v1.7 as I work on moving to traefik 2.2. That was over 2 months ago and transmission didn't start throwing a fit until a day ago. Thanks again! I appreciate the help and quick resolution.

mikeeman commented 4 years ago

For context, I too was running the container with TRANSMISSION_UMASK=002 for the longest time and only the latest update broke this on May 26th, 2020, might still make sense to look into this and fix the root cause, I only proposed a workaround.

mikeeman commented 4 years ago

I think most people will have TRANSMISSION_UMASK=002 and will have this issue, may want to reopen this or create a new issue to help those people since the last "latest" image was a breaking change

rrd911 commented 4 years ago

wonder if a recent Docker update caused the issue? on my Ubuntu 16.04 I see a docker-ce update I did on 5/20

pkishino commented 4 years ago

hmm, ive always had UMASK=2 due to the json way of parsing.. 002 shouldnt be working, but yeah, there might something in recent docker updates about this

pkishino commented 4 years ago

just checked and the default value in the repo for this is UMASK=2..

mikeeman commented 4 years ago

ok understood thanks

pkishino commented 4 years ago

Yeah, if you had it working with 002 that is very strange, as json doesnt accept that. from transmission: https://github.com/transmission/transmission/wiki/Editing-Configuration-Files umask: Number (default = 18) Sets transmission's file mode creation mask. See the umask(2) manpage for more information. Users who want their saved torrents to be world-writable may want to set this value to 0. Bear in mind that the json markup language only accepts numbers in base 10, so the standard umask(2) octal notation "022" is written in settings.json as 18.

so closing this

OscarVanL commented 4 years ago

I just updated my Transmission container and had this error too:

[2020-07-05 12:23:06.275] JSON parse failed in /config/settings.json at pos 2211: INVALID_NUMBER -- remaining text "02,
    "upload-"

I also had TRANSMISSION_UMASK set to 002 and changing it to 2 fixed it, I never set it to 002 so this was the default when I created the container.

Maybe the container needs to tolerate 002 so that others who update their container don't face the same issue.

pkishino commented 4 years ago

The container default is 2, feel free to check the history of the settings file if you want but I don’t believe this was changed. It’s a 3pp that parses the json..I don’t think it’s reasonable to handle wrong config more than output an error and then let the end user correct it. From previous discussion, many followed some kind of guide that was using wrong settings and then blame this container..

On Sun, Jul 5, 2020 at 21:44 OscarVanL notifications@github.com wrote:

I just updated my Transmission container and had this error too:

[2020-07-05 12:23:06.275] JSON parse failed in /config/settings.json at pos 2211: INVALID_NUMBER -- remaining text "02, "upload-"

I also had TRANSMISSION_UMASK set to 002 and changing it to 2 fixed it, I never set it to 002 so this was the default when I created the container.

Maybe the container needs to tolerate 002 so that others who update their container don't face the same issue.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/haugene/docker-transmission-openvpn/issues/1210#issuecomment-653884482, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7OFYR2E6PNICJGFID2OV3R2BYTRANCNFSM4NLRTCIQ .