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

    Solved Communication ERROR: operation timed out, could not authenticate, obj error

    FOG Problems
    4
    19
    4589
    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.
    • A
      andyroo54 Moderator last edited by

      Hi,

      For some strange reason my new fog client is getting this authentication error… a few days ago it seemed to be working OK, hosts were renaming and even joining to domain. But now for some reason in the logs I’m getting this issue. I haven’t changed anything on the fog server. I’m running trunk 7017 on ubuntu 14.04.

      I get this error on both win 7 and 10.

      Any ideas?

      --------------------------------Authentication--------------------------------
      ------------------------------------------------------------------------------
       15/04/2016 2:50 PM Client-Info Version: 0.9.12
       15/04/2016 2:50 PM Middleware::Communication URL: http://10.0.3.213/fog/management/other/ssl/srvpublic.crt
       15/04/2016 2:50 PM Middleware::Authentication ERROR: Could not get security token
       15/04/2016 2:50 PM Middleware::Authentication ERROR: Could not find file 'C:\Windows\system32\token.dat'.
       15/04/2016 2:50 PM Data::RSA FOG Server CA cert found
       15/04/2016 2:50 PM Middleware::Authentication Cert OK
       15/04/2016 2:50 PM Middleware::Communication POST URL: http://10.0.3.213/fog/management/index.php?sub=authorize
       15/04/2016 2:51 PM Middleware::Communication ERROR: Failed to POST data
       15/04/2016 2:51 PM Middleware::Communication ERROR: The operation has timed out
       15/04/2016 2:51 PM Middleware::Authentication ERROR: Could not authenticate
       15/04/2016 2:51 PM Middleware::Authentication ERROR: Object reference not set to an instance of an object.
       15/04/2016 2:51 PM Service Sleeping for 120 seconds
      
      ------------------------------------------------------------------------------
      --------------------------------Authentication--------------------------------
      ------------------------------------------------------------------------------
       15/04/2016 2:53 PM Client-Info Version: 0.9.12
       15/04/2016 2:53 PM Middleware::Communication URL: http://10.0.3.213/fog/management/other/ssl/srvpublic.crt
       15/04/2016 2:53 PM Middleware::Authentication ERROR: Could not get security token
       15/04/2016 2:53 PM Middleware::Authentication ERROR: Could not find file 'C:\Windows\system32\token.dat'.
       15/04/2016 2:53 PM Data::RSA FOG Server CA cert found
       15/04/2016 2:53 PM Middleware::Authentication Cert OK
       15/04/2016 2:53 PM Middleware::Communication POST URL: http://10.0.3.213/fog/management/index.php?sub=authorize
       15/04/2016 2:55 PM Middleware::Communication ERROR: Failed to POST data
       15/04/2016 2:55 PM Middleware::Communication ERROR: The operation has timed out
       15/04/2016 2:55 PM Middleware::Authentication ERROR: Could not authenticate
       15/04/2016 2:55 PM Middleware::Authentication ERROR: Object reference not set to an instance of an object.
       15/04/2016 2:55 PM Service Sleeping for 120 seconds
      
      1 Reply Last reply Reply Quote 0
      • K
        kverkiss @kverkiss last edited by

        @kverkiss said in Communication ERROR: operation timed out, could not authenticate, obj error:

        @Jbob Thanks for the information!

        The problem has been resolved. Thanks for all help.

        1 Reply Last reply Reply Quote 0
        • K
          kverkiss @Joe Schmitt last edited by

          @Jbob Thanks for the information!

          K 1 Reply Last reply Reply Quote 0
          • J
            Joe Schmitt Senior Developer last edited by

            @kverkiss The --recreate-keys option for the installer re-configures the certificates to your new IP, but --recreate-CA resets the identity. This will “block” all clients from communicating with the server.

            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.

            K 1 Reply Last reply Reply Quote 2
            • K
              kverkiss @Tom Elliott last edited by

              @Tom-Elliott Hi Tom,
              I just did a rollback over VMware to our server backup from last night. It is working fine now. Now I have updated the the most recent revison and no errors show up. I am currently monitoring if the problem reappears.

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

                @kverkiss updating keys would’ve been fine but from the looks of things it also recreated the ca information. Rolling back would not solve the problem unless you have a snapshot from before the ip changed or before you updated the ca 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

                K 1 Reply Last reply Reply Quote 0
                • K
                  kverkiss @Tom Elliott last edited by

                  @Tom-Elliott I could do a rollback to an older version. I did update the certificate because this server had an IP change.

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

                    @kverkiss that means your ca changed. Fog doesn’t do that automatically. Do you have the original servers CA information somewhere?

                    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

                    K 1 Reply Last reply Reply Quote 0
                    • K
                      kverkiss @Tom Elliott last edited by

                      @Tom-Elliott Rev 7252:

                       21-4-2016 17:13 Client-Info Version: 0.9.12
                       21-4-2016 17:13 Middleware::Communication URL: http://10.10.2.250/fog/management/other/ssl/srvpublic.crt
                       21-4-2016 17:13 Data::RSA FOG Server CA cert found
                       21-4-2016 17:13 Data::RSA ERROR: Certificate validation failed
                       21-4-2016 17:13 Data::RSA ERROR: Trust chain did not complete to the known authority anchor. Errors: Kan de handtekening van het certificaat niet controleren. (NotSignatureValid)
                       21-4-2016 17:13 Middleware::Authentication ERROR: Could not authenticate
                       21-4-2016 17:13 Middleware::Authentication ERROR: Certificate is not from FOG CA
                       21-4-2016 17:13 Service Sleeping for 120 seconds
                       21-4-2016 17:14 Bus Registering ParseBus in channel Power
                       21-4-2016 17:14 Bus Became bus client
                       21-4-2016 17:14 Bus Registering OnNotification in channel Notification
                       21-4-2016 17:14 Bus Registering OnUpdate in channel Update
                      
                      Tom Elliott 1 Reply Last reply Reply Quote 0
                      • Tom Elliott
                        Tom Elliott @Tom Elliott last edited by

                        Found a rather nasty (unknown bug), can you update again?

                        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

                        K 1 Reply Last reply Reply Quote 0
                        • K
                          kverkiss @Tom Elliott last edited by

                          @Tom-Elliott Different errors this time:

                           21-4-2016 17:04 Client-Info Version: 0.9.12
                           21-4-2016 17:04 Middleware::Communication URL: http://10.10.2.250/fog/management/other/ssl/srvpublic.crt
                           21-4-2016 17:04 Data::RSA FOG Server CA cert found
                           21-4-2016 17:04 Data::RSA ERROR: Certificate validation failed
                           21-4-2016 17:04 Data::RSA ERROR: Trust chain did not complete to the known authority anchor. Errors: Kan de handtekening van het certificaat niet controleren. (NotSignatureValid)
                           21-4-2016 17:04 Middleware::Authentication ERROR: Could not authenticate
                           21-4-2016 17:04 Middleware::Authentication ERROR: Certificate is not from FOG CA
                           21-4-2016 17:04 Service Sleeping for 120 seconds
                           21-4-2016 17:05 Bus Registering ParseBus in channel Power
                           21-4-2016 17:05 Bus Became bus client
                           21-4-2016 17:05 Bus Registering OnNotification in channel Notification
                           21-4-2016 17:05 Bus Registering OnUpdate in channel Update```
                          1 Reply Last reply Reply Quote 0
                          • Tom Elliott
                            Tom Elliott @kverkiss last edited by

                            @kverkiss can you update and try again?

                            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

                            K Tom Elliott 2 Replies Last reply Reply Quote 0
                            • K
                              kverkiss @kverkiss last edited by

                              @kverkiss said in Communication ERROR: operation timed out, could not authenticate, obj error:

                              @Tom-Elliott Hi Tom, I do have revision 7248.

                              The only difference I have, for this revision there is not token.dat created in c:\windows\system32\

                              Tom Elliott 1 Reply Last reply Reply Quote 0
                              • K
                                kverkiss @Tom Elliott last edited by

                                @Tom-Elliott Hi Tom, I do have revision 7248.

                                K 1 Reply Last reply Reply Quote 0
                                • Tom Elliott
                                  Tom Elliott @kverkiss last edited by

                                  @kverkiss What version of FOG are you running? Having the “exact same problem” is only relevant if you’re on the exact same version.

                                  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

                                  K 1 Reply Last reply Reply Quote 0
                                  • K
                                    kverkiss @Tom Elliott last edited by

                                    @Tom-Elliott Besides I did all your provided steps as well, clearing the security token data.

                                    Tom Elliott 1 Reply Last reply Reply Quote 0
                                    • K
                                      kverkiss @Tom Elliott last edited by

                                      @Tom-Elliott I have the exact same problem, started recently. I have also upgraded the fog server to a newer revision.

                                      21-4-2016 16:24 Client-Info Version: 0.9.12
                                      21-4-2016 16:24 Middleware::Communication URL: http://10.10.2.250/fog/management/other/ssl/srvpublic.crt
                                      21-4-2016 16:24 Data::RSA FOG Server CA cert found
                                      21-4-2016 16:24 Middleware::Authentication Cert OK
                                      21-4-2016 16:24 Middleware::Communication POST URL: http://10.10.2.250/fog/management/index.php?sub=authorize
                                      21-4-2016 16:24 Middleware::Communication ERROR: Failed to POST data
                                      21-4-2016 16:24 Middleware::Communication ERROR: De externe server heeft een fout geretourneerd: (417) Expectation Failed.
                                      21-4-2016 16:24 Middleware::Authentication ERROR: Could not authenticate
                                      21-4-2016 16:24 Middleware::Authentication ERROR: Object reference not set to an instance of an object.
                                      21-4-2016 16:24 Service Sleeping for 120 seconds

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

                                        When you see “Invalid security token” go to the GUI, locate the relevant host, click Reset 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

                                        K 2 Replies Last reply Reply Quote 1
                                        • A
                                          andyroo54 Moderator last edited by

                                          I upgraded to S VN trunk 7182

                                           15/04/2016 4:20 PM Service Stop requested
                                           15/04/2016 4:20 PM Bus {
                                            "channel": "Status",
                                            "data": "{\r\n  \"action\": \"unload\"\r\n}"
                                          }
                                           15/04/2016 4:20 PM Bus Emmiting message on channel: Status
                                           15/04/2016 4:20 PM Bus Became bus server
                                           15/04/2016 4:20 PM Bus {
                                            "channel": "Status",
                                            "data": "{\r\n  \"action\": \"load\"\r\n}"
                                          }
                                           15/04/2016 4:20 PM Bus Emmiting message on channel: Status
                                          
                                          ------------------------------------------------------------------------------
                                          --------------------------------Authentication--------------------------------
                                          ------------------------------------------------------------------------------
                                           15/04/2016 4:20 PM Client-Info Version: 0.9.12
                                           15/04/2016 4:20 PM Middleware::Communication URL: http://10.0.3.213/fog/management/other/ssl/srvpublic.crt
                                           15/04/2016 4:20 PM Middleware::Authentication ERROR: Could not get security token
                                           15/04/2016 4:20 PM Middleware::Authentication ERROR: Could not find file 'C:\Windows\system32\token.dat'.
                                           15/04/2016 4:20 PM Data::RSA FOG Server CA cert found
                                           15/04/2016 4:20 PM Middleware::Authentication Cert OK
                                           15/04/2016 4:20 PM Middleware::Communication POST URL: http://10.0.3.213/fog/management/index.php?sub=authorize
                                           15/04/2016 4:20 PM Middleware::Communication Response: Invalid security token
                                           15/04/2016 4:20 PM Service Sleeping for 120 seconds
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • 1 / 1
                                          • First post
                                            Last post

                                          142
                                          Online

                                          10.4k
                                          Users

                                          16.4k
                                          Topics

                                          150.5k
                                          Posts

                                          Copyright © 2012-2023 FOG Project