Your admin backend is unreachable... Can't login to admin in production

Expected behavior

Login to admin in production.

Actual behavior

Getting error message: Your admin backend is unreachable. Please check that it is running and respond to http://forest.***.com

Failure Logs

Please include any relevant log snippets, if necessary.

[Sun Jun 28 05:22:47.064793 2020] [access_compat:error] [pid 19346] [client 51.158.153.222:14922] AH01797: client denied by server configuration: /var/www/[site name]/wp-content/uploads/wpseo-redirects/
[Sun Jun 28 20:23:27.653816 2020] [access_compat:error] [pid 23160] [client 51.158.153.221:44380] AH01797: client denied by server configuration: /var/www/[site name]/wp-content/uploads/wpseo-redirects/
[Wed Jul 01 08:50:56.177968 2020] [proxy:error] [pid 6676] (111)Connection refused: AH00957: HTTP: attempt to connect to 0.0.0.0:3310 (0.0.0.0) failed
[Wed Jul 01 08:50:56.178002 2020] [proxy_http:error] [pid 6676] [client 86.13.252.72:65198] AH01114: HTTP: failed to make connection to backend: 0.0.0.0, referer: https://app.forestadmin.com/life/Development/Operations/data/2659249/index
[Wed Jul 01 08:50:56.325253 2020] [proxy:error] [pid 6747] (111)Connection refused: AH00957: HTTP: attempt to connect to 0.0.0.0:3310 (0.0.0.0) failed
[Wed Jul 01 08:50:56.325282 2020] [proxy_http:error] [pid 6747] [client 86.13.252.72:65199] AH01114: HTTP: failed to make connection to backend: 0.0.0.0, referer: https://app.forestadmin.com/life/Development/Operations/data/2659249/index
[Wed Jul 01 08:51:03.399281 2020] [proxy:error] [pid 6807] (111)Connection refused: AH00957: HTTP: attempt to connect to 0.0.0.0:3310 (0.0.0.0) failed
[Wed Jul 01 08:51:03.399314 2020] [proxy_http:error] [pid 6807] [client 86.13.252.72:65201] AH01114: HTTP: failed to make connection to backend: 0.0.0.0, referer: https://app.forestadmin.com/life/Development/Operations/data/2659249/index

Plus similar…

Thanks!

Hi @Caroline,

Welcome to the ForestAdmin community and thanks you for sharing your issue.
In order to assist you in a better way, could you give me the context of this issue:

  • Does it happen on all your environments or only on a specific one?
  • Was it working before and then stopped working?

Thank you

Hi @anon37102731

Thank you!

It only happens on the production environment (as far as I’m aware, but as I can’t get into the admin I can’t check if it affects both local + production)
I believe it was working when it was first set live to production (~2 months ago), but has sinced stopped.

Thanks

Caroline

Thank you for those informations.

Looking at the logs you shared, it looks like a proxy issue.

Could you try to restart your backend server?

Also, have you been using the production environment correctly the last 2 months or was it unused in that period?

Hi Valentin - restarting the server has not changed anything.

So it worked in production immediately on set up, but has not been used since.

What else can we try?

Thanks

Hi @Caroline,

As I can see on the logs you shared, there seems to be a proxy issue that prevent ForestAdmin from accessing your server. This is most certainly a proxy config issue.

On my end I looked for your project and it seems that it has two environments defined:

  • A production one that is not configured at all (you probably dropped it’s configuration at start)
  • A development one that you seem to use as a production one. It has your [site name]:3388

If that’s the development on you are trying to reach, there might be a port misconfiguration that block the exchanges between your server and ForestAdmin.

As a last advice, you should consider having a working development environment on your local computer (localhost) and then, create a production environment hosted on a distant server.

Best regards