-
Notifications
You must be signed in to change notification settings - Fork 45
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
Policy debugging always fail with 401 error #364
Comments
I am running in this same issue. Any updates? |
Can't connect to gateway: Unexpected server response: 404.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Any insight?
Error logs:
From client: initialize({"clientID":"vscode","clientName":"Visual Studio Code","adapterID":"apim-policy","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true,"locale":"en","supportsProgressReporting":true,"supportsInvalidatedEvent":true,"supportsMemoryReferences":true,"supportsArgsCanBeInterpretedByShell":true,"supportsMemoryEvent":true,"supportsStartDebuggingRequest":true})
To client: {"seq":0,"type":"response","request_seq":1,"command":"initialize","success":true,"body":{"supportsConfigurationDoneRequest":true,"supportsRestartRequest":false,"supportsRestartFrame":false}}
From client: launch({"type":"apim-policy","request":"launch","name":"Attach to APIM","stopOnEntry":true,"gatewayAddress":"wss://aipm-epso-authtest01.azure-api.net/debug-0123456789abcdef","managementAddress":"https://management.azure.com//subscriptions/e0ba1ef1-afb6-4f98-9d74-a71e310bae84/resourceGroups/epso-apimauth-test-rg/providers/microsoft.apimanagement/service/aipm-epso-authtest01","subscriptionId":"e0ba1ef1-afb6-4f98-9d74-a71e310bae84","operationData":"GET https://aipm-epso-authtest01.azure-api.net/demo/topics HTTP/1.1\nOcp-Apim-Subscription-Key: xxxxxx\nOcp-Apim-Debug: xxxxxx\nOcp-Apim-Trace: true\n","fileName":"aipm-epso-authtest01-demo-conference-api-GetTopics.http","__sessionId":"206d4c9a-0b26-4464-a081-a09851634617"})
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stderr","output":"Can't connect to gateway: Unexpected server response: 401."}}
Can't connect to gateway: Unexpected server response: 401.
To client: {"seq":0,"type":"event","event":"terminated"}
From client: disconnect({"restart":false})
To client: {"seq":0,"type":"response","request_seq":3,"command":"disconnect","success":true}
The text was updated successfully, but these errors were encountered: