Announcement

Collapse
No announcement yet.

Cannot Authenticate with cloud

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Cannot Authenticate with cloud

    Hello, trying to get this plug in to work but I'm receiving the following error:

    Cannot authenticate with cloud: An error occurred while sending the request [Error: TrustFailure (Authentication failed, see inner exception.)] [Authentication failed, see inner exception.] [Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED at /build/mono-5.20.1.19/external/boringssl/ssl/handshake_client.c:1132]

    I just installed it today, I have verified the username and password to be entered correctly. Any assistance would be helpful. Thanks

    #2
    Can I get your device ID from the settings page?

    Comment


      #3
      Yes, acd3723e-a7e9-4c7f-b824-8e8d31efe061.

      Comment


        #4
        I think you might need to update your mono version. Are you using a HomeTroller or a Linux PC?

        Comment


          #5
          Hometroller

          Mono JIT compiler version 5.20.1.19 (tarball Thu Apr 11 09:14:25 UTC 2019)
          Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors.www.mono-project.com
          TLS: __thread
          SIGSEGV: altstack
          Notifications: epoll
          Architecture: x86
          Disabled: none
          Misc: softdebug
          Interpreter: yes
          LLVM: yes(600)
          Suspend: hybrid
          GC: sgen (concurrent by default)

          Comment


            #6
            You might be able to get away with running this:
            Code:
            sudo apt update
            sudo apt install ca-certificates ca-certificates-mono -y
            If it tells you that both ca-certificates and ca-certificates-mono are the latest version, then you'll probably need to update mono entirely.

            Comment


              #7
              running command sudo apt install ca-certificates ca-certificates-mono -y
              Reading package lists...
              Building dependency tree...
              Reading state information...
              ca-certificates-mono is already the newest version.
              ca-certificates-mono set to manually installed.
              ca-certificates is already the newest version.
              0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

              So are you saying Mono 6 is required? I don't see instructions anywhere to guide me through updating to that version. If I do upgrade, will that cause other unintended issues with other plug ins?
              https://docs.homeseer.com/display/HS...+SEL+to+Mono+5

              Comment


                #8
                I'm honestly not entirely sure what issue you're facing. I don't have a system with HS4 and mono 5 at my disposal, but I was able to write a very basic test program that was able to establish a secure connection (which seems to be what's failing for you) on mono 5.18.

                It sounds to me like you have outdated roots, but the output from your apt install command implies that everything's up to date. Did you run apt update first?

                Comment


                  #9
                  Hi Dr., yes I did that first but didn't post the results:


                  Ign http://extras.ubuntu.com trusty InRelease
                  Hit https://download.mono-project.com stable-trusty InRelease
                  Hit http://extras.ubuntu.com trusty Release.gpg
                  Hit http://download.mono-project.com trusty InRelease
                  Hit https://download.mono-project.com stable-trusty/main i386 Packages
                  Hit http://extras.ubuntu.com trusty Release
                  Hit http://extras.ubuntu.com trusty/main Sources
                  Hit http://extras.ubuntu.com trusty/main i386 Packages
                  Hit http://download.mono-project.com trusty/main i386 Packages
                  Ign http://extras.ubuntu.com trusty/main Translation-en_US
                  Ign http://extras.ubuntu.com trusty/main Translation-en
                  Ign https://download.mono-project.com stable-trusty/main Translation-en_US
                  Ign https://download.mono-project.com stable-trusty/main Translation-en
                  Ign http://download.mono-project.com trusty/main Translation-en_US
                  Ign http://download.mono-project.com trusty/main Translation-en
                  Reading package lists...

                  Comment


                    #10
                    Oh, it looks like your system already has the mono repo, you might be able to update mono by using:
                    Code:
                    sudo apt-get install mono-complete -y
                    Updating mono shouldn't cause any problems with anything else. Although I'm not 100% sure that updating mono will solve anything for you, since it seems like the issue is a missing root (somehow) rather than a protocol problem.

                    Comment


                      #11
                      So, I was working with stefxx on fixing an issue I'm having with his plug-in and it seems like my version of Ubuntu on the Hometroller SEL is really old (14.04). I noticed today that Homeseer discontinued the SEL and reading through the forums, it seems several users have complained of the older software on the SEL hardware. To me the hardware is less than 2 years old so it's surprising that after updating to HS4 at the end of 2020, the underlying OS is so outdated. I opened a ticket with Homeseer to see if they can update Mono and Ubuntu. I'm starting a new topic under the SEL Hardware Forum for suggestions or Pros/Cons of what to do, either dump the SEL hardware and buy a PI and start over or canabilze the Homeseer SEL Hardware, install the latest Ubuntu and then install Homeseer on top of it. Either way it is more complicated than I thought I was getting into when I made the $657 decision to buy the SEL last year.

                      This is the response to running that last bit of code, which I think Stefxx tried already.

                      running command sudo apt-get install mono-complete -y
                      Reading package lists...
                      Building dependency tree...
                      Reading state information...
                      mono-complete is already the newest version.
                      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

                      Comment


                        #12
                        Yeah, I'm kind of thinking that you're going to need to upgrade your OS (Ubuntu 14 is from 2014). It's really a shame that post-purchase support for HomeTrollers is so poor; if HST ever wants laypeople to use HomeSeer then they need a system for upgrading the underlying operating system and components like Mono in HomeTrollers without requiring people to type commands.

                        I don't really see a lot of reason why you couldn't install a modern version of Ubuntu on the same hardware. It'd be ideal of course if you could upgrade Ubuntu in-place but I don't know how possible that is. You might be able to SSH into the device upgrade to each LTS release between 14.04 and 20.04: https://askubuntu.com/a/1302428

                        I would not advise doing this from the run command box in the HS UI. You should do this over SSH. You can use PuTTY on Windows to log into the HomeTroller. The username should be homeseer and the password should be either what you used to log into the Linux tools, or hsthsths3.

                        Of course, using the Linux command line is not friendly to the layperson and if anything goes wrong you'll likely need to clean install Ubuntu anyway.

                        Comment


                          #13
                          Dr. McKay after upgrading the SEL to the latest Debian build and Mono version and then restoring HomeSeer, the plugin works.

                          Sent from my Samsung Galaxy Note 20 using Tapatalk

                          Comment


                            #14
                            I'm glad to hear that, and it's too bad you had to do that on hardware you bought under 1 year ago.

                            Comment

                            Working...
                            X