Unable to Use Firefox to Play Anything
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Unable to Use Firefox to Play Anything
UMS version 14.9.0 - whenever I try to use Firefox to play anything, I get the following error:
Error
Your browse data was not received from the server.
Looking at the log files from Firefox, this is the error:
I have done a bit of web searching, but to no avail. Anyone have any ideas as to what might be the issue or perhaps where to start looking?
Thanks, Kym.
Error
Your browse data was not received from the server.
Looking at the log files from Firefox, this is the error:
Code: Select all
ERROR {Time Stamp} Exception in PlayerApiServlet: JsonNull
ERROR {Date & Time Stamp} [webgui-server-56] Exception in PlayerApiServlet: JsonNull
Thanks, Kym.
Unable to Use Firefox to Play Anything
Attached is the requested files.
Re: Unable to Use Firefox to Play Anything
It looks like you are using an old version of UMS.conf
For example, the newer versions of UMS.conf do not have:
It may not solve your issue, but you should still copy UMS.conf included in 14.9 to your user folder and configure it.
For example, the newer versions of UMS.conf do not have:
Code: Select all
# ---< Shared folders >-------------------------------------------------------
# Shared folders
# --------------
# A comma-separated list of absolute path names.
# If empty, the default media folders on your computer will be chosen. That is:
# On macOS:
# - /user/Movies
# - /user/Music
# - /user/Pictures
# On Windows:
# - /user/Music
# - /user/Pictures
# - /user/Videos
# On Linux:
# - /user
# Default: ""
folders =/media/Video,/media/Music/Kym,/media/Music/Cindy,/media/Music/Harrison,/media/Music/Hunter,/media/Pictures/Kym
# Monitor played status of files
# ------------------------------
# List of folders to be monitored for changes. Folders that aren't monitored
# won't register new media with the New Media folder.
# Default: ""
folders_monitored =/media/Video,/media/Music/Kym,/media/Music/Cindy,/media/Music/Harrison,/media/Music/Hunter,/media/Pictures/Kymstill
Re: Unable to Use Firefox to Play Anything
Thanks for the feedback.
I updated as suggested, however, did not change the error.
I may have to use wireshark to see what is being sent to and from UMS, to see if that provides a clue.
I updated as suggested, however, did not change the error.
I may have to use wireshark to see what is being sent to and from UMS, to see if that provides a clue.
Re: Unable to Use Firefox to Play Anything
It looks like you are running UMS on a Ubuntu system?
Is the client running Firefox also on a Linux system or a Windows system?
If UMS is running on an Ubuntu system and that Ubuntu system has it's own Java, you could tell UMS to use the Ubuntu Java rather than the included Java.
I always configure UMS to use my system Java (Gentoo Linux) rather than the Java included with UMS.
It may or may not make any difference but I have suggested that to a couple of people and it resolved the issues they were having.
If you want to try that (provided your Ubuntu has its own java installed):
Edit the "UMS.sh" in the UMS program folder.
Change:
To
Is the client running Firefox also on a Linux system or a Windows system?
If UMS is running on an Ubuntu system and that Ubuntu system has it's own Java, you could tell UMS to use the Ubuntu Java rather than the included Java.
I always configure UMS to use my system Java (Gentoo Linux) rather than the Java included with UMS.
It may or may not make any difference but I have suggested that to a couple of people and it resolved the issues they were having.
If you want to try that (provided your Ubuntu has its own java installed):
Edit the "UMS.sh" in the UMS program folder.
Change:
Code: Select all
# Use our JVM if it exists
if [ -f jre17/bin/java ]; then
JAVA="jre17/bin/java"
fi
Code: Select all
# Use our JVM if it exists
#if [ -f jre17/bin/java ]; then
# JAVA="jre17/bin/java"
#fi
Re: Unable to Use Firefox to Play Anything
Thanks for the suggestion.
I made the changes as described, again, no luck.
Any other ideas?
I made the changes as described, again, no luck.
Any other ideas?
Re: Unable to Use Firefox to Play Anything
I tried to do a bit more investigation, using Wireshark I got these messages (note the timestamps are different, but quite sure this is the event of concern):
It appears that the client is asking to 'browse', however, the response is an error.
(I have placed the detailed breakdown of packet 17588 as an attachment)
Looking at the UMS logs, I get this:
Any of this help?
Code: Select all
17583 11.664753 192.168.0.101 192.168.0.3 HTTP/JSON 623 POST /v1/api/player/browse HTTP/1.1 , JSON (application/json)
17588 11.667772 192.168.0.3 192.168.0.101 HTTP/JSON 394 HTTP/1.1 500 Server Error , JSON (application/json)
(I have placed the detailed breakdown of packet 17588 as an attachment)
Looking at the UMS logs, I get this:
Code: Select all
ERROR 2025-02-06 13:45:04.352 [webplayer-server-65] Exception in PlayerApiServlet: JsonNull
Re: Unable to Use Firefox to Play Anything
UMS is running on your Ubuntu server IP:192.168.0.3
The client you are using Firefox on is IP:192.168.0.101
Is the above correct?
If so, what operating system is the client with IP:192.168.0.101?
Have you tried to access UMS with any other clients (TV.s etc)?
The client you are using Firefox on is IP:192.168.0.101
Is the above correct?
If so, what operating system is the client with IP:192.168.0.101?
Have you tried to access UMS with any other clients (TV.s etc)?
Re: Unable to Use Firefox to Play Anything
Yes, those are the correct addresses and functions.
Client Firefox IP:192.168.0.101 is running on Win 10.
I have just tried both an X-Box 360 and PS-3, I can see the UMS (spelling mistake and all), but they both indicate no videos or music (sounds similar to the Firefox issue).
I changed the UMS.conf file back to original (no modifications by me), again, can see the server, but not the files.
Does this imply the UMS is configured incorrectly or installed incorrectly?
Client Firefox IP:192.168.0.101 is running on Win 10.
I have just tried both an X-Box 360 and PS-3, I can see the UMS (spelling mistake and all), but they both indicate no videos or music (sounds similar to the Firefox issue).
I changed the UMS.conf file back to original (no modifications by me), again, can see the server, but not the files.
Does this imply the UMS is configured incorrectly or installed incorrectly?
Re: Unable to Use Firefox to Play Anything
I had a look at the log file you previously posted and UMS is seeing all your media files.
One thing you could try.
Sometimes the database gets corrupted. You can delete the database and UMS will rebuild it.
1. Stop UMS
2. Delete the folder: /home/kym/.config/UMS/database
3. Restart UMS
See if that resolves your issue.
Cheers
One thing you could try.
Sometimes the database gets corrupted. You can delete the database and UMS will rebuild it.
1. Stop UMS
2. Delete the folder: /home/kym/.config/UMS/database
3. Restart UMS
See if that resolves your issue.
Cheers