Forum Discussion

Joel_Newton's avatar
Sep 28, 2015

Periodic (401) Unauthorized responses from the LTM REST API

I have a PowerShell function which calls Invoke-WebRequest to retrieve the members of a pool. Most of the time, it works correctly, but periodically (3 times out of several dozen today), the request returns a (401) Unauthorized error.

 

The endpoint I'm querying is:

 

I've only seen it with this one API endpoint.

 

Any ideas?

 

Thanks, Joel

 

8 Replies

  • What platform and software version are you running? Is it a vCMP guest you are querying? I know of an issue similar to this.

     

    • Joel_Newton's avatar
      Joel_Newton
      Icon for Cirrus rankCirrus
      Hi, Brad. Thanks for responding. We're running BIG-IP 11.6.0 Build 4.0.420 Hotfix HF4. I'm not familiar with vCMPs, but I'm pretty positive we haven't set one up. We're just using standard virtual servers and pools. Thanks, Joel
    • Brad_Parker_139's avatar
      Brad_Parker_139
      Icon for Nacreous rankNacreous
      Well then it wouldn't be the issue I was think about with vCMP hosts/guests.
  • What platform and software version are you running? Is it a vCMP guest you are querying? I know of an issue similar to this.

     

    • Joel_Newton's avatar
      Joel_Newton
      Icon for Cirrus rankCirrus
      Hi, Brad. Thanks for responding. We're running BIG-IP 11.6.0 Build 4.0.420 Hotfix HF4. I'm not familiar with vCMPs, but I'm pretty positive we haven't set one up. We're just using standard virtual servers and pools. Thanks, Joel
    • Brad_Parker's avatar
      Brad_Parker
      Icon for Cirrus rankCirrus
      Well then it wouldn't be the issue I was think about with vCMP hosts/guests.
  • Is it a local auth or remote auth user? If remote (which I'm not even sure is supported yet), have you checked that connectivity to remote auth server working?