Error when deploying from Posit Workbench to Posit Connect using AWS NLB

AWS
Connect
Workbench
networking
publishing
Published

January 6, 2026

Abstract

When using an AWS Network Load Balancer, publishing from Workbench to Connect can fail.

Description

When deploying from Posit Workbench to Posit Connect, you may see this error:

Error: Exception trying to connect to https://<URL> - Remote end closed connection without response

This can occur if you are using an AWS Network Load Balancer (NLB) in front of your NGINX Ingress Controller.

The error is caused by the Preserve client IP addresses setting on the AWS NLB. When enabled, the NLB adds a PROXY protocol header that NGINX and Posit Connect are not configured to handle. This results in dropped connections.

Solution

To resolve this issue:

  • Turn off Preserve client IP addresses in your AWS NLB target group.
  • Save the changes and redeploy from Workbench to Connect.

Deployments should now succeed without error.

If you’re still having issues, you can reach out to Support by opening a ticket.