Alright, so I'm just working on getting my RaspyFi set up, and I'm having a weird issue. I can connect it with an ethernet cable to my router, and access the Web UI at http://raspyfi just fine. However, when I set up Wi-fi on the R Pi (with wicd-curses and the recommended Edimax Wi-fi dongle), the Web UI stops working. I can SSH in, I can ping out from the R Pi, etc., so the Wi-fi itself is working just fine. For some reason, JUST the Web UI becomes completely unresponsive. When I enter the address or IP in my browser, it just times out.
Anyone know what I can do about this?
EDIT: If I leave it long enough, it eventually loads an error page, that reads as follows:
"An error occurred.
Sorry, the page you are looking for is currently unavailable.
Please try again later.
If you are the system administrator of this resource then you should check the error log for details.
Faithfully yours, nginx."
18:12
Had the same error yesterday. Try:
sudo /etc/init.d/mpd restart
After that the webinterface worked again for me!
Still having this issue. It seems to be related to database entries that are inaccessible. If you have a NAS or USB location specified for inclusion in your MPD database, and that location is inaccessible for whatever reason (ie. the USB drive isn't attached to the Pi), the Web UI just won't load. When I do a fresh RaspyFi install, everything works fine, but as soon as I add my USB device and then disconnect that device, the web UI dies. Similarly, if I add my NAS (which I still haven't got to work properly), the Web UI dies.
I even tried clearing the info in the auto.nas and auto.usb files, but to no avail. There's still a usb device listed at /mtn/USB/usb6, but when I try to delete it, it gives a "permission denied," even when I sudo it.
Any ideas?
We're working on that… Thanks for the feedbacks… It seems due to a bug in our nginx configuration, we should also set the webui to load also if mpd is somehow hanging, to permit to solve problems …
21:47
14 settembre 2013
restarting mpd works.
How can I make this autorun so this command will start with every boot?
Karsten
22:17
same issue
when i restart mpd, i have a message :
[email protected]:~$ sudo /etc/init.d/mpd start
[....] Starting Music Player Daemon: mpdlisten: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded)
. ok
[email protected]:~$ netstat -na | grep 6600
tcp6 0 0 :::6600 :::* LISTEN
[email protected]:~$ netstat -na | grep 6600
tcp6 0 0 :::6600 :::* LISTEN
[email protected]:~$ netstat -na | grep 6600
tcp 0 0 127.0.0.1:33480 127.0.0.1:6600 ESTABLISHED
tcp 0 0 127.0.0.1:33478 127.0.0.1:6600 ESTABLISHED
tcp6 0 0 :::6600 :::* LISTEN
tcp6 1 0 192.168.1.3:6600 192.168.1.82:58191 CLOSE_WAIT
tcp6 1 0 192.168.1.3:6600 192.168.1.82:58195 CLOSE_WAIT
tcp6 313 0 192.168.1.3:6600 192.168.1.82:58189 CLOSE_WAIT
tcp6 306 0 192.168.1.3:6600 192.168.1.82:58194 CLOSE_WAIT
tcp6 306 0 192.168.1.3:6600 192.168.1.82:58192 CLOSE_WAIT
tcp6 1 0 192.168.1.3:6600 192.168.1.82:58193 CLOSE_WAIT
an idea ???
21:48
Hi Antoine,
I managed to fix the same error by:
Forced MPD bind:
sudo nano /etc/mpd.conf
change "bind_to_address" to "127.0.0.1"
sudo /etc/init.d/mpd restart
Further info at https://bbs.archlinux.org/viewtopic.php?pid=895732
Good luck.
Best regards,
Mikkel
21:49
Hi Antoine,
I managed to fix the same error by:
Forced MPD bind:
sudo nano /etc/mpd.conf
change "bind_to_address" to "127.0.0.1"
sudo /etc/init.d/mpd restart
Further info at https://bbs.archlinux.org/viewtopic.php?pid=895732
Good luck.
Best regards,
Mikkel
21:50
Hi Antoine,
I managed to fix the same error by:
Forced MPD bind:
sudo nano /etc/mpd.conf
change "bind_to_address" to "127.0.0.1"
sudo /etc/init.d/mpd restart
Further info at https://bbs.archlinux.org/viewtopic.php?pid=895732
Good luck.
Best regards,
Mikkel
Hi at all,
Does anyone solved that Problem?
@ mbhest: youre solution doesn´t work on my system. I can´t start the webGui when i´m connected via wlan.
(my raspyfi is also an AP without any connection to the internet – so i need the wlan to remote my system)
If anyone else can help?
thx @ all
Hi,
in my case I solved the problem. in the url line I does not type in "raspyfi/" – I type in the ip-adress from my raspy.
Now it works. Must be a dns-problem, I think.
THX
admin said
We're working on that… Thanks for the feedbacks… It seems due to a bug in our nginx configuration, we should also set the webui to load also if mpd is somehow hanging, to permit to solve problems …
Hi. Did you find a solution to this? Happening to me on every restart and means that every restart needs a reimage of the sd. Kind of a dealbreaker.
Thanks
same here. seem to have to run sudo /etc/init.d/mpd restart every now and again after turning on the pi. after that i can access the webinterface again.
20:13
2 dicembre 2013
Hello,
i commented the eth0 stuff in /etc/network/interfaces out:
…
…
#autho eth0
#iface eth0 inet dhcp
…
…
Works for me: i can access my RaspyFi over the wifi IP. This speeds up a reboot as eth0 is not trying to get an IP via DHCP.
Bioforge
16:11
same problem since yesterday.
Suddenly while listening to internet radio the music stopped and no connection to mpd possible any more. The pi is accesible through ssh and all is fine and mpd is working. Restart doesn't help.
But no connect via any mpd client.
I want to point to "Niyeaux" issue. The only thing i did, was to save 4 more classical CDs to my music directory. These have very long filenames with german "special characters".
I think that the language support on raspyfi in conjunction with filesystem in some way is the reason.
greets jogi
so all here,
now i found the solution for my problem.
It was not the "bind to adress". Nice to see the message. But this "Doesn't matter."
It was not the "character problem". Thank you for your other thread. "iocharset=UTF8" in auto.usb. Now my characters are all right.
It was not the "Wifi problem".
BUT: Edimax Wi-fi dongle is pure shit. I tried days to get connection without effort.
Now I use an USB-Wifi-stick from my Sony-tv and the connection is rock solid.
NOW THE SOLUTION
There was a temp file in "/var/lib/mpd" with contents of the bad radio station.
I deleted this.
mpd restart.
And the surprise was equal to that 2 days before. Only in the opposite direction.
ALL OK.
But find it !!
I hope this can help somebody.
jogi
13:28
Same problem here,
I can connect through SSH, I can see the ip on the network, I can ping to and from the pi. But the WebUI is not loading, whatever the OS/Browser. There is no hard drive/USB key plugged to the Pi. Should I try to reinstall the pi from scratches?
20:01
I tried reinstalling everything, and encounter the same issues. The WebUI does not work, wether I am connected through wifi or wired.
20:26
I tried several OS and Browsers :
-Mac OS : Chrome and Firefox —- Failed
-Ubuntu : Chrome and Firefox —-- Failed (on two computers)
- Windows 8 : Firefox —— Failed
- Windows XP : Chrome —-- Success
It's not a hardware issue since I used the same laptop with Ubuntu and Windows XP.
Any thought?
Most Users Ever Online: 200
Currently Online:
7 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Gyp: 82
yoghurtlidlicker: 37
PaulM: 36
icai: 35
Derek: 29
Karsten: 27
tc-fi: 22
Ronaldo: 21
ENSen: 21
chriz: 20
Member Stats:
Guest Posters: 3619
Members: 569
Moderators: 0
Admins: 1
Forum Stats:
Groups: 4
Forums: 10
Topics: 469
Posts: 13163
Newest Members: polo2016, dongdong8, wlpwlp, Sager, ninestab123, lmx66, lmx, jlgg, chenyan, guoyanying
Administrators: admin (401)