Coder Social home page Coder Social logo

Comments (7)

martijnboland avatar martijnboland commented on September 21, 2024

Check the javascript console for errors (F12 or CMD-ALT-I in Chrome). When you see {{}} texts, it's usually a sign that some javascript had an error during execution.

from moped.

HLFH avatar HLFH commented on September 21, 2024

I got these issues in the JS console related to this status:

Mixed Content: The page at 'https://music.gitnote.eu/moped/' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Open+Sans'. This request has been blocked; the content must be served over HTTPS.
moped-0.4.2.js:9 Mixed Content: The page at 'https://music.gitnote.eu/moped/' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://music.gitnote.eu/mopidy/ws'. This request has been blocked; this endpoint must be available over WSS.c.connect @ moped-0.4.2.js:9
moped-0.4.2.js:14 Error: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS.
    at Error (native)
    at c.connect (https://music.gitnote.eu/moped/assets/moped-0.4.2.js:9:20759)
    at new c (https://music.gitnote.eu/moped/assets/moped-0.4.2.js:9:18901)
    at Object.start (https://music.gitnote.eu/moped/assets/moped-0.4.2.js:18:2379)
    at new <anonymous> (https://music.gitnote.eu/moped/assets/moped-0.4.2.js:17:19794)
    at d (https://music.gitnote.eu/moped/assets/moped-0.4.2.js:13:4137)
    at Object.e [as instantiate] (https://music.gitnote.eu/moped/assets/moped-0.4.2.js:13:4250)
    at https://music.gitnote.eu/moped/assets/moped-0.4.2.js:13:21322
    at https://music.gitnote.eu/moped/assets/moped-0.4.2.js:13:13852
    at f (https://music.gitnote.eu/moped/assets/moped-0.4.2.js:12:20548)(anonymous function) @ moped-0.4.2.js:14

It seems that the HTTPS protocol is not supported by Moped and/or Mopidy.

from moped.

HLFH avatar HLFH commented on September 21, 2024

It seems related to this PR: andrenarchy/mopidy.js@1e5ebe6

So it's fixed in Master branch. I'll try it.

EDIT: fixed for Mopidy but not fixed for Mopidy-moped. Check moped-0.4.2.js

from moped.

martijnboland avatar martijnboland commented on September 21, 2024

Thanks for the heads up. There might be something totally different going on with the problem of @olemde though, but it's good to know that this can be an issue.

from moped.

HLFH avatar HLFH commented on September 21, 2024

@martijnboland No I believe that @olemde and my issue are the same.

Mixed Content: The page at 'https://music.gitnote.eu/moped/' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Open+Sans'. This request has been blocked; the content must be served over HTTPS.
moped-0.4.2.js:9 Mixed Content: The page at 'https://music.gitnote.eu/moped/' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://music.gitnote.eu/mopidy/ws'. This request has been blocked; this endpoint must be available over WSS.21.c.connect @ moped-0.4.2.js:9
moped-0.4.2.js:14 Error: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS.
    at Error (native)
    at c.21.c.connect (https://music.gitnote.eu/moped/assets/moped-0.4.2.js:9:20759)
    at new c (https://music.gitnote.eu/moped/assets/moped-0.4.2.js:9:18901)
    at Object.start (https://music.gitnote.eu/moped/assets/moped-0.4.2.js:18:2379)
    at new <anonymous> (https://music.gitnote.eu/moped/assets/moped-0.4.2.js:17:19794)
    at d (https://music.gitnote.eu/moped/assets/moped-0.4.2.js:13:4137)
    at Object.e [as instantiate] (https://music.gitnote.eu/moped/assets/moped-0.4.2.js:13:4250)
    at $get (https://music.gitnote.eu/moped/assets/moped-0.4.2.js:13:21322)
    at https://music.gitnote.eu/moped/assets/moped-0.4.2.js:13:13852
    at f (https://music.gitnote.eu/moped/assets/moped-0.4.2.js:12:20548)

mopidy-moped does not seem to be ready for HTTPS & WebSocket Secure: a PR should be done for moped-0.4.2.js

from moped.

martijnboland avatar martijnboland commented on September 21, 2024

So, is this fixed with the latest version?

from moped.

bebogon avatar bebogon commented on September 21, 2024

[ solved ] clear everything on your web browser , chrome , firefox , iceweasel..
close web browser then start up your mopidy on moped web client.

from moped.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.