Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Multiple false "Your server is unreachable" mails through the day #4407

Closed
alxhu-dev opened this issue Nov 26, 2024 · 14 comments · Fixed by #4649
Closed

[Bug]: Multiple false "Your server is unreachable" mails through the day #4407

alxhu-dev opened this issue Nov 26, 2024 · 14 comments · Fixed by #4649

Comments

@alxhu-dev
Copy link

Error Message and Logs

I recieve multiple mails through the day with "Coolify cannot connect to your server (example.com). Please check your server and make sure it is running. All automations & integrations are turned off!".

Most time, exactly (!) one minute later I recieve a mail with "Your server (example.com) was offline for a while, but it is back online now. All automations & integrations are turned on again." (but sometimes it takes hours up to days until I recieve the reachable mail).

It always happens around on full hour (for example 3:01, 4:00, 5:02). It happens to servers in the local network as well as remote servers. Yesterday it even reported itself (localhost) as unreachable.

I have an external monitoring and I don't see any down time there, and I'm able to connect to any services on those systems.

Additionally: I removed any ticks (except Server Disk Usage) from the Notifications tab and I still recieve those "unreachable" messages.

Steps to Reproduce

Honestly I have no clue on how to reproduce this since all servers are reachable all the time.

  1. Have servers running
  2. ???

Example Repository URL

No response

Coolify Version

v4.0.0-beta.370

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

Debian 12

Additional Information

It started about two weeks ago.

@alxhu-dev alxhu-dev added 🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization. labels Nov 26, 2024
@4xx22
Copy link

4xx22 commented Dec 1, 2024

I'm experiencing the same issue on 4.0.0-beta.373 and Debian 12. My setup is one server hosting Coolify and two additional servers connected to it, with all three servers hosted with different providers.

The "Your server is unreachable" notification only appears for the most recently added server, which was configured this week. The other two servers work without any issues.

I have external monitoring in place that confirms all servers are operational and can communicate with each other consistently. Usually, when I get the unreachable notification, I receive another notification a minute later indicating that the server is available again.

How does Coolify determine that the server is not reachable?

@M1ck0
Copy link

M1ck0 commented Dec 2, 2024

Same here. I added Discord notifications and get a little heart attack every time I see it

@alxhu-dev
Copy link
Author

The issue has been resolved for me with the latest updates (v4.0.0-beta.376).

@M1ck0 @4xx22 Do you still experience this error or can I close the issue?

Copy link

algora-pbc bot commented Dec 9, 2024

💎 $10 bounty • 4xx22

Steps to solve:

  1. Start working: Comment /attempt #4407 with your implementation plan
  2. Submit work: Create a pull request including /claim #4407 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to coollabsio/coolify!

Add a bountyShare on socials

Attempt Started (GMT+0) Solution
🟢 @peaklabs-dev Dec 10, 2024, 2:15:08 PM #4586

@algora-pbc algora-pbc bot added the 💎 Bounty Issues with a monetary reward for completion. label Dec 9, 2024
@peaklabs-dev peaklabs-dev removed the 🔍 Triage Issues that need assessment and prioritization. label Dec 9, 2024
@4xx22
Copy link

4xx22 commented Dec 9, 2024

The issue has been resolved for me with the latest updates (v4.0.0-beta.376).

@M1ck0 @4xx22 Do you still experience this error or can I close the issue?

I'm still having the issue, just had one occurrence now

@peaklabs-dev
Copy link
Member

peaklabs-dev commented Dec 10, 2024

/attempt #4407 I will add a few fixes. What external monitoring solution do you use and how many times per minute does it check the server?

@peaklabs-dev peaklabs-dev self-assigned this Dec 10, 2024
@peaklabs-dev peaklabs-dev added the 💤 Waiting for feedback Issues awaiting a response from the author. label Dec 10, 2024
@4xx22
Copy link

4xx22 commented Dec 10, 2024

/attempt #4407 I will add a few fixes. What external monitoring solution do you use and how many times per minute does it check the server?

Options

I currently have Zabbix and Hetrixtools
Zabbix is checking the server every 10 seconds, HetrixTools every minutes

@github-actions github-actions bot removed 🐛 Bug Reported issues that need to be reproduced by the team. 💤 Waiting for feedback Issues awaiting a response from the author. 💎 Bounty Issues with a monetary reward for completion. labels Dec 11, 2024
@peaklabs-dev peaklabs-dev self-assigned this Dec 15, 2024
@peaklabs-dev peaklabs-dev added the 🐞 Confirmed Bug Verified issues that have been reproduced by the team. label Dec 15, 2024
@peaklabs-dev peaklabs-dev added this to the v4.0.0 Stable Release milestone Dec 15, 2024
@M1ck0
Copy link

M1ck0 commented Dec 16, 2024

Issue still happens

@peaklabs-dev
Copy link
Member

Yes the fix is not released yet.

@github-actions github-actions bot removed the 🐞 Confirmed Bug Verified issues that have been reproduced by the team. label Dec 17, 2024
This was referenced Dec 23, 2024
@peaklabs-dev
Copy link
Member

@4xx22 The fix for this issue has now been released, please let me know if it fixed your issues and if it is fixed, please award me the bounty.

@4xx22
Copy link

4xx22 commented Dec 27, 2024

@peaklabs-dev The update have been deployed on our server, we'll test it and report back in a few days.

Copy link

algora-pbc bot commented Dec 29, 2024

@peaklabs-dev: You've been awarded a $10 bounty by 4xx22! 👉 Complete your Algora onboarding to collect the bounty.

Copy link

algora-pbc bot commented Dec 29, 2024

🎉🎈 @peaklabs-dev has been awarded $10! 🎈🎊

@Aldekein
Copy link

I'm on v4.0.0-beta.380 for a week or two, yesterday & today I started getting the error after the update. Again :(

"Coolify: Your server (localhost) is unreachable." today on email only.
"Coolify: Your server 'localhost' is unreachable. All automations & integrations are turned off! Please check your server! IMPORTANT: We automatically try to revive your server and turn on all automations & integrations." yesterday on a webhook notification only.

Needless to say I jumped to computer just to see it's up and running without problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants