web interface masked frequently by "CONNECTING..." overlay

If something seems really buggy, report it here!

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.

web interface masked frequently by "CONNECTING..." overlay

Postby nett_flanders » Tue Apr 07 2015 14:24

Since the release of version 1.55 I unfortunately got the issue that the webinterface is masked by the "CONNECTING..." overlay frequently.
It doesn't matter where exectly in the webinterface I am at this moment - the issue appears on the main site as well as on all sub sites.
The time before the Connecting overlay comes up varies from <5 seconds up to >20 seconds. When simply reloading the webinterface within the browser I am able to interact with it normally. Also when the next song of the current playlist starts to play, the connecting overlay disappears.

The MPD itself or an established ssh connection to the raspberry aren't effected by this issue.

The issue also appears with a fresh installed volumio from the recent image download. Changing the SD-Card doesn't change anything. It's also nonrelevant if the raspberry is conencted to my network via LAN or WLAN.

Only hint I was able to find in the nginx error.log (/var/log/nginx/error.log) is the following error message, which appears withing the error.log multiple times on every sigle uptime of the raspberry:
Code: Select all
2015/04/07 14:46:31 [error] 2539#0: *139 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.0.30, server: , request: "GET /_player_engine_spop.php?state=play&_=1428414380746 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.0.26", referrer: "http://192.168.0.26/"
2015/04/07 14:46:31 [error] 2539#0: *139 open() "/etc/nginx/html/50x.html" failed (2: No such file or directory), client: 192.168.0.30, server: , request: "GET /_player_engine_spop.php?state=play&_=1428414380746 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.0.26", referrer: "http://192.168.0.26/"


Best regards
Stefan
Random avatar
nett_flanders
Fresh off the boat
Fresh off the boat
 
Posts: 7
Joined: Tue Feb 10 2015 19:30

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.


web interface masked frequently by "CONNECTING..." overlay

Postby fm-maniac » Wed Apr 08 2015 08:23

Same situation here!
Random avatar
fm-maniac
Audiophile
Audiophile
 
Posts: 104
Joined: Wed Apr 09 2014 11:10


web interface masked frequently by "CONNECTING..." overlay

Postby maestro1980 » Thu Apr 09 2015 20:06

Same problem here, with clean install of image on a Raspberry Pi B.
Not sure what causes the problem or how to find the cause...

All help is welcome.
Random avatar
maestro1980
Fresh off the boat
Fresh off the boat
 
Posts: 4
Joined: Thu Apr 09 2015 20:01


web interface masked frequently by "CONNECTING..." overlay

Postby maxvise » Fri Apr 10 2015 17:41

I have the same problem (even with with clean install :( )...
Random avatar
maxvise
Sunday DIYer
Sunday DIYer
 
Posts: 18
Joined: Tue Mar 17 2015 00:08


web interface masked frequently by "CONNECTING..." overlay

Postby trconk » Thu Apr 16 2015 16:52

I get this as well, however refreshing the web page fixes it pretty quickly.
Random avatar
trconk
Fresh off the boat
Fresh off the boat
 
Posts: 7
Joined: Thu Apr 16 2015 16:49


web interface masked frequently by "CONNECTING..." overlay

Postby Sog Sussex » Thu Apr 23 2015 16:38

Mine, too. refreshing the page works but when you're setting things up (nas, webradio, Spotify etc) you get almost all the details in and BAM! connecting screen! refresh the page, all info gone so you have to start from scratch (and hope you succeed before it pops up again) very frustrating! it seems to do it more on my windoze phone than pc or iPhone... (I had the same issue on v1.51 and 1.55) I did a 'dirty' fix by putting a 'resume' button on the connecting screen but so far it only refreshes the page, I need to try and make it simply clear the connecting screen (leaving the info you've typed in place) when on the settings pages and refresh when on the main player page. or possibly tell it not to show on settings pages at all? anybody had any other Ideas?
Random avatar
Sog Sussex
Audiophile
Audiophile
 
Posts: 116
Joined: Thu Feb 26 2015 12:38


web interface masked frequently by "CONNECTING..." overlay

Postby Sog Sussex » Fri May 08 2015 00:20

Hi all, I've found a solution,

in /var/www/js/volumio.api.js add this line @ line 84
Code: Select all
$('#loader').hide();


you should end up with this: (without the //<------------(new line added here) bit!)
Code: Select all
function backendRequest() {
    $.ajax({
        type : 'GET',
        url : '_player_engine.php?state=' + GUI.MpdState['state'],
        async : true,
        cache : false,
        success : function(data) {
         GUI.MpdState = eval('(' + data + ')');
            renderUI();
            $('#loader').hide(); //<------------(new line added here)
            backendRequest();
        },
        error : function() {
            setTimeout(function() {
                GUI.state = 'disconnected';
                $('#loader').show();
                $('#countdown-display').countdown('pause');
                window.clearInterval(GUI.currentKnob);
                backendRequest();
            }, 5000);
        }
    });
}


it seems to work for me on my Windows machines (the results will show once your cache is cleared/refreshed)
Random avatar
Sog Sussex
Audiophile
Audiophile
 
Posts: 116
Joined: Thu Feb 26 2015 12:38


web interface masked frequently by "CONNECTING..." overlay

Postby nett_flanders » Fri May 08 2015 14:46

Hi Sog Sussex,

thank you for this solution!

Works fine for me on a windows client using firefox as well as the Volumio Web App on my smartphone.
You see me very happy :)

Best regards
Stefan
Random avatar
nett_flanders
Fresh off the boat
Fresh off the boat
 
Posts: 7
Joined: Tue Feb 10 2015 19:30


web interface masked frequently by "CONNECTING..." overlay

Postby maxvise » Wed May 13 2015 13:44

It doesn't work on my Acer-Android phone, using "Chrome beta" browser :( ... the webinterface continues to be masked by the "CONNECTING..." overlay frequently.
Random avatar
maxvise
Sunday DIYer
Sunday DIYer
 
Posts: 18
Joined: Tue Mar 17 2015 00:08


web interface masked frequently by "CONNECTING..." overlay

Postby nett_flanders » Tue May 26 2015 16:47

Hello maxvise,

have you already tried the volumio web app for android? (https://play.google.com/store/apps/details?id=com.volumio.moritz.volumiowebapp_release)
For me it works with this solution.

Br
Stefan
Random avatar
nett_flanders
Fresh off the boat
Fresh off the boat
 
Posts: 7
Joined: Tue Feb 10 2015 19:30

Next

Return to Bug reports

Who is online

Users browsing this forum: No registered users and 2 guests