Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
john5788
Posts: 2 Joined: Tue Feb 10, 2015 6:43 am
Post
by john5788 » Tue Feb 10, 2015 6:47 am
Hello,
I am trying to configure transmission to require encryption on all downloads, but I cannot get the setting to persist across restarts of the daemon process.
Code: Select all
olympus john5788 # cat /var/lib/transmission/config/settings.json | grep encryption
"encryption": 1,
olympus john5788 # nano /var/lib/transmission/config/settings.json
olympus john5788 # cat /var/lib/transmission/config/settings.json | grep encryption
"encryption": 2,
olympus john5788 # /etc/init.d/transmission-daemon reload
* Reloading transmission configuration ... [ ok ]
olympus john5788 # cat /var/lib/transmission/config/settings.json | grep encryption
"encryption": 2,
olympus john5788 # /etc/init.d/transmission-daemon stop
* Stopping transmission daemon ... [ ok ]
olympus john5788 # cat /var/lib/transmission/config/settings.json | grep encryption
"encryption": 2,
olympus john5788 # /etc/init.d/transmission-daemon start
* Starting transmission daemon ... [ ok ]
olympus john5788 # cat /var/lib/transmission/config/settings.json | grep encryption
"encryption": 1,
I start off with encryption set to 1. I change the value to 2 and reload the daemon. I can confirm settings.json still retains the value even after stopping. However, once I relaunch the daemon, the setting reverts back to 1. Is this encryption setting being overwritten from somewhere else?
john5788
Posts: 2 Joined: Tue Feb 10, 2015 6:43 am
Post
by john5788 » Thu Feb 12, 2015 7:53 am
Still having the same issue
Code: Select all
olympus transmission # /etc/init.d/transmission-daemon stop
* Stopping transmission daemon ... [ ok ]
olympus transmission # nano /var/lib/transmission/config/settings.json
olympus transmission # cat /var/lib/transmission/config/settings.json | grep encryption
"encryption": 2,
olympus transmission # /etc/init.d/transmission-daemon start
* Starting transmission daemon ... [ ok ]
olympus transmission # cat /var/lib/transmission/config/settings.json | grep encryption
"encryption": 1,
Log file information regarding last start:
Code: Select all
[2015-02-11 23:51:04.433 PST] Transmission 2.84 (14307) started (session.c:736)
[2015-02-11 23:51:04.433 PST] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:824)
[2015-02-11 23:51:04.433 PST] RPC Server Adding address to whitelist: 192.168.*.* (rpc-server.c:824)
[2015-02-11 23:51:04.433 PST] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:1033)
[2015-02-11 23:51:04.433 PST] RPC Server Whitelist enabled (rpc-server.c:1037)
[2015-02-11 23:51:04.433 PST] UDP Failed to set receive buffer: requested 4194304, got 425984 (tr-udp.c:78)
[2015-02-11 23:51:04.433 PST] UDP Please add the line "net.core.rmem_max = 4194304" to /etc/sysctl.conf (tr-udp.c:83)
[2015-02-11 23:51:04.433 PST] UDP Failed to set send buffer: requested 1048576, got 425984 (tr-udp.c:89)
[2015-02-11 23:51:04.433 PST] UDP Please add the line "net.core.wmem_max = 1048576" to /etc/sysctl.conf (tr-udp.c:94)
[2015-02-11 23:51:04.433 PST] DHT Reusing old id (tr-dht.c:306)
[2015-02-11 23:51:04.433 PST] DHT Bootstrapping from 167 IPv4 nodes (tr-dht.c:154)
[2015-02-11 23:51:04.433 PST] Using settings from "/var/lib/transmission/config" (daemon.c:557)
[2015-02-11 23:51:04.433 PST] Saved "/var/lib/transmission/config/settings.json" (variant.c:1214)
[2015-02-11 23:51:04.433 PST] Saved pidfile "/var/run/transmission/transmission.pid" (daemon.c:569)
[2015-02-11 23:51:04.433 PST] Blocklist "blocklist.bin" contains 227940 entries (blocklist.c:113)
[2015-02-11 23:51:04.433 PST] Loaded 2 torrents (session.c:1992)
[2015-02-11 23:51:04.433 PST] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:70)
[2015-02-11 23:51:04.433 PST] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:70)
[2015-02-11 23:51:12.434 PST] Port Forwarding State changed from "Not forwarded" to "Starting" (port-forwarding.c:92)
[2015-02-11 23:51:12.434 PST] Port Forwarding State changed from "Starting" to "???" (port-forwarding.c:92)
mike.dld
Transmission Developer
Posts: 306 Joined: Wed Dec 25, 2013 10:56 pm
Post
by mike.dld » Tue Mar 03, 2015 2:49 am
Check if your daemon is being started with -ep/--encryption-preferred command line option.