webcompat / web-bugs

A place to report bugs on websites.
https://webcompat.com
Mozilla Public License 2.0
746 stars 66 forks source link

www.dubtrack.fm - see bug description #4744

Closed webcompat-bot closed 6 years ago

webcompat-bot commented 7 years ago

URL: https://www.dubtrack.fm/join/nightblue3 Browser / Version: Firefox 54.0 Operating System: Windows 10 Problem type: Something else - I'll add details below

Steps to Reproduce

  1. Navigate to: https://www.dubtrack.fm/join/nightblue3
  2. Just wait for the "Reconnecting please wait..." message as shown in the image.

Expected Behavior: The client should make a successful connection to the websocket.

Actual Behavior: The connection attempts are disrupted somehow. It works fine on the latest build of the stable FireFox.

Screenshot Description

From webcompat.com with ❤️

karlcow commented 7 years ago

The music is playing.

<div id="main-loading" style="">
<div class="loading-text">Reconnecting Please Wait...</div>
<div class="spinner"></div>
</div>

The message is persistent. and it doesn't go to the next song.

Maybe at

init: function () {
this.mainLoading = b('#main-loading').show(),
this.mainLoadingText = this.mainLoading.find('.loading-text'),
this.mainLoadingText.html(dubtrack_lang.global.loading)
},

in https://www.dubtrack.fm/assets/js/bundle.min.js?v=v818

which contains the reconnecting message

            b.connection.on('failed', function(a) {
              Bugsnag.notifyException(a.reason, 'RealtimeConnectionFailed', {
                  groupingHash: 'realtime/connection/failed',
                  connection: {
                    id: b.connection.id,
                    state: b.connection.state,
                    errorReason: b.connection.errorReason,
                    serial: b.connection.serial
                  },
                  stateChange: a
                }, 'error'),
                Dubtrack.els.displayloading('Reconnecting Please Wait...'),
                setTimeout(function() {
                  b.connection.connect()
                }, 10000)
            }),

Screenshot of the site issue

for which ever reason the transition to the next song is not happening.

MDTsai commented 7 years ago

As reporter's description it works good in stable Firefox but fail in Nightly, I run mozregression and the result is:

15:21.20 INFO: Last good revision: 3cbb93f5768e0e5ac470d3bb29cea58fe2f45df3 15:21.20 INFO: First bad revision: f296d03423848da45f1839b946b103047834b459 15:21.20 INFO: Pushlog: https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=3cbb93f5768e0e5ac470d3bb29cea58fe2f45df3&tochange=f296d03423848da45f1839b946b103047834b459

15:22.14 INFO: Looks like the following bug has the changes which introduced the regression: https://bugzilla.mozilla.org/show_bug.cgi?id=1317947

But this bug upgrade Firefox 53 to NSS 3.29, maybe something related with WebSocket.

dubtrack client side source code are here I download and try the example on Firefox 51 and Firefox 54. Firefox 51 goes to failed but Firefox 54 goes to disconnected.

wisniewskit commented 7 years ago

It looks like this room on dubtrack is now private, and I can't find another one that uses WebSockets.

karlcow commented 6 years ago

closing as invalid for now per last comment.