Fatal error (ERR_CONNECTION_TIMED_OUT)

Hi everyone, the ojs site is down (err_connection_timed_out).

I’m using OJS 3.3 I’ve cheked the error log and i get

[18-Mar-2024 16:19:02 UTC] ojs2: 404 Not Found
[18-Mar-2024 18:09:44 UTC] PHP Notice: Undefined index: stageId in /home/revistas/public_html/lib/pkp/controllers/grid/eventLog/SubmissionEventLogGridHandler.inc.php on line 111
[18-Mar-2024 18:09:52 UTC] PHP Notice: Undefined index: stageId in /home/revistas/public_html/lib/pkp/controllers/grid/eventLog/SubmissionEventLogGridHandler.inc.php on line 111
[18-Mar-2024 18:15:54 UTC] PHP Notice: Undefined index: stageId in /home/revistas/public_html/lib/pkp/controllers/grid/eventLog/SubmissionEventLogGridHandler.inc.php on line 111
[18-Mar-2024 18:15:56 UTC] PHP Notice: Undefined index: stageId in /home/revistas/public_html/lib/pkp/controllers/grid/eventLog/SubmissionEventLogGridHandler.inc.php on line 111
[18-Mar-2024 18:16:57 UTC] PHP Notice: Undefined index: stageId in /home/revistas/public_html/lib/pkp/controllers/grid/eventLog/SubmissionEventLogGridHandler.inc.php on line 111
[18-Mar-2024 19:26:57 UTC] ojs2: 404 Not Found
[18-Mar-2024 19:33:36 UTC] Server host "www.rac.sac.org.ar not allowed!
[18-Mar-2024 19:33:36 UTC] ojs2: 400 Bad Request
[18-Mar-2024 19:47:25 UTC] Server host "www.rac.sac.org.ar not allowed!
[18-Mar-2024 19:47:25 UTC] ojs2: 400 Bad Request

Is something related to chrome? I’m a bit lost.
Thanks in advanced
J.-

Hi @Jvil

The error stating “… not allowed” means, you need to add your site URL to the allowed hosts config.inc.php

So, could you try to modify the allowed hosts line in your site’s config as the following?

; Restrict the list of allowed hosts to prevent HOST header injection.
; See docs/README.md for more details. The list should be JSON-formatted.
; An empty string indicates that all hosts should be trusted (not recommended!)
; Example:
; allowed_hosts = ‘[“myjournal.tld”, “anotherjournal.tld”, “mylibrary.tld”]’
allowed_hosts = ‘[“rac.sac.org.ar”, “www.rac.sac.org.ar”]’

Regarding “PHP Notice: Undefined index: stageId in …” notice, there are previous discussions that may help you

https://forum.pkp.sfu.ca/t/activity-log-doesnt-load-ojs-3-3-0-6/68319

Regards,

Thank you, @drugurkocak I’ve incorporated the “www.rac.sac.org.ar” to the allowed hosts, but it didn’t work.

I have no clue why the server is not responding.

Your site URL rac.sac.org.ar already looks like a subdomain of sac.org.ar
So, adding a www to the beginning of your subdomain url may not be enough.
Could you use both urls as a last try. If not working, there may be some other points that need to be corrected.

For example, you need to check base_url in;

base_url = “…”

Regards,

allowed_hosts = ‘[“rac.sac.org.ar”, “www.rac.sac.org.ar”]’

Hi @Jvil
Sorry, but your domain (rac.sac.org.ar) is currently unreachable. You have a server level network problem.
There is no answer top PING from your server.

Regards,

Thank you again @drugurkocak, I will check with the server provider.