• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    [ '[Monocle Error]', 'Unexpected server response: 401' ]

    Support
    6
    11
    473
    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.
    • B
      bouboun59 @Justin last edited by

      @Justin same here sinc 2 days too
      @admin & @Monocle not responding for the moment

      1 Reply Last reply Reply Quote 0
      • T
        tumauwt last edited by

        Same here. I generated a new API token and still get the same error.

        1 Reply Last reply Reply Quote 0
        • J
          julien @Justin last edited by

          @Justin same here, stopped working on Monday Jan 29

          1 Reply Last reply Reply Quote 0
          • H
            helig last edited by

            Same for me, for several days now.
            Created a new API token, to no avail.
            Seems to be an issue at the cloud service.

            1 Reply Last reply Reply Quote 0
            • T
              tumauwt last edited by

              Follow up.
              Mine disconnected on 29 Jan as well

              [Monocle Disconnected]
              [Monocle Reconnecting] … in 6 seconds (attempt #1)
              [Monocle Connecting]
              2024-01-29T15:59:58.235Z [ERROR] [Monocle Error] connect ECONNREFUSED 54.160.127.226:443
              [ ‘[Monocle Error]’, ‘connect ECONNREFUSED 54.160.127.226:443’ ]
              [Monocle Disconnected]

              I attempted to hit
              https://54.160.127.226
              with a browser - says
              Your connection isn’t private

              with
              http://54.160.127.226:443
              This page isn’t working right now 54.160.127.226 didn’t send any data.

              With curl
              curl “https://54.160.127.226”
              curl: (60) schannel: SNI or certificate check failed: SEC_E_WRONG_PRINCIPAL (0x80090322) - The target principal name is incorrect.
              More details here: https://curl.se/docs/sslcerts.html

              curl failed to verify the legitimacy of the server and therefore could not
              establish a secure connection to it. To learn more about this situation and
              how to fix it, please visit the web page mentioned above.

              curl “http://54.160.127.226:443”
              curl: (52) Empty reply from server

              Not sure if any of this helps but …

              B 1 Reply Last reply Reply Quote 0
              • B
                bouboun59 @tumauwt last edited by

                @tumauwt I think it’s normal issue, beacause you use the @ip adress and not the domaine name, so you are an error with certificat ssl.
                otherwise
                the problem is since 29/02/2024, and i check the certifcat ssl, I remak he regenrated since 29/01/2024

                perhasps it’s a problem, but @Robert don’t reply again.

                4bb38f79-f653-4608-a456-b6ef6f83976e-image.png

                1 Reply Last reply Reply Quote 0
                • Monocle
                  Monocle last edited by

                  @ALL.

                  Sorry, about the delay in getting this issue resolved. I was away from my office all last week and unable to access the necessary details and resources to work on this problem.

                  PLEASE TRY AGAIN NOW. (You may need to restart your Monocle Gateway instances.)

                  The issue started when I replaced all the SSL certificates at the end of January. Even though we have a pre-paid and valid 5 year certificate, the SSL rules require that it gets replaced annually now. So after updating all the certificates and restarting all the services that allow Monocle to function, it all appeared to be working from my local testing. However somewhere in the changes … the Monocle/Alexa authentication service failed to re-connect to the Monocle backend database properly. Perhaps it was holding onto (cached) the previous SSL for its secure connection which then expired. I’ll have to dig a bit deeper to better understand why it continued to fail to connect over the course of several days, but I believe this was the underlying issue causing failed account re-linking, failure to refresh Alexa tokens and failure for Monocle Gateway to reconnect and throw 401 errors.

                  Please let me know if any of you have further issues getting Monocle working again.

                  Thanks, Robert

                  Monocle: https://monoclecam.com
                  Getting Started | Troubleshooting Guide | FAQ | Contact Support

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    julien @Monocle last edited by

                    @Monocle thank you Robert! I restarted the service and it is now back to normal, working smoothly

                    Monocle 1 Reply Last reply Reply Quote 0
                    • Monocle
                      Monocle @julien last edited by

                      @julien

                      Thanks for the confirmation!

                      Monocle: https://monoclecam.com
                      Getting Started | Troubleshooting Guide | FAQ | Contact Support

                      1 Reply Last reply Reply Quote 0
                      • T
                        tumauwt last edited by

                        Working again. Thanks.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Privacy Policy  |  Terms & Conditions

                        © 2018 shadeBlue, LLC.