question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RemoteDisconnected Error When Updating Postgres Server

See original GitHub issue

This is autogenerated. Please review and update as needed.

Describe the bug

RemoteDisconnected is thrown when running az command to ensure managed identity is assigned to a Postgres server.

Command Name az postgres server update --name <server_name> --resource-group <rg_name> --assign-identity

Errors:

('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here…
  • deploy a PostgreSQL signle server (with replica)
  • az postgres server update --name <master_server_name> --resource-group <rg_name> --assign-identity
  • az postgres server update --name <replica_server_name> --resource-group <rg_name> --assign-identity

Expected Behavior

The command should complete without error.

Environment Summary

macOS-11.6-x86_64-i386-64bit, Darwin 20.6.0
Python 3.10.2
Installer: HOMEBREW

azure-cli 2.35.0

Extensions:
azure-cli-ml 1.37.0
azure-devops 0.23.0
resource-graph 2.1.0
ml 2.1.2
interactive 0.4.5

Dependencies:
msal 1.17.0
azure-mgmt-resource 20.0.0

Additional Context

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
zhusulaicommented, Apr 20, 2022

Please keep the ticket open for a few days as I try to reproduce the issue from another environment.

0reactions
zhusulaicommented, May 10, 2022

I’m not able to reproduce this issue in another environment. The initial error is likely related to the Corp firewall. Thanks for looking into the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python HTTP Server/Client: Remote end closed connection ...
I made simple HTTP Server using BaseHTTPRequestHandler . The problem is, that when I want to post some data using requests from client, ......
Read more >
Getting "RemoteDisconnected" Error using urlopen
I was able to reproduce this behaviour. It can be fixed by using a request object and changing the request headers to one...
Read more >
Documentation: 15: Appendix A. PostgreSQL Error Codes
All messages emitted by the PostgreSQL server are assigned five-character error codes that follow the SQL standard's conventions for “SQLSTATE” codes.
Read more >
http.client.remotedisconnected - You.com | The AI Search ...
RemoteDisconnected: Remote end closed connection without response error using driver.quit() ... The Mlflow server uses a Postgres backend and is started via.
Read more >
Remote end closed connection without response on ... - GitHub
I'm issuing successive GET requests to a Django server and I get Remote end ... in _read_status raise RemoteDisconnected("Remote end closed ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found