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.

    NowPlayingOnSpotify authentication error

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    21 Posts 2 Posters 7.4k Views 2 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.
    • M Offline
      MadeInMaine
      last edited by

      Hello everyone,

      I am pretty new at MagicMirror, so I am looking for some help.

      I am trying to authenticate the NowPlayingOnSpotify, but when I go to Authorize in Step 2 and go to the local host site, I get “this site can not be reached”

      What am I typing in wrong? I am lost…

      HELP!

      thanks in advance.

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @MadeInMaine
        last edited by sdetweil

        @MadeInMaine it says

        Screenshot_20230216_171700_Chrome.jpg

        did u start the authorization app?

        if so
        are you using a browser on the pi or some other system (remote from the pi)

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        M 2 Replies Last reply Reply Quote 0
        • M Offline
          MadeInMaine @sdetweil
          last edited by

          @sdetweil

          Started the auth instructions,

          Did the edit setting and copied the website, put in client id and secret, clicked authorize….

          Then “the site can’t be reached”.

          I copy/pasted the exact website into the “requested url”, id/secret were copy/paste.

          Not sure where the problem is.

          If I type in my IP address to chromium, it also gives the same error. I figured that meant a firewall issue.
          But chromium post settings just send me to a site that talks about “using chromium on supported desktop”

          Not sure where to go….

          1 Reply Last reply Reply Quote 0
          • M Offline
            MadeInMaine @sdetweil
            last edited by

            @sdetweil
            Using browser on Pi,
            But spotify will be used from my phone or computer once fully set up

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @MadeInMaine
              last edited by sdetweil

              @MadeInMaine this process is authorizing THIS computer to talk to the Spotify system, thru the application you create on the spotify server. has nothing to do with phone or other computer.

              so sounds like you didn’t start the authorization app per the instructions

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                MadeInMaine @sdetweil
                last edited by

                @sdetweil

                Thanks for the reply.
                I guess I don’t know what I did wrong and how to correct it. I followed the instructions to the letter.

                When I type in localhost:8888 to chromium browser, i get the “site can’t be reached”.

                Could you explain what you think I am doing wrong and how to fix it?

                Please and thank you

                S 1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @MadeInMaine
                  last edited by

                  @MadeInMaine chromium browser doesn’t sound right. what browser are you using on the system running MagicMirror?

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  M 1 Reply Last reply Reply Quote 0
                  • M Offline
                    MadeInMaine @sdetweil
                    last edited by

                    @sdetweil

                    I am not using a browser to run MagicMirror.
                    I run it through terminal and “npm start” to run it.

                    Not sure if that helps

                    S 1 Reply Last reply Reply Quote 0
                    • S Do not disturb
                      sdetweil @MadeInMaine
                      last edited by

                      @MadeInMaine when u do npm start , it starts the MagicMirror app, which displays thru a browser (electron by default)

                      the black background is electron …

                      on that screen, press ctrl-shift-i on the keyboard
                      and a second panel will open, the browser developers window
                      (just like on Windows, anything built on Firefox or Chrome)

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      M 1 Reply Last reply Reply Quote 0
                      • M Offline
                        MadeInMaine @sdetweil
                        last edited by

                        @sdetweil

                        Looks like electron as it does not look like standard browser.

                        S 1 Reply Last reply Reply Quote 0
                        • S Do not disturb
                          sdetweil @MadeInMaine
                          last edited by

                          @MadeInMaine yes. it’s electron (what I said before).

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          M 1 Reply Last reply Reply Quote 0
                          • M Offline
                            MadeInMaine @sdetweil
                            last edited by

                            @sdetweil

                            Any advice on how to get the authentication to work?

                            S 1 Reply Last reply Reply Quote 0
                            • S Do not disturb
                              sdetweil @MadeInMaine
                              last edited by

                              @MadeInMaine no, clearly something you are doing

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              M 1 Reply Last reply Reply Quote 0
                              • M Offline
                                MadeInMaine @sdetweil
                                last edited by

                                @sdetweil

                                Do you know why it would say “site can’t be reached” when doing http://localhost:8888 ?

                                I tried to go to proxy settings, but couldn’t change anything

                                S 1 Reply Last reply Reply Quote 0
                                • S Do not disturb
                                  sdetweil @MadeInMaine
                                  last edited by sdetweil

                                  @MadeInMaine there are two choices

                                  1. you are doing that on a browser on a machine different than where MagicMirror is installed

                                  2. you didn’t start the auth app per the documentation, before you tried to connect to it, from a browser on the same system

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  M 1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    MadeInMaine @sdetweil
                                    last edited by

                                    @sdetweil

                                    For #2, I’ll start over from scratch, maybe that will help.

                                    For #1, i am using the browser that that opens from the status bar on the RaspberryPi, chromium.
                                    Can i use the electron browser? If so, and if I should be using that, where do I find it on the rapsberryPi?

                                    Thank you again

                                    S 1 Reply Last reply Reply Quote 0
                                    • S Do not disturb
                                      sdetweil @MadeInMaine
                                      last edited by sdetweil

                                      @MadeInMaine you don’t need to try to use electron.

                                      when you start the auth app you should see

                                      Listening on 8888

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      M 1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        MadeInMaine @sdetweil
                                        last edited by

                                        @sdetweil

                                        I don’t know what “listening on 8888” means.

                                        Sorry, could you explain that…

                                        S 1 Reply Last reply Reply Quote 0
                                        • S Do not disturb
                                          sdetweil @MadeInMaine
                                          last edited by sdetweil

                                          @MadeInMaine the authorization app prints that message to the console.

                                          no ‘meaning’ , does it appear?

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          M 1 Reply Last reply Reply Quote 0
                                          • M Offline
                                            MadeInMaine @sdetweil
                                            last edited by

                                            @sdetweil

                                            No

                                            S 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 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