Jump to content

Admin CP login blocked without error


mcsg

Recommended Posts

Since we upg to 4.4.4 we intermittently cannot access the AdminCP from several browsers, platforms and both private and non-private windows.

When one admin IS in, they can see that the log shows the admin access is successful, however, that admin just gets a reloaded admin login screen.

Here is an apache access log of the admin access:
 

14.212.32.148 127.0.0.1 - - [20/Jun/2019:19:23:24 +0000] "GET /forums/admin/ HTTP/1.0" 301 - "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15"
14.212.32.148 127.0.0.1 - - [20/Jun/2019:19:23:24 +0000] "GET /forums/admin/?adsess=7pip9i62o5q2eq4r9dj375pf9d&app=core&module=system&controller=login&error=&ref= HTTP/1.0" 200 2247 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15"
14.212.32.148 127.0.0.1 - - [20/Jun/2019:19:23:25 +0000] "GET /forums/applications/core/interface/howler/howler.core.min.js?v=46b914e6b9 HTTP/1.0" 200 25388 "https://www.theforumsite.com/forums/admin/?adsess=7pip9i62o5q2eq4r9dj375pf9d&app=core&module=system&controller=login&error=&ref=" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15"
14.212.32.148 127.0.0.1 - - [20/Jun/2019:19:23:25 +0000] "GET /forums/applications/core/interface/jquery/jquery-ui.js?v=46b914e6b9 HTTP/1.0" 200 154054 "https://www.theforumsite.com/forums/admin/?adsess=7pip9i62o5q2eq4r9dj375pf9d&app=core&module=system&controller=login&error=&ref=" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15"
14.212.32.148 127.0.0.1 - - [20/Jun/2019:19:23:25 +0000] "GET /forums/applications/core/interface/jquery/jquery-touchpunch.js?v=46b914e6b9 HTTP/1.0" 200 1906 "https://www.theforumsite.com/forums/admin/?adsess=7pip9i62o5q2eq4r9dj375pf9d&app=core&module=system&controller=login&error=&ref=" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15"
14.212.32.148 127.0.0.1 - - [20/Jun/2019:19:23:25 +0000] "GET /forums/applications/core/interface/jquery/jquery.menuaim.js?v=46b914e6b9 HTTP/1.0" 200 2793 "https://www.theforumsite.com/forums/admin/?adsess=7pip9i62o5q2eq4r9dj375pf9d&app=core&module=system&controller=login&error=&ref=" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15"
14.212.32.148 127.0.0.1 - - [20/Jun/2019:19:23:25 +0000] "GET /forums/applications/core/interface/jquery/jquery.nestedSortable.js?v=46b914e6b9 HTTP/1.0" 200 12611 "https://www.theforumsite.com/forums/admin/?adsess=7pip9i62o5q2eq4r9dj375pf9d&app=core&module=system&controller=login&error=&ref=" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15"
14.212.32.148 127.0.0.1 - - [20/Jun/2019:19:23:25 +0000] "GET /forums/applications/core/interface/font/fontawesome-webfont.woff2?v=4.7.0 HTTP/1.0" 200 77160 "https://www.theforumsite.com/forums/admin/?adsess=7pip9i62o5q2eq4r9dj375pf9d&app=core&module=system&controller=login&error=&ref=" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15"
14.212.32.148 127.0.0.1 - - [20/Jun/2019:19:23:25 +0000] "GET /forums/applications/core/interface/font/icomoon.woff?v=-29n77j HTTP/1.0" 200 2676 "https://www.theforumsite.com/forums/admin/?adsess=7pip9i62o5q2eq4r9dj375pf9d&app=core&module=system&controller=login&error=&ref=" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15"
14.212.32.148 127.0.0.1 - - [20/Jun/2019:19:24:17 +0000] "POST /forums/admin/?adsess=7pip9i62o5q2eq4r9dj375pf9d&app=core&module=system&controller=login&ref= HTTP/1.0" 303 - "https://www.theforumsite.com/forums/admin/?adsess=7pip9i62o5q2eq4r9dj375pf9d&app=core&module=system&controller=login&error=&ref=" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15"
14.212.32.148 127.0.0.1 - - [20/Jun/2019:19:24:18 +0000] "GET /forums/admin/?adsess=j2f2d3npg0b02508u23a791dsm& HTTP/1.0" 301 - "https://www.theforumsite.com/forums/admin/?adsess=7pip9i62o5q2eq4r9dj375pf9d&app=core&module=system&controller=login&error=&ref=" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15"
14.212.32.148 127.0.0.1 - - [20/Jun/2019:19:24:19 +0000] "GET /forums/applications/core/interface/howler/howler.core.min.js?v=46b914e6b9 HTTP/1.0" 200 25388 "https://www.theforumsite.com/forums/admin/?adsess=j2f2d3npg0b02508u23a791dsm&app=core&module=system&controller=login&error=&ref=YWRzZXNzPWoyZjJkM25wZzBiMDI1MDh1MjNhNzkxZHNtJg==" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15"
14.212.32.148 127.0.0.1 - - [20/Jun/2019:19:24:19 +0000] "GET /forums/applications/core/interface/jquery/jquery-ui.js?v=46b914e6b9 HTTP/1.0" 200 154054 "https://www.theforumsite.com/forums/admin/?adsess=j2f2d3npg0b02508u23a791dsm&app=core&module=system&controller=login&error=&ref=YWRzZXNzPWoyZjJkM25wZzBiMDI1MDh1MjNhNzkxZHNtJg==" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15"
14.212.32.148 127.0.0.1 - - [20/Jun/2019:19:24:19 +0000] "GET /forums/applications/core/interface/jquery/jquery.menuaim.js?v=46b914e6b9 HTTP/1.0" 200 2793 "https://www.theforumsite.com/forums/admin/?adsess=j2f2d3npg0b02508u23a791dsm&app=core&module=system&controller=login&error=&ref=YWRzZXNzPWoyZjJkM25wZzBiMDI1MDh1MjNhNzkxZHNtJg==" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15"
14.212.32.148 127.0.0.1 - - [20/Jun/2019:19:24:19 +0000] "GET /forums/applications/core/interface/jquery/jquery-touchpunch.js?v=46b914e6b9 HTTP/1.0" 200 1906 "https://www.theforumsite.com/forums/admin/?adsess=j2f2d3npg0b02508u23a791dsm&app=core&module=system&controller=login&error=&ref=YWRzZXNzPWoyZjJkM25wZzBiMDI1MDh1MjNhNzkxZHNtJg==" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15"
14.212.32.148 127.0.0.1 - - [20/Jun/2019:19:24:19 +0000] "GET /forums/applications/core/interface/jquery/jquery.nestedSortable.js?v=46b914e6b9 HTTP/1.0" 200 12611 "https://www.theforumsite.com/forums/admin/?adsess=j2f2d3npg0b02508u23a791dsm&app=core&module=system&controller=login&error=&ref=YWRzZXNzPWoyZjJkM25wZzBiMDI1MDh1MjNhNzkxZHNtJg==" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15"
14.212.32.148 127.0.0.1 - - [20/Jun/2019:19:24:18 +0000] "GET /forums/admin/?adsess=j2f2d3npg0b02508u23a791dsm&app=core&module=system&controller=login&error=&ref=YWRzZXNzPWoyZjJkM25wZzBiMDI1MDh1MjNhNzkxZHNtJg== HTTP/1.0" 200 2298 "https://www.theforumsite.com/forums/admin/?adsess=7pip9i62o5q2eq4r9dj375pf9d&app=core&module=system&controller=login&error=&ref=" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15"
14.212.32.148 127.0.0.1 - - [20/Jun/2019:19:24:19 +0000] "GET /forums/applications/core/interface/font/fontawesome-webfont.woff2?v=4.7.0 HTTP/1.0" 200 77160 "https://www.theforumsite.com/forums/admin/?adsess=j2f2d3npg0b02508u23a791dsm&app=core&module=system&controller=login&error=&ref=YWRzZXNzPWoyZjJkM25wZzBiMDI1MDh1MjNhNzkxZHNtJg==" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15"
14.212.32.148 127.0.0.1 - - [20/Jun/2019:19:24:19 +0000] "GET /forums/applications/core/interface/font/icomoon.woff?v=-29n77j HTTP/1.0" 200 2676 "https://www.theforumsite.com/forums/admin/?adsess=j2f2d3npg0b02508u23a791dsm&app=core&module=system&controller=login&error=&ref=YWRzZXNzPWoyZjJkM25wZzBiMDI1MDh1MjNhNzkxZHNtJg==" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15"

you can see after the credentials POST, the site 301 redirects and with a new `adsess` key, but the screen merely reloads and will not allow us in.

I verified the cookies are working as expected on each of the browsers we tried. We've cleared cache, cleared cookies, etc.  All to say that the access then is completely random.

I can clear cache, cookies, and it will still not work. Then try 2 more times in the same browser window and it will suddenly let me in. I look at the logs and it does not show an error. The Apache error log too, no errors.

We have a working staging server with exact configuration that works, as expected, every time. After the POST response, it responds with 200 and new `adsess` code and let's us in to the adminCP.

14.212.32.148 127.0.0.1 - stage [21/Jun/2019:18:25:54 +0000] "GET /forums/admin/ HTTP/1.0" 301 - "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:67.0) Gecko/20100101 Firefox/67.0"
14.212.32.148 127.0.0.1 - stage [21/Jun/2019:18:25:55 +0000] "GET /forums/admin/?adsess=bg0bmngvbplfkq7mapu5ku4lp2&app=core&module=system&controller=login&error=&ref= HTTP/1.0" 200 2259 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:67.0) Gecko/20100101 Firefox/67.0"
14.212.32.148 127.0.0.1 - - [21/Jun/2019:18:25:55 +0000] "GET /forums/applications/core/interface/jquery/jquery-ui.js?v=f24518eb41 HTTP/1.0" 200 154054 "https://stage.theforumsite.com/forums/admin/?adsess=bg0bmngvbplfkq7mapu5ku4lp2&app=core&module=system&controller=login&error=&ref=" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:67.0) Gecko/20100101 Firefox/67.0"
14.212.32.148 127.0.0.1 - - [21/Jun/2019:18:25:55 +0000] "GET /forums/applications/core/interface/jquery/jquery-touchpunch.js?v=f24518eb41 HTTP/1.0" 200 1906 "https://stage.theforumsite.com/forums/admin/?adsess=bg0bmngvbplfkq7mapu5ku4lp2&app=core&module=system&controller=login&error=&ref=" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:67.0) Gecko/20100101 Firefox/67.0"
14.212.32.148 127.0.0.1 - - [21/Jun/2019:18:25:55 +0000] "GET /forums/applications/core/interface/jquery/jquery.menuaim.js?v=f24518eb41 HTTP/1.0" 200 2793 "https://stage.theforumsite.com/forums/admin/?adsess=bg0bmngvbplfkq7mapu5ku4lp2&app=core&module=system&controller=login&error=&ref=" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:67.0) Gecko/20100101 Firefox/67.0"
14.212.32.148 127.0.0.1 - - [21/Jun/2019:18:25:55 +0000] "GET /forums/applications/core/interface/jquery/jquery.nestedSortable.js?v=f24518eb41 HTTP/1.0" 200 12611 "https://stage.theforumsite.com/forums/admin/?adsess=bg0bmngvbplfkq7mapu5ku4lp2&app=core&module=system&controller=login&error=&ref=" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:67.0) Gecko/20100101 Firefox/67.0"
14.212.32.148 127.0.0.1 - - [21/Jun/2019:18:25:56 +0000] "GET /forums/applications/core/interface/font/fontawesome-webfont.woff2?v=4.7.0 HTTP/1.0" 200 77160 "https://s3.amazonaws.com/invision-stage/files-resources/css_built_7/341e4a57816af3ba440d891ca87450ff_framework.css.7ca6864ac607ae7b538906f2500b09f7.css.gz?v=f24518eb41" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:67.0) Gecko/20100101 Firefox/67.0"
14.212.32.148 127.0.0.1 - - [21/Jun/2019:18:25:56 +0000] "GET /forums/applications/core/interface/font/icomoon.woff?v=-29n77j HTTP/1.0" 200 2676 "https://s3.amazonaws.com/invision-stage/files-resources/css_built_7/341e4a57816af3ba440d891ca87450ff_framework.css.7ca6864ac607ae7b538906f2500b09f7.css.gz?v=f24518eb41" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:67.0) Gecko/20100101 Firefox/67.0"
14.212.32.148 127.0.0.1 - stage [21/Jun/2019:18:26:09 +0000] "POST /forums/admin/?adsess=bg0bmngvbplfkq7mapu5ku4lp2&app=core&module=system&controller=login&ref= HTTP/1.0" 303 - "https://stage.theforumsite.com/forums/admin/?adsess=bg0bmngvbplfkq7mapu5ku4lp2&app=core&module=system&controller=login&error=&ref=" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:67.0) Gecko/20100101 Firefox/67.0"
14.212.32.148 127.0.0.1 - stage [21/Jun/2019:18:26:10 +0000] "GET /forums/admin/?adsess=eb4h1935te99emn26otslpnse8& HTTP/1.0" 200 11639 "https://stage.theforumsite.com/forums/admin/?adsess=bg0bmngvbplfkq7mapu5ku4lp2&app=core&module=system&controller=login&error=&ref=" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:67.0) Gecko/20100101 Firefox/67.0"

Our users of the forum have not reported anything different as far as we know. It is on the AdminCP.

Any idea of where to look next to see what could possible be going on?

Link to comment
Share on other sites

UPDATE:

Now that the background processes have finished running (from upg to 4.4.4), all browsers with no cache or cookies reset seem to be working as expected.

Is it possible there is some delay in the response from the db that could have been causing an issue? The database shows all those logins as successful even though the browser redirected to a new `adsess` and reset to the login screen.

 

Link to comment
Share on other sites

  • 7 months later...

It's happening again. So weird. We're rebuilding the search index and it has made it to the last 95% and we are unable to log an admin in.

We get 301 redirected to another AdminCP login page with a different adsess= code

The AdminCP log inside the db shows that the Admin is logged in.

Is there any facility to log out (invalidate their session) a single member, admin or otherwise?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...