Linux client could not authenticate


  • Developer

    Server
    • FOG Version: 6070
    • OS: RedHat 7.3
    Client
    • Service Version: 0.11.12
    • OS: Linux
    Description

    I try to install the linux client under different distros (Ubuntu 14.04, Ubuntu 16.04 and Centos 7) and doesn’t work well.

     29/05/2017 15:27 Main Bootstrapping Zazzles
     29/05/2017 15:27 Controller Initialize
     29/05/2017 15:27 Controller Start
    
     29/05/2017 15:27 Service Starting service
     29/05/2017 15:27 Bus Became bus server
     29/05/2017 15:27 Bus Emmiting message on channel: Status
     29/05/2017 15:27 Service Invoking early JIT compilation on needed binaries
    
    ------------------------------------------------------------------------------
    --------------------------------Authentication--------------------------------
    ------------------------------------------------------------------------------
     29/05/2017 15:27 Client-Info Version: 0.11.12
     29/05/2017 15:27 Client-Info OS:      Linux
     29/05/2017 15:27 Middleware::Authentication Waiting for authentication timeout to pass
     29/05/2017 15:27 Middleware::Communication Download: http://fog.ehu.eus/fog/management/other/ssl/srvpublic.crt
     29/05/2017 15:27 Middleware::Authentication ERROR: Could not authenticate
     29/05/2017 15:27 Middleware::Authentication ERROR: Value cannot be null.
    Parameter name: authority
    
    ------------------------------------------------------------------------------
    --------------------------------Authentication--------------------------------
    ------------------------------------------------------------------------------
     29/05/2017 15:27 Client-Info Version: 0.11.12
     29/05/2017 15:27 Client-Info OS:      Linux
     29/05/2017 15:27 Middleware::Authentication Waiting for authentication timeout to pass
     29/05/2017 15:29 Middleware::Communication Download: http://fog.ehu.eus/fog/management/other/ssl/srvpublic.crt
     29/05/2017 15:29 Middleware::Authentication ERROR: Could not authenticate
     29/05/2017 15:29 Middleware::Authentication ERROR: Value cannot be null.
    Parameter name: authority
    

    I read the Certificate is not from FOG CA post but nothing. Anyone more has the same problem?



  • @Tom-Elliott oh sorry…my mistake (as always)
    "doing it the right way, wil work"
    my sources.list was wrong.


  • Senior Developer

    @Thiago You followed exactly what was just shown to have solved the exact same problem?



  • I have the same error, but in ubuntu 16.04 client:

    ------------------------------------------------------------------------------
    --------------------------------Authentication--------------------------------
    ------------------------------------------------------------------------------
     02/06/2017 15:47 Client-Info Version: 0.11.12
     02/06/2017 15:47 Client-Info OS:      Linux
     02/06/2017 15:47 Middleware::Authentication Waiting for authentication timeout to pass
     02/06/2017 15:47 Middleware::Communication Download: http://192.168.1.12/fog/management/other/ssl/srvpublic.crt
     02/06/2017 15:47 Middleware::Authentication ERROR: Could not authenticate
     02/06/2017 15:47 Middleware::Authentication ERROR: Value cannot be null.
    Parameter name: authority
    

    I tried reinstall all mono packages, reinstall the client, reset encryption data, delete/create host, registering host with ipxe boot and nothing change the error.


  • Developer

    Hi Tom,

    Finally works fine under ubuntu 14.04

    sudo rm /etc/apt/sources.list.d/mono-xamarin.list
    sudo apt-get autoremove
    sudo apt-get update
    sudo apt-get install mono-complete
    Install the client
    

    With these instructions the client woks fine. Thanks!!


  • Developer

    I wiil try it but I always use a Ubuntu/Centos fresh install


  • Senior Developer


  • Developer

    Yes I have reseted the encryption. I will do more test about this.


  • Moderator

    You have tried resetting the encryption, right? I have to ask the dumb questions.


  • Developer

    The date in the server and in the client is the same :)


  • Testers


Log in to reply
 

441
Online

39003
Users

10717
Topics

101763
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.