Azure Windows VM Serial Console ERROR 504

Yusuf Oezeren 30 Reputation points

Hey Guys,

on one of our tenats we can't connect to the serial console on Windows VM, with Linux no issues at all.

we getting the following error:


The serial console connection to the VM encountered an error: 'ERR_BAD_RESPONSE'

(504) - Request failed with status code 504

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,407 questions
{count} votes

1 answer

Sort by: Most helpful
  1. vipullag-MSFT 25,446 Reputation points

    Hello Yusuf Oezeren

    Welcome to Microsoft Q&A Platform, thanks for posting your query here.

    The error message "ERR_BAD_RESPONSE" indicates that the Serial Console feature is not able to establish a connection with the VM.

    Please try these troubleshooting steps to see if it helps resolve the issue:

    -Check the configuration of the VM and make sure that the Serial Console feature is enabled.

    User's image

    -Try to restart the VM and see if that helps.

    -Try to stop and start the VM, once the VM is started this will be moved to new host.

    Hope this helps.

    0 comments No comments