WebUI fails on initial start but works after restart

Discussion of the Web Interface for Transmission, formerly known as Clutch. This applies to all version of Transmission
mofonyx
Posts: 1
Joined: Fri Mar 13, 2015 11:08 pm

WebUI fails on initial start but works after restart

Postby mofonyx » Fri Mar 13, 2015 11:13 pm

https://trac.transmissionbt.com/ticket/5737

I don't know if similar to this bug report.

Anyway, transmission-daemon works seamlessly, starts fine. WebUI doesn't work initially, fails to connect.

If I quit transmission and restart, or restart transmission via terminal, or even simply opening the transmission-GUI and going to preferences>remote to uncheck "allow remote access" and recheck it, WebUI starts to work seamlessly!

Weird bug but would be grateful for a workaround.

Thanks!

bakla
Posts: 1
Joined: Sun Jan 03, 2016 11:16 am

Re: WebUI fails on initial start but works after restart

Postby bakla » Sun Jan 03, 2016 11:41 am

Any news on this?
I'm experiencing the same problem on Raspian with Raspberry 1 rev B.
I read on the net that many users are experiencing the same problem, and after a while no one replies anymore.
I don't know if the users are finding solutions without posting them, or what.

I found that it was probably related to the DHCP taking too long to obtain an IP address, I tried to switch to static IP but nothing changes.
I also tried to modify the script in init.d adding a sleep of 20sec but it doesn't seems to change anything.

Any advice?
Thank you

PS: to confirm the that the problem is the same, after reboot the WebUI doesn't work but the service status is running, if I do service restart or stop/start from terminal everything work correctly.

fantast_xu
Posts: 2
Joined: Sun Mar 27, 2016 3:11 am

Re: WebUI fails on initial start but works after restart

Postby fantast_xu » Sun Mar 27, 2016 3:28 am

Hi any updates?
I have exactly the same problem. I installed transmission on my raspberry pi2.
The transmission-daemon starts on boot but I just can't get access through web.
I can confirm daemon start by getting pid number using "pidof transmission-daemon" command.
Login to my pi2 and restart trasmission-daemon will bring web back.

I tried put
" sleep 30
sudo /etc/init.d/transmission-daemon stop
sleep 5
sudo /etc/init.d/trasnmission-daemon start
"
at /etc/rc.local
it doesn't work.

I also tried create local.conf as below

sudo mkdir -p /etc/systemd/system/transmission-daemon.service.d
sudo nano /etc/systemd/system/transmission-daemon.service.d/local.conf

and then add
[Unit]
After=network.target

[Service]
ExecStart=
ExecStart=/usr/bin/transmission-daemon -f --log-error -g /etc/transmission-daemon

It doesn't work either.

Does anyone know how to fix this?

Thanks in advance!

x190
Posts: 5095
Joined: Sun Nov 30, 2008 4:59 am

Re: WebUI fails on initial start but works after restart

Postby x190 » Sun Mar 27, 2016 4:05 am

The stone age didn’t end because we ran out of stones.
---The Great Disruption - by Paul Gilding
https://paulgilding.com/
-------------------------------------------------

fantast_xu
Posts: 2
Joined: Sun Mar 27, 2016 3:11 am

Re: WebUI fails on initial start but works after restart

Postby fantast_xu » Sun Mar 27, 2016 5:40 am

Thank you so much x190

The raspi-config solution didn't work, I don't know why. However writing reload script in /etc/init.d/ works like a charm!
My guess was right that it is something with ip address and/or port. I just wonder why my solution: sleep 30, stop, sleep 5, start in rc.local didn't work.

Anyway I am glad that it works now!

Thanks again!!

x190
Posts: 5095
Joined: Sun Nov 30, 2008 4:59 am

Re: WebUI fails on initial start but works after restart

Postby x190 » Sun Mar 27, 2016 1:23 pm

The stone age didn’t end because we ran out of stones.
---The Great Disruption - by Paul Gilding
https://paulgilding.com/
-------------------------------------------------

mike.dld
Transmission Developer
Posts: 254
Joined: Wed Dec 25, 2013 10:56 pm

Re: WebUI fails on initial start but works after restart

Postby mike.dld » Sun Mar 27, 2016 3:39 pm

fantast_xu wrote:Hi any updates?

If you saw release notes for 2.90, there's an item saying "Retry if RPC server fails to bind to specified address", which is exactly what this thread is about. See also #5737.

Has anyone with this issue tried 2.90 (or later)?


Return to “Web Interface”