ERROR: Unable to get subsection - Middleware::Response ERROR: Object reference not set to an instance of an object



  • Server
    • FOG Version: rc-29
    • OS: ubuntu 16.04.1
    Client
    • Service Version: 11.6
    • OS: ubuntu/mint
    Description

    I am experiencing some authentication issue with the fog service on my linux machines.

    ------------------------------------------------------------------------------
    ----------------------------------UserTracker---------------------------------
    ------------------------------------------------------------------------------
     12/7/2016 3:21 AM Client-Info Client Version: 0.11.6
     12/7/2016 3:21 AM Client-Info Client OS:      Linux
     12/7/2016 3:21 AM Client-Info Server Version: 
     12/7/2016 3:21 AM Middleware::Response ERROR: Unable to get subsection
     12/7/2016 3:21 AM Middleware::Response ERROR: Object reference not set to an instance of an object
     12/7/2016 3:21 AM Service Sleeping for 60 seconds
     12/7/2016 3:22 AM Middleware::Communication URL: http://192.168.1.109/fog/management/index.php?sub=requestClientInfo&configure&newService&json
     12/7/2016 3:22 AM Middleware::Communication ERROR: Could not contact FOG server
     12/7/2016 3:22 AM Middleware::Communication ERROR: Could not load type 'System.Net.HttpWebRequest' from assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
     12/7/2016 3:22 AM Middleware::Response Success
     12/7/2016 3:22 AM Service ERROR: Invalid promptTime, using default
     12/7/2016 3:22 AM Middleware::Communication URL: http://192.168.1.109/fog/management/index.php?sub=requestClientInfo&mac=20:CF:30:59:E4:F6&newService&json
     12/7/2016 3:22 AM Middleware::Communication ERROR: Could not contact FOG server
     12/7/2016 3:22 AM Middleware::Communication ERROR: Could not load type 'System.Net.HttpWebRequest' from assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
     12/7/2016 3:22 AM Middleware::Response Success
     12/7/2016 3:22 AM Middleware::Communication URL: http://192.168.1.109/fog/service/getversion.php?clientver&newService&json
     12/7/2016 3:22 AM Service ERROR: Unable to get cycle data
     12/7/2016 3:22 AM Service ERROR: Could not load type 'System.Net.HttpWebRequest' from assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
     12/7/2016 3:22 AM Middleware::Response Success
    
    ------------------------------------------------------------------------------
    ---------------------------------ClientUpdater--------------------------------
    ------------------------------------------------------------------------------
     12/7/2016 3:22 AM Client-Info Client Version: 0.11.6
     12/7/2016 3:22 AM Client-Info Client OS:      Linux
     12/7/2016 3:22 AM Client-Info Server Version: 
     12/7/2016 3:22 AM Middleware::Response ERROR: Unable to get subsection
     12/7/2016 3:22 AM Middleware::Response ERROR: Object reference not set to an instance of an object
    
    ------------------------------------------------------------------------------
    ----------------------------------TaskReboot----------------------------------
    ------------------------------------------------------------------------------
     12/7/2016 3:22 AM Client-Info Client Version: 0.11.6
     12/7/2016 3:22 AM Client-Info Client OS:      Linux
     12/7/2016 3:22 AM Client-Info Server Version: 
     12/7/2016 3:22 AM Middleware::Response ERROR: Unable to get subsection
     12/7/2016 3:22 AM Middleware::Response ERROR: Object reference not set to an instance of an object
    
    ------------------------------------------------------------------------------
    --------------------------------HostnameChanger-------------------------------
    ------------------------------------------------------------------------------
     12/7/2016 3:22 AM Client-Info Client Version: 0.11.6
     12/7/2016 3:22 AM Client-Info Client OS:      Linux
     12/7/2016 3:22 AM Client-Info Server Version: 
     12/7/2016 3:22 AM Middleware::Response ERROR: Unable to get subsection
     12/7/2016 3:22 AM Middleware::Response ERROR: Object reference not set to an instance of an object
    
    ------------------------------------------------------------------------------
    ---------------------------------SnapinClient---------------------------------
    ------------------------------------------------------------------------------
     12/7/2016 3:22 AM Client-Info Client Version: 0.11.6
     12/7/2016 3:22 AM Client-Info Client OS:      Linux
     12/7/2016 3:22 AM Client-Info Server Version: 
     12/7/2016 3:22 AM Middleware::Response ERROR: Unable to get subsection
     12/7/2016 3:22 AM Middleware::Response ERROR: Object reference not set to an instance of an object
    
    ------------------------------------------------------------------------------
    --------------------------------PrinterManager--------------------------------
    ------------------------------------------------------------------------------
     12/7/2016 3:22 AM Client-Info Client Version: 0.11.6
     12/7/2016 3:22 AM Client-Info Client OS:      Linux
     12/7/2016 3:22 AM Client-Info Server Version: 
     12/7/2016 3:22 AM Middleware::Response ERROR: Unable to get subsection
     12/7/2016 3:22 AM Middleware::Response ERROR: Object reference not set to an instance of an object
    
    ------------------------------------------------------------------------------
    --------------------------------PowerManagement-------------------------------
    ------------------------------------------------------------------------------
     12/7/2016 3:22 AM Client-Info Client Version: 0.11.6
     12/7/2016 3:22 AM Client-Info Client OS:      Linux
     12/7/2016 3:22 AM Client-Info Server Version: 
     12/7/2016 3:22 AM Middleware::Response ERROR: Unable to get subsection
     12/7/2016 3:22 AM Middleware::Response ERROR: Object reference not set to an instance of an object
    
    ------------------------------------------------------------------------------
    ----------------------------------UserTracker---------------------------------
    ------------------------------------------------------------------------------
     12/7/2016 3:22 AM Client-Info Client Version: 0.11.6
     12/7/2016 3:22 AM Client-Info Client OS:      Linux
     12/7/2016 3:22 AM Client-Info Server Version: 
     12/7/2016 3:22 AM Middleware::Response ERROR: Unable to get subsection
     12/7/2016 3:22 AM Middleware::Response ERROR: Object reference not set to an instance of an object
     12/7/2016 3:22 AM Service Sleeping for 60 seconds```


  • @Tom-Elliott Working again as of rc 31. Thank you!!!


  • Senior Developer

    RC 31 released, along with v0.11.7 of the client. Please update and let us know if things are working properly.

    Thank you,



  • @Joe-Schmitt OK! Thank You!!!


  • Senior Developer

    @dureal99d until 0.11.7 is released (which should be within a day), you can simply delete the Mono.Security.dll file present in the fog-service directory. Then restart the service.


  • Moderator

    @dureal99d Don’t worry about what I said, Joe just (re)confirmed it is a bug.

    @Joe-Schmitt what version of Mono could they install in the mean time to work around the issue?



  • The fog server doe not give me an option in the gui to reset encryption any linux based host only windows based.


  • Senior Developer

    I’ve verified that the issue started with 0.11.5 on mono systems. It’s an issue with a library that I use requesting a specific version of mono to be present. I’ll start working on a patch.


  • Moderator

    Go to that host in host management and click “Reset Encryption”. You can also do this for groups.


Log in to reply
 

319
Online

38725
Users

10554
Topics

99911
Posts

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