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

    Fog client won't connect back to server

    Scheduled Pinned Locked Moved Solved FOG Problems
    5 Posts 2 Posters 966 Views
    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
      sideone
      last edited by

      We updated to the latest working-1.6 version at the start of this week. Now all my clients are not connecting to the host and won’t perform any tasks.

      The error in fog.log on the client states:

      ------------------------------------------------------------------------------
      ----------------------------------UserTracker---------------------------------
      ------------------------------------------------------------------------------
       09/09/2025 14:49:09 Client-Info Client Version: 0.13.0
       09/09/2025 14:49:09 Client-Info Client OS:      Windows
       09/09/2025 14:49:09 Client-Info Server Version: 1.6.0-beta.2167
       09/09/2025 14:49:09 Middleware::Response ERROR: Unable to get subsection
       09/09/2025 14:49:09 Middleware::Response ERROR: Object reference not set to an instance of an object.
       09/09/2025 14:49:09 Service Sleeping for 667 seconds
       09/09/2025 15:00:16 Middleware::Communication URL: http://10.16.46.84/fog/management/index.php?sub=requestClientInfo&configure&newService&json
       09/09/2025 15:00:16 Middleware::Response Success
       09/09/2025 15:00:16 Middleware::Communication Download: http://10.16.46.84/fog/management/other/TiLA_Logo_650x120.jpg
       09/09/2025 15:00:16 Middleware::Communication ERROR: Could not download file
       09/09/2025 15:00:16 Middleware::Communication ERROR: The remote server returned an error: (308) Permanent Redirect.
       09/09/2025 15:00:16 Middleware::Communication URL: http://10.16.46.84/fog/management/index.php?sub=requestClientInfo&mac=0C:9D:92:C9:DE:32|0C:9D:92:C9:DE:33&newService&json
       09/09/2025 15:00:17 Middleware::Response Success
       09/09/2025 15:00:17 Middleware::Communication URL: http://10.16.46.84/fog/service/getversion.php?clientver&newService&json
       09/09/2025 15:00:17 Service ERROR: Unable to get cycle data
       09/09/2025 15:00:17 Service ERROR: The remote server returned an error: (401) Unauthorized.
       09/09/2025 15:00:17 Middleware::Response Success
      

      Reinstalling the FOG client gets:

      ------------------------------------------------------------------------------
      --------------------------------Authentication--------------------------------
      ------------------------------------------------------------------------------
       11/09/2025 13:08:56 Client-Info Version: 0.13.0
       11/09/2025 13:08:56 Client-Info OS:      Windows
       11/09/2025 13:08:56 Middleware::Authentication Waiting for authentication timeout to pass
       11/09/2025 13:10:56 Middleware::Communication Download: http://10.16.46.84/fog/management/other/ssl/srvpublic.crt
       11/09/2025 13:10:56 Middleware::Authentication Cert OK
       11/09/2025 13:10:56 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
       11/09/2025 13:10:56 Middleware::Authentication ERROR: Could not get security token
       11/09/2025 13:10:56 Middleware::Authentication ERROR: Could not find file 'C:\Program Files (x86)\FOG\token.dat'.
       11/09/2025 13:10:56 Middleware::Communication POST URL: http://10.16.46.84/fog/management/index.php?sub=requestClientInfo&authorize&newService
       11/09/2025 13:10:56 Middleware::Response Invalid security token
      

      How can I reconnect my clients?
      Thanks!

      S Tom ElliottT 2 Replies Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @sideone
        last edited by

        @sideone Please run an update, I just released what I believe should fix this problem.

        The reason you’re seeing that in the browser is the url is expecting a mac address being sent in. #!im == “Invalid MAC”

        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 1
        • S
          sideone @sideone
          last edited by

          Navigating in browser to http://10.16.46.84/fog/management/index.php?sub=requestClientInfo&authorize&newService returns

           {"error":"im"}
          
          Tom ElliottT 1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott @sideone
            last edited by

            @sideone Please run an update, I just released what I believe should fix this problem.

            The reason you’re seeing that in the browser is the url is expecting a mac address being sent in. #!im == “Invalid MAC”

            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 1
            • Tom ElliottT
              Tom Elliott @sideone
              last edited by Tom Elliott

              @sideone Specifically regarding the Invalid Security Token issue you’re seeing, you would need to reset the host’s Security Tokens.

              This can be done per host of course. I believe the option is also available on groups: Specifically the 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

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

                @Tom-Elliott that seems to have solved it. Thanks yet again for speedy service! Cheers

                1 Reply Last reply Reply Quote 0
                • S sideone has marked this topic as solved
                • 1 / 1
                • First post
                  Last post

                93

                Online

                12.2k

                Users

                17.4k

                Topics

                155.6k

                Posts
                Copyright © 2012-2025 FOG Project