Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Follow-up calls during long processing operations clear password #19

Closed
DumpySquare opened this issue May 25, 2020 · 1 comment
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@DumpySquare
Copy link
Member

User indicates scenarios where the extension executes another task/query to the selected device while a long running operation is under way (ie. big as3 declaration post). This can cause the ILX extension to respond with an HTTP/401, but it's not an auth error, but a server error that it's busy and couldn't process the auth.

Need to add more logic in the auth token call to look for more specific errors to auth before clearing password.

https://github.com/DumpySquare/vscode-f5-fast/blob/fd490f356e5d092fd101f7b1212fdfbf4f4b7b34/src/utils/f5Api.ts#L548

HTTP-REQUEST: 192.168.200.131 - GET - /mgmt/shared/appsvcs/task/

  • port:443, method:"GET", rejectUnauthorized:false, headers:Object, host:"192.168.200.131", path:"/mgmt/shared/appsvcs/task/"

HTTP-RESPONSE: 401

  • status:401
  • headers:Object
  • body:Object
  • code:401
  • message:"java.net.ProtocolException: status:503, body:{"code":503,"message":"There is an active asynchronous task executing.","errorStack":[],"apiError":32964609}"
  • originalRequestBody:"{"username":"admin","generation":0,"lastUpdateMicros":0}"
  • referer:"192.168.200.20"
  • restOperationId:30599862
  • kind:":resterrorresponse"

HTTP FAILURE: 401 - java.net.ProtocolException: status:503, body:{"code":503,"message":"There is an active asynchronous task executing.","errorStack":[],"apiError":32964609}

@DumpySquare DumpySquare added the bug Something isn't working label May 25, 2020
@DumpySquare DumpySquare added this to the v1.0.0 - GTM milestone Jun 4, 2020
@DumpySquare DumpySquare self-assigned this Jun 4, 2020
@DumpySquare
Copy link
Member Author

This was fixed here:

df02284#diff-6ba41e568d844b52ee686a58552821bfR641

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant