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

    RC37 + Client 011.7 = Response Invalid Host

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    3
    7
    2.0k
    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.
    • sudburrS
      sudburr
      last edited by sudburr

      Server
      • FOG Version: RC37
      • OS: CentOS 7.2.1511
      Client
      • Service Version: 0.11.7
      • OS: Windows 7(32)
      Description

      Installed FOG client for first time on a system via scheduled task:

      msiexec.exe /i FOGService.msi /quiet USETRAY="0" WEBADDRESS="devfog"
      

      Reboot, then Fog.log says:

      ------------------------------------------------------------------------------
      --------------------------------Authentication--------------------------------
      ------------------------------------------------------------------------------
       20/12/2016 6:00 PM Client-Info Version: 0.11.7
       20/12/2016 6:00 PM Client-Info OS:      Windows
       20/12/2016 6:00 PM Middleware::Authentication Waiting for authentication timeout to pass
       20/12/2016 6:00 PM Middleware::Communication Download: http://devfog/fog/management/other/ssl/srvpublic.crt
       20/12/2016 6:00 PM Data::RSA FOG Server CA cert found
       20/12/2016 6:00 PM Middleware::Authentication Cert OK
       20/12/2016 6:00 PM Middleware::Authentication ERROR: Could not get security token
       20/12/2016 6:00 PM Middleware::Authentication ERROR: Could not find file 'C:\Program Files\FOG\token.dat'.
       20/12/2016 6:00 PM Middleware::Communication POST URL: http://devfog/fog/management/index.php?sub=requestClientInfo&authorize&newService
       20/12/2016 6:00 PM Middleware::Response Invalid host
       20/12/2016 6:00 PM Middleware::Communication URL: http://devfog/fog/service/register.php?hostname=rjs201612201615&mac=6C:F0:49:25:FF:3B||00:00:00:00:00:00:00:E0&newService&json
      

      There is no token.dat … or spoon.

      [ Standing in between extinction in the cold and explosive radiating growth ]

      1 Reply Last reply Reply Quote 0
      • sudburrS
        sudburr
        last edited by

        The server itself had no hosts; it’s my development server so I regularly blast it; and it was indeed waiting in Pending Hosts.

        Thank you for clarifying what to expect .

        [ Standing in between extinction in the cold and explosive radiating growth ]

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

          I’m just guessing but is the host this client was installed on registered?

          After seeing this message, is it displaying in Pending Hosts?

          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

            Just a bit more info:

            The “Could not get security token” and “Could not find file” are normal after the client has been freshly installed (as the token is not found and the file doesn’t exist until the first cycle.)

            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
            • Wayne WorkmanW
              Wayne Workman
              last edited by

              I’d suggest just for troubleshooting purposes try to uninstall and reinstall the client manually on that one machine and monitor the results. Also - a reboot isn’t necessary but just simplifies things. After installing clean for the 1st time, you can just start the FOGService and it’ll start working.

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

                And a little more info:

                When the client sends the self registration the, Invalid Host, message is how it knows to do this. Hopefully this helps clarify that, from the messages in the log, to the urls it’s sending, are showing there currently is no bug. The system is doing exactly what it’s supposed to be doing.

                Of course, confirmation of the fact that the host registered itself and is now in “pending hosts” would be even further showing that this is indeed working properly.

                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 2
                • Wayne WorkmanW
                  Wayne Workman
                  last edited by

                  Yeah, re-reading over this, Tom is right. The system is probably sitting in the pending list right now waiting to be approved.

                  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
                  • sudburrS
                    sudburr
                    last edited by

                    The server itself had no hosts; it’s my development server so I regularly blast it; and it was indeed waiting in Pending Hosts.

                    Thank you for clarifying what to expect .

                    [ Standing in between extinction in the cold and explosive radiating growth ]

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

                    189

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project