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

    FOG Client Error: Could not get security token

    Scheduled Pinned Locked Moved Solved
    Windows Problems
    2
    3
    163
    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
      Silv4n
      last edited by

      Hey

      I’m trying to install the FOG Client on an external device. I’ve opened port 80 on our firewall and the cert etc. can be retrieved. However, when the client is trying to connect to the server, the error “Authentication Error: Could not get security token” appears in the log file. I’ve already reset the encryption data.
      Logs:

       19.02.2020 09:24 Main Overriding exception handling
       19.02.2020 09:24 Main Bootstrapping Zazzles
       19.02.2020 09:24 Controller Initialize
       19.02.2020 09:24 Controller Start
      
       19.02.2020 09:24 Service Starting service
       19.02.2020 09:24 Bus Became bus server
       19.02.2020 09:24 Bus Emmiting message on channel: Status
       19.02.2020 09:24 Service Invoking early JIT compilation on needed binaries
      
      ------------------------------------------------------------------------------
      --------------------------------Authentication--------------------------------
      ------------------------------------------------------------------------------
       19.02.2020 09:24 Client-Info Version: 0.11.16
       19.02.2020 09:24 Client-Info OS:      Windows
       19.02.2020 09:24 Middleware::Authentication Waiting for authentication timeout to pass
       19.02.2020 09:24 Middleware::Communication Download: http://fog.conex-lab.ch/fog/management/other/ssl/srvpublic.crt
       19.02.2020 09:24 Data::RSA FOG Server CA cert found
       19.02.2020 09:24 Middleware::Authentication Cert OK
       19.02.2020 09:24 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
       19.02.2020 09:24 Middleware::Authentication ERROR: Could not get security token
       19.02.2020 09:24 Middleware::Authentication ERROR: Die Datei "C:\Program Files (x86)\FOG\token.dat" konnte nicht gefunden werden.
       19.02.2020 09:24 Middleware::Communication POST URL: http://fog.conex-lab.ch/fog/management/index.php?sub=requestClientInfo&authorize&newService
       19.02.2020 09:24 Middleware::Response Invalid MAC address format
      
      ------------------------------------------------------------------------------
      --------------------------------Authentication--------------------------------
      ------------------------------------------------------------------------------
       19.02.2020 09:24 Client-Info Version: 0.11.16
       19.02.2020 09:24 Client-Info OS:      Windows
       19.02.2020 09:24 Middleware::Authentication Waiting for authentication timeout to pass
       19.02.2020 09:26 Middleware::Communication Download: http://fog.conex-lab.ch/fog/management/other/ssl/srvpublic.crt
       19.02.2020 09:26 Data::RSA FOG Server CA cert found
       19.02.2020 09:26 Middleware::Authentication Cert OK
       19.02.2020 09:26 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
       19.02.2020 09:26 Middleware::Authentication ERROR: Could not get security token
       19.02.2020 09:26 Middleware::Authentication ERROR: Die Datei "C:\Program Files (x86)\FOG\token.dat" konnte nicht gefunden werden.
       19.02.2020 09:26 Middleware::Communication POST URL: http://fog.conex-lab.ch/fog/management/index.php?sub=requestClientInfo&authorize&newService
       19.02.2020 09:26 Middleware::Response Invalid MAC address format
      
      ------------------------------------------------------------------------------
      --------------------------------Authentication--------------------------------
      ------------------------------------------------------------------------------
       19.02.2020 09:26 Client-Info Version: 0.11.16
       19.02.2020 09:26 Client-Info OS:      Windows
       19.02.2020 09:26 Middleware::Authentication Waiting for authentication timeout to pass
       19.02.2020 09:30 Main Overriding exception handling
       19.02.2020 09:30 Main Bootstrapping Zazzles
       19.02.2020 09:30 Controller Initialize
       19.02.2020 09:30 Controller Start
      
       19.02.2020 09:30 Service Starting service
       19.02.2020 09:30 Bus Became bus server
       19.02.2020 09:30 Bus Emmiting message on channel: Status
       19.02.2020 09:30 Service Invoking early JIT compilation on needed binaries
      
      ------------------------------------------------------------------------------
      --------------------------------Authentication--------------------------------
      ------------------------------------------------------------------------------
       19.02.2020 09:30 Client-Info Version: 0.11.16
       19.02.2020 09:30 Client-Info OS:      Windows
       19.02.2020 09:30 Middleware::Authentication Waiting for authentication timeout to pass
       19.02.2020 09:30 Middleware::Communication Download: http://fog.conex-lab.ch/fog/management/other/ssl/srvpublic.crt
       19.02.2020 09:30 Data::RSA FOG Server CA cert found
       19.02.2020 09:30 Middleware::Authentication Cert OK
       19.02.2020 09:30 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
       19.02.2020 09:30 Middleware::Authentication ERROR: Could not get security token
       19.02.2020 09:30 Middleware::Authentication ERROR: Die Datei "C:\Program Files (x86)\FOG\token.dat" konnte nicht gefunden werden.
       19.02.2020 09:30 Middleware::Communication POST URL: http://fog.conex-lab.ch/fog/management/index.php?sub=requestClientInfo&authorize&newService
       19.02.2020 09:30 Middleware::Response Invalid MAC address format
      
      ------------------------------------------------------------------------------
      --------------------------------Authentication--------------------------------
      ------------------------------------------------------------------------------
       19.02.2020 09:30 Client-Info Version: 0.11.16
       19.02.2020 09:30 Client-Info OS:      Windows
       19.02.2020 09:30 Middleware::Authentication Waiting for authentication timeout to pass
       19.02.2020 10:14 Main Overriding exception handling
       19.02.2020 10:14 Main Bootstrapping Zazzles
       19.02.2020 10:14 Controller Initialize
       19.02.2020 10:14 Controller Start
      
       19.02.2020 10:14 Service Starting service
       19.02.2020 10:15 Bus Became bus server
       19.02.2020 10:15 Bus Emmiting message on channel: Status
       19.02.2020 10:15 Service Invoking early JIT compilation on needed binaries
      
      ------------------------------------------------------------------------------
      --------------------------------Authentication--------------------------------
      ------------------------------------------------------------------------------
       19.02.2020 10:15 Client-Info Version: 0.11.16
       19.02.2020 10:15 Client-Info OS:      Windows
       19.02.2020 10:15 Middleware::Authentication Waiting for authentication timeout to pass
       19.02.2020 10:15 Middleware::Communication Download: http://fog.conex-lab.ch/fog/management/other/ssl/srvpublic.crt
       19.02.2020 10:15 Data::RSA FOG Server CA cert found
       19.02.2020 10:15 Middleware::Authentication Cert OK
       19.02.2020 10:15 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
       19.02.2020 10:15 Middleware::Authentication ERROR: Could not get security token
       19.02.2020 10:15 Middleware::Authentication ERROR: Die Datei "C:\Program Files (x86)\FOG\token.dat" konnte nicht gefunden werden.
       19.02.2020 10:15 Middleware::Communication POST URL: http://fog.conex-lab.ch/fog/management/index.php?sub=requestClientInfo&authorize&newService
       19.02.2020 10:15 Middleware::Response Invalid MAC address format
      
      ------------------------------------------------------------------------------
      --------------------------------Authentication--------------------------------
      ------------------------------------------------------------------------------
       19.02.2020 10:15 Client-Info Version: 0.11.16
       19.02.2020 10:15 Client-Info OS:      Windows
       19.02.2020 10:15 Middleware::Authentication Waiting for authentication timeout to pass
       19.02.2020 10:17 Middleware::Communication Download: http://fog.conex-lab.ch/fog/management/other/ssl/srvpublic.crt
       19.02.2020 10:17 Data::RSA FOG Server CA cert found
       19.02.2020 10:17 Middleware::Authentication Cert OK
       19.02.2020 10:17 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
       19.02.2020 10:17 Middleware::Authentication ERROR: Could not get security token
       19.02.2020 10:17 Middleware::Authentication ERROR: Die Datei "C:\Program Files (x86)\FOG\token.dat" konnte nicht gefunden werden.
       19.02.2020 10:17 Middleware::Communication POST URL: http://fog.conex-lab.ch/fog/management/index.php?sub=requestClientInfo&authorize&newService
       19.02.2020 10:17 Middleware::Response Invalid MAC address format
      
      ------------------------------------------------------------------------------
      --------------------------------Authentication--------------------------------
      ------------------------------------------------------------------------------
       19.02.2020 10:17 Client-Info Version: 0.11.16
       19.02.2020 10:17 Client-Info OS:      Windows
       19.02.2020 10:17 Middleware::Authentication Waiting for authentication timeout to pass
       19.02.2020 10:19 Middleware::Communication Download: http://fog.conex-lab.ch/fog/management/other/ssl/srvpublic.crt
       19.02.2020 10:19 Data::RSA FOG Server CA cert found
       19.02.2020 10:19 Middleware::Authentication Cert OK
       19.02.2020 10:19 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
       19.02.2020 10:19 Middleware::Authentication ERROR: Could not get security token
       19.02.2020 10:19 Middleware::Authentication ERROR: Die Datei "C:\Program Files (x86)\FOG\token.dat" konnte nicht gefunden werden.
       19.02.2020 10:19 Middleware::Communication POST URL: http://fog.conex-lab.ch/fog/management/index.php?sub=requestClientInfo&authorize&newService
       19.02.2020 10:19 Middleware::Response Invalid MAC address format
      
      ------------------------------------------------------------------------------
      --------------------------------Authentication--------------------------------
      ------------------------------------------------------------------------------
       19.02.2020 10:19 Client-Info Version: 0.11.16
       19.02.2020 10:19 Client-Info OS:      Windows
       19.02.2020 10:19 Middleware::Authentication Waiting for authentication timeout to pass
       19.02.2020 10:21 Middleware::Communication Download: http://fog.conex-lab.ch/fog/management/other/ssl/srvpublic.crt
       19.02.2020 10:21 Data::RSA FOG Server CA cert found
       19.02.2020 10:21 Middleware::Authentication Cert OK
       19.02.2020 10:21 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
       19.02.2020 10:21 Middleware::Authentication ERROR: Could not get security token
       19.02.2020 10:21 Middleware::Authentication ERROR: Die Datei "C:\Program Files (x86)\FOG\token.dat" konnte nicht gefunden werden.
       19.02.2020 10:21 Middleware::Communication POST URL: http://fog.conex-lab.ch/fog/management/index.php?sub=requestClientInfo&authorize&newService
       19.02.2020 10:21 Middleware::Response Invalid MAC address format
      
      ------------------------------------------------------------------------------
      --------------------------------Authentication--------------------------------
      ------------------------------------------------------------------------------
       19.02.2020 10:21 Client-Info Version: 0.11.16
       19.02.2020 10:21 Client-Info OS:      Windows
       19.02.2020 10:21 Middleware::Authentication Waiting for authentication timeout to pass
       19.02.2020 10:23 Middleware::Communication Download: http://fog.conex-lab.ch/fog/management/other/ssl/srvpublic.crt
       19.02.2020 10:23 Data::RSA FOG Server CA cert found
       19.02.2020 10:23 Middleware::Authentication Cert OK
       19.02.2020 10:23 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
       19.02.2020 10:23 Middleware::Authentication ERROR: Could not get security token
       19.02.2020 10:23 Middleware::Authentication ERROR: Die Datei "C:\Program Files (x86)\FOG\token.dat" konnte nicht gefunden werden.
       19.02.2020 10:23 Middleware::Communication POST URL: http://fog.conex-lab.ch/fog/management/index.php?sub=requestClientInfo&authorize&newService
       19.02.2020 10:23 Middleware::Response Invalid MAC address format
      
      
       19.02.2020 10:23 Middleware::Communication URL: http://fog.conex-lab.ch/fog/management/index.php?sub=requestClientInfo&configure&newService&json
       19.02.2020 10:23 Middleware::Response Success
       19.02.2020 10:23 Middleware::Communication Download: http://fog.conex-lab.ch/fog/management/other/logo_fog.png
       19.02.2020 10:23 Middleware::Communication URL: http://fog.conex-lab.ch/fog/management/index.php?sub=requestClientInfo&mac=00:1F:C6:9C:0B:C8|00:C2:C6:E6:CD:B9|00:C2:C6:E6:CD:BA|02:C2:C6:E6:CD:B9|00:C2:C6:E6:CD:BD&newService&json
       19.02.2020 10:23 Middleware::Authentication Waiting for authentication timeout to pass
      
      

      Thanks for any help in advance

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @Silv4n said in FOG Client Error: Could not get security token:

        Middleware::Response Invalid MAC address format

        This error is most probably due to your server being setup with HTTPS but the client is not. In the fog-client version 0.11.16 (that was released with FOG 1.5.7) the installer didn’t have the option to enable HTTPS in the setup. You can manually edit C:\Program Files (x86)\FOG\settings.json and set HTTPS to 1 (enable). Or you can reinstall using the latest fog-client release 0.11.19.

        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
          Silv4n
          last edited by

          Thank you very much, worked like a breeze!

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

          205

          Online

          12.1k

          Users

          17.3k

          Topics

          155.3k

          Posts
          Copyright © 2012-2024 FOG Project