502 error on /admin/dashboard/general.json

Hey folks,

In addition to the problems at How to Modify or disable the actions of the System Bot and Quotes we’re also having issues loading our admin dashboard.

The steps to reproduce are to login as an administrator, navigate to /admin, wait for loading indicator to go away and error to pop up (30 sec).

The URL of the error is /admin/dashboard/general.json

production.log

Started GET "/admin/dashboard/general.json" for 162.158.78.54 at 2018-12-09 12:47:04 +0000
Processing by Admin::DashboardNextController#general as JSON

Can’t find the end of this because there’s too many requests.

unicorn.stderr.log

E, [2018-12-09T12:50:11.435085 #71] ERROR -- : worker=1 PID:3376 timeout (31s > 30s), killing
I, [2018-12-09T12:50:15.652126 #3702]  INFO -- : worker=1 ready

This occurs even with safe-mode.

1 Like

I had a 502 yesterday trying to import a theme from git, dismissed it and moved on to another task,

don’t recall the theme at the moment

I should point out that the site / docker instance was rebuilt from a very old 1.9 version and now up to the bleeding edge. I’m not certain if this is part of the issue.

1 Like

Hi Robert,

so it seems our issue is not limited to just 1 one action, one of our Admins is having the 502 error code happen with nearly all admin tasks.

The process is perform admin task, then wait as the task seems to time out and give error code. Then you try the same task a second time and it works.

1 Like

Did you do your update?

I found my server needed one, haven’t tried anything since, may have been an issue.

Robert