• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

[MMM-SpotifyConnectUI] Error: connect ECONNREFUSED 127.0.0.1:4000

Scheduled Pinned Locked Moved Troubleshooting
18 Posts 4 Posters 10.6k Views 4 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    Cato Module Developer
    last edited by Feb 14, 2017, 9:32 PM

    What happen if you open http://127.0.0.1:4000 in a browser on the RPi – or change the IP to the IP of the RPi and open in a browser on your own machine?

    C 1 Reply Last reply Feb 14, 2017, 9:42 PM Reply Quote 0
    • C Offline
      Camelblack @Cato
      last edited by Camelblack Feb 14, 2017, 9:43 PM Feb 14, 2017, 9:42 PM

      @Cato Unfortunately even though my raspberry is assigned to a static ip I get “this site can’t be reached” on both alternatives.
      127.0.0.1 does show up when I run ifconfig

      lo        Link encap:Local Loopback  
                inet addr:127.0.0.1  Mask:255.0.0.0
                inet6 addr: ::1/128 Scope:Host
      
      
      1 Reply Last reply Reply Quote 0
      • C Offline
        Cato Module Developer
        last edited by Feb 14, 2017, 9:55 PM

        Try to start it manually:

        cd /home/pi/spotify-connect-web
        ./spotify-connect-web -n MAGICMIRROR -o plughw:CARD=ALSA,DEV=1
        

        NB! plughw might not work for you…

        C 1 Reply Last reply Feb 15, 2017, 7:33 PM Reply Quote 0
        • C Offline
          Camelblack @Cato
          last edited by Feb 15, 2017, 7:33 PM

          @Cato tried that and got this error

          ./spotify-connect-web -n MAGICMIRROR -o plughw:CARD=ALSA,DEV=1
          Loading Spotify library...
          min_volume_range: 0.0
          Using libspotify_embedded version: release-esdk-1.20.0-v1.20.0-g594175d4
          SpInit: 2
          SpInit failed, exiting
          
          1 Reply Last reply Reply Quote 0
          • C Offline
            Cato Module Developer
            last edited by Feb 15, 2017, 8:06 PM

            Then you have to contact the author of Spotify Connect Web, as this is out of the scope for my knowledge.

            C 1 Reply Last reply Feb 15, 2017, 8:28 PM Reply Quote 0
            • C Offline
              Camelblack @Cato
              last edited by Feb 15, 2017, 8:28 PM

              @Cato Will do, thanks anyway!

              Z 1 Reply Last reply Feb 17, 2017, 2:19 AM Reply Quote 0
              • Z Offline
                zerotwenty @Camelblack
                last edited by Feb 17, 2017, 2:19 AM

                @Camelblack Let me know if you have any luck, I am running into the same issue.

                C 1 Reply Last reply Feb 21, 2017, 7:46 PM Reply Quote 0
                • C Offline
                  Camelblack @zerotwenty
                  last edited by Feb 21, 2017, 7:46 PM

                  @zerotwenty will do. Unfortunately still no go. Please let me know if you find a fix.

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    schlachtkreuzer6
                    last edited by Sep 13, 2017, 11:29 PM

                    newer spotify connect app - raspotify works out of the box:
                    https://github.com/dtcooper/raspotify
                    https://discourse.osmc.tv/t/howto-spotify-connect-support-via-raspotify-librespot/38348

                    1 Reply Last reply Reply Quote 0
                    • 1
                    • 2
                    • 2 / 2
                    • First post
                      Last post
                    Enjoying MagicMirror? Please consider a donation!
                    MagicMirror created by Michael Teeuw.
                    Forum managed by Sam, technical setup by Karsten.
                    This forum is using NodeBB as its core | Contributors
                    Contact | Privacy Policy