mirror of
https://github.com/maelstrom-cms/odin.git
synced 2026-04-25 08:16:03 +03:00
[GH-ISSUE #91] dns_get_record(): A temporary server error occurred. #37
Labels
No labels
bug
enhancement
help wanted
pull-request
question
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/odin-maelstrom-cms#37
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Umplo on GitHub (Mar 3, 2024).
Original GitHub issue: https://github.com/maelstrom-cms/odin/issues/91
Hi there,
I've installed Odin on an Ubuntu 20.04 system, and configured Apache2 with a self-signed SSL certificate. Laravel is configured with composer and npm, and PHP 7.4 is connected to the latest releases of MySQL and Redis databases, both of which deployed via docker on the same host separately, and connected as per the odin .env. Everything is working so far except for DNS monitoring, which is a total shame. Currently, I'm running into the following error in my laravel logs:
[2024-03-02 16:45:39] local.ERROR: dns_get_record(): A temporary server error occurred.
And consequently, monitoring "DNS Records" is not working at all.
What is working?
@OwenMelbz commented on GitHub (Mar 3, 2024):
Hi,
Sorry I don't think I'm going to be much good here, a guess would be that whatever PHP calls under the hood for fetching dns records is failing because of a system/networking issue.
You can see here https://www.google.com/search?q=dns_get_record%28%29%3A+a+temporary+server+error+occurred.&sca_esv=781689f199775288&rlz=1CDGOYI_enGB590GB590&hl=en-GB&sxsrf=ACQVn0-90VtTqfwmnlZVJEevXm1l4hVOUQ%3A1709457120302&ei=4D7kZe2HEoPJhbIPoZ28iAs&oq=dns_get_record+php&gs_lp=EhNtb2JpbGUtZ3dzLXdpei1zZXJwIhJkbnNfZ2V0X3JlY29yZCBwaHAqAggAMgoQABhHGNYEGLADMgoQABhHGNYEGLADMgoQABhHGNYEGLADMgoQABhHGNYEGLADMgoQABhHGNYEGLADMgoQABhHGNYEGLADMgoQABhHGNYEGLADMgoQABhHGNYEGLADSPkKUABYAHABeAGQAQCYAQCgAQCqAQC4AQHIAQCYAgGgAguYAwCIBgGQBgiSBwEx&sclient=mobile-gws-wiz-serp that Google is filled with people with this issue so there might be a solution how to fix it
@Umplo commented on GitHub (Mar 3, 2024):
Hi @OwenMelbz,
I'm not convinced it's simply a DNS or network misconfiguration.
As things stand, DNS resolution works fine on the ubuntu host, and Odin is perfectly capable of monitoring sites online, such as https://www.microsoft.com, and https://www.cnn.com, as seen below.
I'm aware there's a PHP bug that leads to the aforementioned error, and I'm wondering if it could be related;
https://bugs.php.net/bug.php?id=73149
@OwenMelbz commented on GitHub (Mar 3, 2024):
Are you able to run it on a newer version of php?
@Umplo commented on GitHub (Mar 3, 2024):
@OwenMelbz Which version do you recommend for Odin?
@OwenMelbz commented on GitHub (Mar 4, 2024):
Theoretically it shouldn't matter, but if you're experiencing a bug in the version you're running then anything newer to try and see if that's the case, so could just try something like 8.2 and see what happens