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

Cannot log into the Dashboard, URL opens a random Album Art #7091

Closed
renatopinto89 opened this issue May 8, 2024 · 6 comments
Closed

Cannot log into the Dashboard, URL opens a random Album Art #7091

renatopinto89 opened this issue May 8, 2024 · 6 comments
Labels
bug A part of the software's functionality doesn't work as expected. needs investigation An issue that needs further investigation by a developer to determine the root cause.

Comments

@renatopinto89
Copy link

Installation Method

Docker Installation

AzuraCast Release Channel

Stable Channel

Current AzuraCast Version

v0.19.7 Stable • Docker • PHP 8.3

What happened?

Hhello everyone,

When I try to log into my Azuracast Instalation, istead of the login splash page, I get one random album art (https://prnt.sc/YGzdni-r-Z8I).
The only way to get the login page, is to access it through the direct IP address of the Server
This already happened a couple of times before, but restarting the AzuraCast services would fix it, but now it goes back to this state after a couple minutes since restart.
Restarting the NGINX Service through the "Administration" page, throws an "An error occurred and your request could not be completed." message

Any tips?

Thank you so much in advance

Relevant log output

NGINX Logs

2024/05/08 11:01:16 [error] 242#242: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 2.80.200.243, server: localhost, request: "GET /api/admin/log/service_nginx?position=7872 HTTP/2.0", upstream: "fastcgi://127.0.0.1:6090", host: "login-na2.lightmanstreams.com", referrer: "https://login-na2.lightmanstreams.com/admin/logs"
2024/05/08 11:01:16 [error] 242#242: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 2.80.200.243, server: localhost, request: "GET /api/admin/log/service_nginx?position=7872 HTTP/2.0", upstream: "fastcgi://127.0.0.1:6090", host: "login-na2.lightmanstreams.com", referrer: "https://login-na2.lightmanstreams.com/admin/logs"
2024/05/08 11:01:19 [error] 242#242: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 2.80.200.243, server: localhost, request: "GET /api/admin/log/service_nginx?position=7872 HTTP/2.0", upstream: "fastcgi://127.0.0.1:6090", host: "login-na2.lightmanstreams.com", referrer: "https://login-na2.lightmanstreams.com/admin/logs"
2024/05/08 11:01:27 [error] 242#242: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 2.80.200.243, server: localhost, request: "GET / HTTP/2.0", upstream: "fastcgi://127.0.0.1:6090", host: "login-na2.lightmanstreams.com"
@renatopinto89 renatopinto89 added the needs investigation An issue that needs further investigation by a developer to determine the root cause. label May 8, 2024
@BusterNeece
Copy link
Member

@renatopinto89 That's a very unusual error to be having. It implies that something upstream of AzuraCast (maybe a reverse proxy or something similar) is aggressively misconfigured.

Is there anything between the AzuraCast installation and the web in this case?

@BusterNeece BusterNeece added the bug A part of the software's functionality doesn't work as expected. label May 10, 2024
@renatopinto89
Copy link
Author

renatopinto89 commented May 10, 2024

UPDATE!
It got even worse, now NGINX completely crashes to the point even UptimeRobot triggers a Server Down alert, nothing responds to the web ports until I restart the AzuraCast Containers.

Is there any way to restart NGINX through the command line in a way that the streams themselves don't restart? I ask because the streams keep functioning through the IP:Port addresses

This could be overloaded Server but CPU never goes over 20% neither does RAM.

Hi @BusterNeece

Thank you so much for your reply.

Nothing else is running in that Server, only the AzuraCast docker container.

DNS is managed through Cloudflare, but as DNS Only, not cached

Kind Regards

@BusterNeece
Copy link
Member

@renatopinto89 Can you try switching to the Rolling Release channel and updating to the latest version? We have a working theory of what might be causing this and want to see if our changes resolve anything.

@renatopinto89
Copy link
Author

renatopinto89 commented May 11, 2024

@BusterNeece Hi Buster, thank you so much for the reply.

I did switch to rolling release and now monitoring status.

Something I might add, last night, the Front-End completely crashed again and saw this in the logs (this was before the switch to Rolling Release)

azuracast | {"level":"error","ts":1715396738069158575,"logger":"server","msg":"no free workers in the pool, wait timeout exceed","reason":"no free workers","internal_event_name":"EventNoFreeWorkers","error":"worker_watcher_get_free_worker: NoFreeWorkers:\n\tcontext deadline exceeded"}
azuracast | {"level":"error","ts":1715396738069212025,"logger":"http","msg":"execute","start":1715396678068023353,"elapsed":60.001187932,"error":"static_pool_exec: NoFreeWorkers:\n\tstatic_pool_exec:\n\tworker_watcher_get_free_worker:\n\tcontext deadline exceeded"}

@BusterNeece
Copy link
Member

@renatopinto89 I'm assuming that this issue is fixed now as of the latest stable (0.20.0) or the latest Rolling Release?

@renatopinto89
Copy link
Author

Hi Buster
Everything seems to be running normally without those crashes since the latest stable (0.20.0).
Thank you so much for the follow up and for your help.

Kind Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A part of the software's functionality doesn't work as expected. needs investigation An issue that needs further investigation by a developer to determine the root cause.
Projects
None yet
Development

No branches or pull requests

2 participants