• 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.5k 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
    Camelblack
    last edited by Camelblack Feb 14, 2017, 8:40 PM Feb 14, 2017, 8:30 PM

    Hi, I get an connect ECONNREFUSED 127.0.0.1:4000 error. while trying to run the [MMM-SpotifyConnectUI] module.

    Connecting socket for: MMM-SpotifyConnectUI
    [MMM-SpotifyConnectUI] Notification received: CONFIG
    [MMM-SpotifyConnectUI] Error: connect ECONNREFUSED 127.0.0.1:4000
    

    Does anyone know how to fix this?
    I can confirm that I have placed my spotify_appkey.key in the /spotify-connect-web folder, if that’s relevant.

    1 Reply Last reply Reply Quote 0
    • C Offline
      Cato Module Developer
      last edited by Feb 14, 2017, 8:42 PM

      Have you installed Spotify Connect Web on that address?

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

        @Cato I’m sorry. I am very new to raspberry pi. To be honest; I don’t know. How to I proceed to find out which address Spotify Connect Web is installed on?

        1 Reply Last reply Reply Quote 0
        • C Offline
          Cato Module Developer
          last edited by Feb 14, 2017, 8:58 PM

          What did you do? Did you read my documentation?

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

            Yes I followed the instructions from your module. I first installed Spotify Connect Web, then I installed the module and changed my config.js folder.
            However, when installing Spotify Connect web, I did get a permission issue when I was supposed to insert

            chmod a+x /etc/systemd/system/spotifyconnect.service
            

            I got this

            ~ $ chmod a+x /etc/systemd/system/spotifyconnect.service
            chmod: changing permissions of ‘/etc/systemd/system/spotifyconnect.service’: 
            Operation not permitted
            

            I insterted a sudo command to continue the installations steps. Is this causing my issue?

            1 Reply Last reply Reply Quote 0
            • C Offline
              Cato Module Developer
              last edited by Feb 14, 2017, 9:17 PM

              No sudo is required. Hmmm, did I forget that in my documentation… :-)

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

                @Cato So, despite that I get Operation not permitted I should continue to the next step? :)

                1 Reply Last reply Reply Quote 0
                • C Offline
                  Cato Module Developer
                  last edited by Feb 14, 2017, 9:24 PM

                  You say you get permission errors even when using sudo?

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

                    @Cato No, after inserting sudo infront of chmod a+x /etc/systemd/system/spotifyconnect.service I did not get any permissions errors.
                    When I continued I did not encounter any other errors before I tried to launch MM and got
                    [MMM-SpotifyConnectUI] Notification received: CONFIG
                    [MMM-SpotifyConnectUI] Error: connect ECONNREFUSED 127.0.0.1:4000

                    1 Reply Last reply Reply Quote 0
                    • 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
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        1/18
                        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