• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.1k
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
    sudburr
    last edited by sudburr Dec 20, 2016, 5:23 PM Dec 20, 2016, 11:16 PM

    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
    • S
      sudburr
      last edited by Dec 21, 2016, 3:28 PM

      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
      • T
        Tom Elliott
        last edited by Dec 20, 2016, 11:34 PM

        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
        • T
          Tom Elliott
          last edited by Dec 20, 2016, 11:49 PM

          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
          • W
            Wayne Workman
            last edited by Dec 21, 2016, 12:34 AM

            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
            • T
              Tom Elliott
              last edited by Dec 21, 2016, 1:05 PM

              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
              • W
                Wayne Workman
                last edited by Dec 21, 2016, 2:16 PM

                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
                • S
                  sudburr
                  last edited by Dec 21, 2016, 3:28 PM

                  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
                  1 / 1
                  • First post
                    2/7
                    Last post

                  138

                  Online

                  12.1k

                  Users

                  17.3k

                  Topics

                  155.4k

                  Posts
                  Copyright © 2012-2024 FOG Project