microsoft / azserialconsole

Azure Serial Console
17 stars 11 forks source link

Error: Bad Request #77

Closed johanburati closed 4 years ago

johanburati commented 4 years ago

Do you know what could be causing the following error when trying to access the Serial Console ?

Connecting to the console of test01  ▢ ▢ ■
The serial console connection to the VM encountered an error: 'Bad Request'
(400) - Badrequest
asinn826 commented 4 years ago

Hey @johanburati - are you able to provide any more details on this? This isn't supposed to come up in normal operations but we can dig around our telemetry to see if there are any more details available. Your subscription id, resource group name, VM name and region would be helpful (or just the latter 3 if you don't want to share your subscription id)

johanburati commented 4 years ago

Hi @asinn826 just sent you the details by email.

asinn826 commented 4 years ago

@johanburati based on the email details, looks like your issue is resolved now.

In case others come and read this in the future, the issue was a malformed boot diagnostics url (missing an 's' in "https://").

sponte commented 4 years ago

EDIT: running az vm boot-diagnostics enable with relevant parameters fixes the problem for me

Hello, where do you configure boot diagnostics url? I am also getting 400 Bad Request