Office365 driver / fatal errors from ps.outlook.com?

A couple of times now, I've received back a "fatal" error from the O365
driver shim:


Error Connecting to Office365. [ps.outlook.com] Connecting to remote
server failed with the following error message : The WinRM client cannot
complete the operation within the time specified. Check if the machine
name is valid and is reachable over the network and firewall exception
for Windows Remote Management service is enabled. For more information,
see the about_Remote_Troubleshooting Help topic.


Anybody else running the O365 driver getting this? If so, what're you
doing about it? Since it's a "fatal" error it shuts the driver down,
requiring manual intervention to restart it. On restart, it connects up
fine and goes back to working normally.

I'm considering putting a policy in to turn the fatal error in to a
retry, so the shim will just pound on it until it gets through.


--
--------------------------------------------------------------------------
David Gersic dgersic_@_niu.edu
Knowledge Partner http://forums.netiq.com

Please post questions in the forums. No support provided via email.
If you find this post helpful, please click on the star below.
  • I normally use this to troubleshoot these things;


    > $msolcred = get-credential
    > connect-msolservice -credential $msolcred


    If that can connect then the driver can. Otherwise have a look at
    timeout values - meaning when you start the driver it will tell the
    remote loader to connect to Azur(Office 365), that will take sometime,
    it could be that the reason for the shutdown is that it takes too long.

    I am not sure that 'handshaketimeout' will work with the .net
    RemoteLoader but it could be worth trying.


    Casper




    On 9/15/14, 5:00 PM, David Gersic wrote:
    > A couple of times now, I've received back a "fatal" error from the O365
    > driver shim:
    >
    >

    > Error Connecting to Office365. [ps.outlook.com] Connecting to remote
    > server failed with the following error message : The WinRM client cannot
    > complete the operation within the time specified. Check if the machine
    > name is valid and is reachable over the network and firewall exception
    > for Windows Remote Management service is enabled. For more information,
    > see the about_Remote_Troubleshooting Help topic.
    >

    >
    > Anybody else running the O365 driver getting this? If so, what're you
    > doing about it? Since it's a "fatal" error it shuts the driver down,
    > requiring manual intervention to restart it. On restart, it connects up
    > fine and goes back to working normally.
    >
    > I'm considering putting a policy in to turn the fatal error in to a
    > retry, so the shim will just pound on it until it gets through.
    >
    >


  • On Tue, 16 Sep 2014 08:05:57 0000, Casper Pedersen wrote:

    > I normally use this to troubleshoot these things;
    >
    >
    > > $msolcred = get-credential
    > > connect-msolservice -credential $msolcred

    >
    > If that can connect then the driver can. Otherwise have a look at
    > timeout values - meaning when you start the driver it will tell the
    > remote loader to connect to Azur(Office 365), that will take sometime,
    > it could be that the reason for the shutdown is that it takes too long.


    The driver is connected, and has been running for hours or days ahead of
    time. Then it dies. By the time Nagios notices that the driver has
    stopped, and waits to see if it's worth notifying us about, whatever the
    problem is clears up and the driver restart connects up just fine again.
    So it's not an initial connection timeout kind or problem. I suspect it's
    an outage on the O365 side, but can't prove it (yet). I've got a support
    ticket open to see if I can shake any information loose from MS.


    --
    --------------------------------------------------------------------------
    David Gersic dgersic_@_niu.edu
    Knowledge Partner http://forums.netiq.com

    Please post questions in the forums. No support provided via email.
    If you find this post helpful, please click on the star below.