Troubleshooting 'Connection aborted.' exception when deploying Spring app

Zarki11 45 Reputation points
2024-07-18T17:18:48.9566667+00:00

I am attempting to deploy a Spring project via cmd using the command "az spring app deploy --resource-group <resource-group-name> --service <service-name> --name <app-name> --verbose --artifact-path <path>". However, I am consistently receiving the following exception message: 'Connection aborted.', RemoteDisconnected('Remote end closed connection without response'. Can someone provide insight into what might be causing this? Thank you.

Azure Spring Apps
Azure Spring Apps
An Azure platform as a service for running Spring Boot applications at cloud scale. Previously known as Azure Spring Cloud.
130 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vahid Ghafarpour 22,290 Reputation points
    2024-07-18T17:50:43.8333333+00:00

    Thanks for posting your question in the Microsoft Q&A forum.

    I'd use az spring app deployment instead of deploy.

    https://learn.microsoft.com/en-us/cli/azure/spring/app/deployment?view=azure-cli-latest

    ** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful **

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.