freyta / 7Eleven-Python

A python script to check fuel prices and also lock them in
GNU General Public License v3.0
128 stars 63 forks source link

Error when login #37

Closed tzheng-splunk closed 4 years ago

tzheng-splunk commented 5 years ago

Cannot login, get 302 error in log

172.17.0.1 - - [08/Sep/2019 07:30:44] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [08/Sep/2019 07:31:01] "POST /login HTTP/1.1" 302 - 172.17.0.1 - - [08/Sep/2019 07:31:03] "GET / HTTP/1.1" 200 -

NGPriest commented 5 years ago

302 isn't an error... 302 is a status code...

The HTTP response status code 302 Found is a common way of performing URL redirection. The HTTP/1.0 specification (RFC 1945) initially defined this code, and gave it the description phrase "Moved Temporarily" rather than "Found".

https://en.wikipedia.org/wiki/HTTP_302

tzheng-splunk commented 5 years ago

So what is the solution?

NGPriest commented 5 years ago

@tzheng-splunk I'm not sure, i don't even know what the problem is...

freyta commented 5 years ago

Explain what's happening. What's the actual error message? Give us more information and we may try and help you more

NGPriest commented 5 years ago

Should we close this issue? :S