How to solve delayed connect error: 111

Hi,

I have deployed my Laravel project on google cloud. I've created VM, load balancer and also implemented CDN. 
First, I've created load balancer without https and at that time everything was working fine on load balancer's IP.

Then I added this on https and created https certificate and also updated name servers from the DNS records on the domain name.

Now website looks fine. But when I submit any form means try to do POST method then it shows error:

upstream connect error or disconnect/reset before headers. reset reason: remote connection failure, transport failure reason: delayed connect error: 111

Get method works fine.

How can I solve this. Thanks in advance!

3 1 314
1 REPLY 1

Hi @vinodjaiswal87 ,

Welcome to the Google Cloud Community!

The 503 error message you're receiving suggests an issue with the connection between the client and the server.

Here are some steps you can take to troubleshoot this issue:

  • Review load balancer settings. Ensure SSL certificate is correctly configured. 
  • Double check your HTTPS settings such as Port configurations, backend service settings to ensure proper HTTPs configuration.
  • Check Backend Service Health: Ensure that your backend services are healthy and they can handle HTTPS traffic. Make sure the server port 443 of your VM is enabled. You may opt to inspect any error logs for possible isolation of the issue.
  • Check Firewall rules. Make sure your firewall rules allow HTTPs traffic on the port 443 as this may cause connection issues

 

Make sure to check the Load balancer logs for error messages or warnings that could provide further isolation of the issue.

For further assistance, consider filing a ticket with our Google Support team. They are well-equipped to handle issues like these.

Let me know if this helps.