• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Authentication ERROR: Could not get security token

    Scheduled Pinned Locked Moved
    FOG Problems
    5
    19
    5.3k
    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.
    • S
      Stilty
      last edited by Stilty

      I have tried resetting the Encryption info on all of my hosts and have tired to find some other method to get things to work again. But so far old and new hosts are getting this message and won’t work. I’m running Trunk 8271
      .

       6/16/2016 1:12 PM Client-Info Version: 0.10.6
       6/16/2016 1:12 PM Client-Info OS:      Windows
       6/16/2016 1:12 PM Middleware::Authentication Waiting for authentication timeout to pass
       6/16/2016 1:12 PM Middleware::Communication Download: http://IT-FOGSVR/fog/management/other/ssl/srvpublic.crt
       6/16/2016 1:12 PM Data::RSA FOG Server CA cert found
       6/16/2016 1:12 PM Middleware::Authentication Cert OK
       6/16/2016 1:12 PM Middleware::Authentication ERROR: Could not get security token
       6/16/2016 1:12 PM Middleware::Authentication ERROR: The data is invalid.
      
       6/16/2016 1:13 PM Middleware::Communication POST URL: http://IT-FOGSVR/fog/management/index.php?sub=requestClientInfo&authorize&newService
       6/16/2016 1:13 PM Middleware::Response Invalid security token```
      S 5 Replies Last reply Reply Quote 0
      • J
        Joe Schmitt Senior Developer
        last edited by

        Server issue. @Tom-Elliott

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott
          last edited by

          I’m not seeing any issues with resetting the encryption data.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • S
            Stilty @Stilty
            last edited by

            What should i be doing here? I can get the srvpublic.crt and it seems ok.

            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott
              last edited by

              You need to reset encryption data for the host.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 0
              • S
                Stilty @Stilty
                last edited by

                I don’t see where to do that at. I did use this to reset all clients data:

                mysql
                use fog
                UPDATE hosts SET hostPubKey=“”, hostSecToken=“”, hostSecTime=“0000-00-00 00:00:00”;

                Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott
                  last edited by

                  Please update to latest and see if the issue is still present.

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott
                    last edited by

                    Did you get an error when you manually entered the information?

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    1 Reply Last reply Reply Quote 0
                    • S
                      Stilty @Stilty
                      last edited by

                      When i manually entered the info? I updating right now.

                      1 Reply Last reply Reply Quote 0
                      • S
                        Stilty @Stilty
                        last edited by

                        Taking a really long time to get to the hosts page. I was trying to setup and image a new host pretty quickly but its taking its time.

                        S 1 Reply Last reply Reply Quote 0
                        • Wayne WorkmanW
                          Wayne Workman @Stilty
                          last edited by

                          @Stilty said in Authentication ERROR: Could not get security token:

                          I don’t see where to do that at. I did use this to reset all clients data:

                          mysql
                          use fog
                          UPDATE hosts SET hostPubKey=“”, hostSecToken=“”, hostSecTime=“0000-00-00 00:00:00”;

                          @Tom-Elliott think I should remove or obscure that in the wiki? Oh, I have a better idea. Right above it I’ll picture the reset button. I’ll do that sometime tonight.

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                          Daily Clean Installation Results:
                          https://fogtesting.fogproject.us/
                          FOG Reporting:
                          https://fog-external-reporting-results.fogproject.us/

                          1 Reply Last reply Reply Quote 0
                          • S
                            Stilty @Stilty
                            last edited by

                            I’m still trying to get to the Hosts page. I’m used to the webui being slow but its never taken 7+mins to get to another page.

                            Wayne WorkmanW S 2 Replies Last reply Reply Quote 0
                            • Wayne WorkmanW
                              Wayne Workman @Stilty
                              last edited by Wayne Workman

                              @Stilty this would indicate server problems. Look at apache error logs, look at server load. I’d suggest doing these things via CLI since the web interface is affected.

                              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                              Daily Clean Installation Results:
                              https://fogtesting.fogproject.us/
                              FOG Reporting:
                              https://fog-external-reporting-results.fogproject.us/

                              1 Reply Last reply Reply Quote 0
                              • S
                                Stilty @Stilty
                                last edited by

                                Now I can’t capture any image. I just tried and it skips right past the part in the PXE boot where it normally goes in that direction and not just booting up.

                                Q 1 Reply Last reply Reply Quote 0
                                • Q
                                  Quazz Moderator @Stilty
                                  last edited by Quazz

                                  @Stilty Probably caused by this issue https://forums.fogproject.org/topic/7935/r5767-host-is-not-registered-invalid-mac-after-i-set-an-image/3

                                  1 Reply Last reply Reply Quote 1
                                  • S
                                    Stilty @Stilty
                                    last edited by

                                    Ok so to sum it up, it’s a server problem and I need to read the logs of Apache to figure this out. Is that for the slow ui or the Cert problem from clients?

                                    Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                    • Wayne WorkmanW
                                      Wayne Workman @Stilty
                                      last edited by Wayne Workman

                                      @Stilty follow @Quazz link. We think it’s a bug. Sit tight and follow that thread. Probably will be fixed in under an hour if I had to guess.

                                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                      Daily Clean Installation Results:
                                      https://fogtesting.fogproject.us/
                                      FOG Reporting:
                                      https://fog-external-reporting-results.fogproject.us/

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        Stilty
                                        last edited by

                                        I’m still getting this error, anyone have some futher ideas/help?

                                        Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                        • Wayne WorkmanW
                                          Wayne Workman @Stilty
                                          last edited by

                                          @Stilty update, and all should work hopefully.

                                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                          Daily Clean Installation Results:
                                          https://fogtesting.fogproject.us/
                                          FOG Reporting:
                                          https://fog-external-reporting-results.fogproject.us/

                                          1 Reply Last reply Reply Quote 0
                                          • 1 / 1
                                          • First post
                                            Last post

                                          151

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project