Hi dear Heator Support,
So I tried a couple of times more, it seems that it is kind of “random”, sometimes the login is working and the more oftem times I try, it is not.
I had a look at the nginx logs for 1) unsuccessful login trys and 2) successful logins, please see log out put below.
I noticed in the logs, that there is a difference with the requests to api.twitter.com
1) when it is NOT working
with the GET /?oauth_token= request to api.twitter.com, I get a 302 – while I get a 200 when it is working (see 2. below). And the redirect to /my-account is not happening.
###########
192.168.70.4 – – [20/Apr/2020:06:48:14 +0000] “GET /?SuperSocializerAuth=Twitter&super_socializer_redirect_to=https%3A%2F%2Fwww.nussfee.ch%2Fmy-account%2F HTTP/1.1” 302 5 “https://www.nussfee.ch/my-account/” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36”
192.168.70.4 – – [20/Apr/2020:06:48:20 +0000] “GET /?oauth_token=7MCOrwAAAAABDtHJAAABcZZYMtI&oauth_verifier=dVYrDwUqtmoNCDdGTaFxYpelqFM9iEgq HTTP/1.1” 302 5 “https://api.twitter.com/oauth/authorize” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36”
###########
192.168.70.4 – – [20/Apr/2020:06:52:41 +0000] “GET /?SuperSocializerAuth=Twitter&super_socializer_redirect_to=https%3A%2F%2Fwww.nussfee.ch%2Fmy-account%2F HTTP/1.1” 302 5 “https://www.nussfee.ch/my-account/” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36”
192.168.70.4 – – [20/Apr/2020:06:52:45 +0000] “GET /?oauth_token=LSJGRgAAAAABDtHJAAABcZZcQ3A&oauth_verifier=jpFunXG9WxqknTnNSg5wMkbDDVufmFAf HTTP/1.1” 302 5 “https://api.twitter.com/oauth/authorize” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36”
###########
192.168.70.4 – – [20/Apr/2020:06:57:47 +0000] “GET /?SuperSocializerAuth=Twitter&super_socializer_redirect_to=https%3A%2F%2Fwww.nussfee.ch%2Fmy-account%2F HTTP/1.1” 302 5 “https://www.nussfee.ch/my-account/” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36”
192.168.70.4 – – [20/Apr/2020:06:57:51 +0000] “GET /?oauth_token=LyEuvQAAAAABDtHJAAABcZZg7vw&oauth_verifier=FWacAGZnAy8YCPEzNhNeB9CNPGkmeZj8 HTTP/1.1” 302 5 “https://api.twitter.com/oauth/authorize” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36”
2) This is when it was working
###########
192.168.70.4 – – [20/Apr/2020:06:40:53 +0000] “GET /?SuperSocializerAuth=Twitter&super_socializer_redirect_to=https%3A%2F%2Fwww.nussfee.ch%2Fmy-account%2F HTTP/1.1” 302 5 “https://www.nussfee.ch/my-account/” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36”
192.168.70.4 – – [20/Apr/2020:06:40:57 +0000] “GET /?oauth_token=vWwN3QAAAAABDtHJAAABcZZRdZY&oauth_verifier=sNg3EQG3NZRekiVgnBIf6lFdsxezmFDL HTTP/1.1” 200 144 “https://api.twitter.com/oauth/authorize” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36”
192.168.70.4 – – [20/Apr/2020:06:40:58 +0000] “GET /my-account/ HTTP/1.1” 200 160834 “https://www.nussfee.ch/?oauth_token=vWwN3QAAAAABDtHJAAABcZZRdZY&oauth_verifier=sNg3EQG3NZRekiVgnBIf6lFdsxezmFDL” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36”
###########
192.168.70.4 – – [20/Apr/2020:06:53:38 +0000] “GET /?SuperSocializerAuth=Twitter&super_socializer_redirect_to=https%3A%2F%2Fwww.nussfee.ch%2Fmy-account%2F HTTP/1.1” 302 5 “https://www.nussfee.ch/my-account/” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36”
192.168.70.4 – – [20/Apr/2020:06:53:42 +0000] “GET /?oauth_token=bCJjqgAAAAABDtHJAAABcZZdIho&oauth_verifier=tl5lkRq4qEhgObv8jgfLVk3EmZyFOEZA HTTP/1.1” 200 144 “https://api.twitter.com/oauth/authorize” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36”
192.168.70.4 – – [20/Apr/2020:06:53:44 +0000] “GET /my-account/ HTTP/1.1” 200 160832 “https://www.nussfee.ch/?oauth_token=bCJjqgAAAAABDtHJAAABcZZdIho&oauth_verifier=tl5lkRq4qEhgObv8jgfLVk3EmZyFOEZA” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36”
###########
192.168.70.4 – – [20/Apr/2020:06:59:36 +0000] “GET /?SuperSocializerAuth=Twitter&super_socializer_redirect_to=https%3A%2F%2Fwww.nussfee.ch%2Fmy-account%2F HTTP/1.1” 302 5 “https://www.nussfee.ch/my-account/” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36”
192.168.70.4 – – [20/Apr/2020:06:59:48 +0000] “GET /?oauth_token=52KvuAAAAAABDtHJAAABcZZimTo&oauth_verifier=OzdlCFxv9iRUmojO8hFwMidZBw6nxWrs HTTP/1.1” 200 144 “https://api.twitter.com/oauth/authorize” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36”
192.168.70.4 – – [20/Apr/2020:06:59:50 +0000] “GET /my-account/ HTTP/1.1” 200 160839 “https://www.nussfee.ch/?oauth_token=52KvuAAAAAABDtHJAAABcZZimTo&oauth_verifier=OzdlCFxv9iRUmojO8hFwMidZBw6nxWrs” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36”
Any ideas? where may I have a look with the WP_DEBUG setting?
thanks a lot!
Nicolas