Bobcares

DigitalOcean Load Balancer Down: Explained

by | Aug 4, 2022

Digitalocean load balancer down happens when the load balancer may be down or not sending traffic to the target Droplet when attempting to access it via the load balancer. Bobcares answers all questions on Digital ocean Load balancer down, no matter the size, as part of our Digital ocean managed Services.  

Load Balancer Down

digitalocean load balancer down

While attempting to reach the droplet via the load balancer, the load balancer may be down or not directing traffic to the target Droplet.

Follow the steps below in this steps given below to manage the troubleshooting.

  1. Check the load balancer’s connection between the load balancer and the Droplet first.
  2. Ensure that the load balancer can have access via the public internet.
  3. If attempting to reach the Droplet via a hostname pointing at the load balancer, check the DNS configuration of the hostname.

Check Load Balancer Status

To view the status of the load balancer in the DigitalOcean Control Panel, go to Networking and then the Load Balancers tab. The page displays a list of the load balancers configured in the account. Select the load balancer for the target Droplet.

The Droplet tab of the load balancer in the Digitalocean will display the Droplets in connection to the load balancer. And the status column indicates the health of the connection between the Droplets and the load balancer. If the target Droplet is in the list of the Droplets that connect to the load balancer. Then add it to the load balancer and then try to connect to it again.

If the Droplet is in connection to the load balancer but its status is ‘down,’. The internal network configuration of the Droplet is incorrect or the Droplet is offline. Before proceeding, ensure that the Droplets are healthy and active.

Ping the Load Balancer and the Droplet

Using ping, determine whether the connection is failing at the Digitalocean load balancer or Droplet level. A ping is a diagnostic tool available in most operating systems. Ping tests the connection between network devices.

Add an inbound traffic rule that allows ICMP traffic to reach the Droplet under the protection of a cloud firewall. To verify connections, the ping diagnostic tool employs the ICMP protocol. If the cloud firewall does not have an inbound rule for ICMP, it will reject any ping attempts to the Droplet.

To ensure that the load balancer is accessible from the computer, open a terminal on the local machine and run the following command:

ping

Case 1:

If the load balancer is reachable via the public internet, ping returns the amount of data sent to it. And also the time it took for the data to reach the load balancer

PING 203.0.113.154 (203.0.113.154): 56 data bytes 64 bytes from 203.0.113.154: icmp_seq=0 ttl=46 time=239.488 ms 64 bytes from 203.0.113.154: icmp_seq=1 ttl=46 time=352.659 ms

Case 2:

Ping returns a timeout error if the load balancer is not available via the public internet:

PING 203.0.113.154 (203.0.113.154): 56 data bytes Request timeout for icmp_seq 0

Case 3:

Use the Droplet’s IP address to run the same command. If the Droplet answers but the Digitalocean load balancer does not, the load balancer is most likely to blame for the connection issue. If the load balancer is the issue, then there are two choices:

Destroy the load balancer and then rebuild it. The IP address of the load balancer is not retained with this option. And, create a support ticket and request that the load balancer is reset. This option keeps the IP address of the load balancer.

Check Load Balancer’s DNS

When attempting to reach the Digitalocean load balancer through a hostname, such as www.ex1234ample.com. An A record must be set up with the DNS provider to refer the hostname to the load balancer’s IP address.

After this, to confirm that the hostname has an A record pointing to the load balancer’s IP address, open a terminal and use the dig software to obtain the domain’s A records:

dig enter-the-hostname A

Case 1:

The command produces the following output:

;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53050
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 3, ADDITIONAL: 5

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: 1aad2b567441ddd264d7b5c062058926dea6b1dfd388758f (good)
;; QUESTION SECTION:
;bigassdraculasclub.com. IN A

;; ANSWER SECTION:
example.com. 30 IN A 104.16.243.78
example.com. 30 IN A 104.16.244.78

;; AUTHORITY SECTION:
example.com. 172800 IN NS ns3.digitalocean.com. example.com. 172800 IN NS ns2.digitalocean.com. example.com. 172800 IN NS ns1.digitalocean.com.

Case 2:

If the output’s ANSWER SECTION lacks an A record pointing to the Digitalocean load balancer’s IP address, add an A record to the hostname’s DNS settings.

Finally, add an A record via the management panel if your DNS provider is DigitalOcean. If DigitalOcean is not the DNS provider, see the documentation of the DNS provider to learn how to establish A records for the hostname. In the case of a recent A record update for the hostname, the update may take up to 24 hours to spread across the internet.

[Need assistance with similar queries? We are here to help]

Conclusion

To conclude, the DigitalOcean load balancer is down when the load balancer may be offline or not sending traffic there.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF