Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login to Github not working when not used some time #26

Open
MarcSkovMadsen opened this issue Nov 12, 2022 · 0 comments
Open

Login to Github not working when not used some time #26

MarcSkovMadsen opened this issue Nov 12, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@MarcSkovMadsen
Copy link
Contributor

Description

Sometimes I am not able to login to Github the first time I click the login button. If I click again it works.

Reproduction steps

  1. Click https://awesome-panel.org/sharing
  2. Check that the Login to Github button is there
  3. Click login
  4. Verify that the page reloads but the login button is still there. your not logged in

Requirements

No response

Code

No response

Logs

2022-11-12T03:26:02.632362447Z 2022-11-12 03:26:02,631 404 GET /favicon.ico (172.16.1.5) 1.05ms
2022-11-12T03:28:09.603059754Z 2022-11-12 03:28:09,602 WebSocket connection opened
2022-11-12T03:28:10.120064549Z 2022-11-12 03:28:10,119 ServerConnection created
2022-11-12T03:28:11.768886192Z 2022-11-12 03:28:11,768 CREATE STARTED
2022-11-12T03:28:12.095235688Z 2022-11-12 03:28:12,094 set_example: updating location
2022-11-12T03:28:12.204704189Z 2022-11-12 03:28:12,204 No user_info in state.
2022-11-12T03:28:12.204753590Z 2022-11-12 03:28:12,204 No code found in session_args
2022-11-12T03:28:12.205497692Z 2022-11-12 03:28:12,205 authenticating user
2022-11-12T03:28:12.423126290Z 2022-11-12 03:28:12,422 CREATE FINISHED
2022-11-12T03:28:12.892602811Z 2022-11-12 03:28:12,892 WebSocket connection closed: code=None, reason=None
2022-11-12T03:28:15.023027019Z 2022-11-12 03:28:15,022 WebSocket connection opened
2022-11-12T03:28:15.024919326Z 2022-11-12 03:28:15,024 CREATE STARTED
2022-11-12T03:28:15.349838916Z 2022-11-12 03:28:15,349 set_example: updating location
2022-11-12T03:28:15.448886880Z 2022-11-12 03:28:15,448 No user_info in state.
2022-11-12T03:28:15.454440300Z 2022-11-12 03:28:15,448 No code found in session_args
2022-11-12T03:28:15.454879101Z 2022-11-12 03:28:15,454 authenticating user
2022-11-12T03:28:15.657642645Z 2022-11-12 03:28:15,657 CREATE FINISHED
2022-11-12T03:28:16.026186795Z 2022-11-12 03:28:16,025 ServerConnection created
2022-11-12T03:28:30.876325028Z get_keys: Elapsed time: 0.2476 seconds
2022-11-12T03:28:31.135141081Z 2022-11-12 03:28:31,134 WebSocket connection closed: code=None, reason=None
2022-11-12T03:28:31.384164202Z 2022-11-12 03:28:31,383 WebSocket connection opened
2022-11-12T03:28:31.385399506Z 2022-11-12 03:28:31,384 ServerConnection created
2022-11-12T03:28:53.705548596Z 2022-11-12 03:28:53,705 CREATE STARTED
2022-11-12T03:28:54.506207078Z 2022-11-12 03:28:54,505 No user_info in state.
2022-11-12T03:28:54.506262078Z 2022-11-12 03:28:54,506 No code found in session_args
2022-11-12T03:28:54.506873680Z 2022-11-12 03:28:54,506 authenticating user
2022-11-12T03:28:54.713886600Z 2022-11-12 03:28:54,713 CREATE FINISHED
2022-11-12T03:28:55.181186223Z 2022-11-12 03:28:55,180 WebSocket connection closed: code=None, reason=None
2022-11-12T03:28:55.739737664Z 2022-11-12 03:28:55,739 WebSocket connection opened
2022-11-12T03:28:55.741665871Z 2022-11-12 03:28:55,741 CREATE STARTED
2022-11-12T03:28:56.573040357Z 2022-11-12 03:28:56,572 No user_info in state.
2022-11-12T03:28:56.573078557Z 2022-11-12 03:28:56,572 No code found in session_args
2022-11-12T03:28:56.573591759Z 2022-11-12 03:28:56,573 authenticating user
2022-11-12T03:28:56.775081669Z 2022-11-12 03:28:56,774 CREATE FINISHED
2022-11-12T03:28:57.140786877Z 2022-11-12 03:28:57,140 ServerConnection created
2022-11-12T03:28:57.320800722Z 2022-11-12 03:28:57,320 404 GET /apps-dev/41f1a530-9eac-43bd-9f15-e3bb1ec18444/app.html (172.16.1.5) 1.45ms
2022-11-12T03:29:17.292680050Z convert project: Elapsed time: 9.4602 seconds
2022-11-12T03:29:17.322270445Z base64 len 14064
2022-11-12T03:29:47.677597246Z 2022-11-12 03:29:47,674 Login triggered. Redirecting to https://github.com/login/oauth/authorize
2022-11-12T03:29:47.683812306Z 2022-11-12 03:29:47,683 handle_auth_state
2022-11-12T03:29:47.687953646Z 2022-11-12 03:29:47,687 set_secure_cookie state 2|1:0|10:1668223787|5:state|48:ODI3NDA4NGUtMjEzNC00M2Y0LWJkOTctNjRiZDA1ZjdjZDAx|2446af922ef14bebfb15bb0c561666c6de2b872dbdbabb719e1b8af8665edadc
2022-11-12T03:29:47.696409127Z 2022-11-12 03:29:47,696 Open and redirect to https://github.com/login/oauth/authorize?client_id=4691efe7520d77893853&state=8274084e-2134-43f4-bd97-64bd05f7cd01&allow_signup=true
2022-11-12T03:29:48.169428176Z 2022-11-12 03:29:48,169 CREATE STARTED
2022-11-12T03:29:48.480172567Z 2022-11-12 03:29:48,479 set_example: updating location
2022-11-12T03:29:48.581970501Z 2022-11-12 03:29:48,581 No user_info in state.
2022-11-12T03:29:48.582008201Z 2022-11-12 03:29:48,581 Code b9179667b7b34c4af05b found in session_args
2022-11-12T03:29:48.582040501Z 2022-11-12 03:29:48,581 State 8274084e-2134-43f4-bd97-64bd05f7cd01 found in session_args
2022-11-12T03:29:48.586700517Z 2022-11-12 03:29:48,581 expected state 8274084e-2134-43f4-bd97-64bd05f7cd01
2022-11-12T03:29:48.586733417Z 2022-11-12 03:29:48,586 cookie   state
2022-11-12T03:29:48.586819217Z 2022-11-12 03:29:48,586 state is not valid
2022-11-12T03:29:48.587383119Z 2022-11-12 03:29:48,587 authenticating user
2022-11-12T03:29:48.800058816Z 2022-11-12 03:29:48,799 CREATE FINISHED
2022-11-12T03:29:49.253307102Z 2022-11-12 03:29:49,251 WebSocket connection closed: code=1001, reason=None
2022-11-12T03:29:50.677161070Z 2022-11-12 03:29:50,676 WebSocket connection opened
2022-11-12T03:29:50.677635571Z 2022-11-12 03:29:50,677 ServerConnection created
2022-11-12T03:30:26.189582519Z 2022-11-12 03:30:26,189 Login triggered. Redirecting to https://github.com/login/oauth/authorize
2022-11-12T03:30:26.195258354Z 2022-11-12 03:30:26,191 handle_auth_state
2022-11-12T03:30:26.201956196Z 2022-11-12 03:30:26,201 set_secure_cookie state 2|1:0|10:1668223826|5:state|48:NzQxMjNiMGItZWQ1Yi00NThjLTg2OGUtMTRlZjFkYTJhNjYy|5bdd27e47a4b009ce1a52027f9deeac9654beeb90c8213693aa01591b37521d7
2022-11-12T03:30:26.205623519Z 2022-11-12 03:30:26,205 Open and redirect to https://github.com/login/oauth/authorize?client_id=4691efe7520d77893853&state=74123b0b-ed5b-458c-868e-14ef1da2a662&allow_signup=true
2022-11-12T03:30:26.571314398Z 2022-11-12 03:30:26,570 CREATE STARTED
2022-11-12T03:30:26.890234786Z 2022-11-12 03:30:26,889 set_example: updating location
2022-11-12T03:30:26.998620661Z 2022-11-12 03:30:26,998 No user_info in state.
2022-11-12T03:30:26.998668961Z 2022-11-12 03:30:26,998 Code 167b3afd53674232a2aa found in session_args
2022-11-12T03:30:26.998677161Z 2022-11-12 03:30:26,998 State 74123b0b-ed5b-458c-868e-14ef1da2a662 found in session_args
2022-11-12T03:30:26.998809462Z 2022-11-12 03:30:26,998 expected state 74123b0b-ed5b-458c-868e-14ef1da2a662
2022-11-12T03:30:26.998854863Z 2022-11-12 03:30:26,998 cookie   state 74123b0b-ed5b-458c-868e-14ef1da2a662
2022-11-12T03:30:26.998869363Z 2022-11-12 03:30:26,998 State is valid
2022-11-12T03:30:27.262873208Z 2022-11-12 03:30:27,262 access_token received
2022-11-12T03:30:27.511408957Z 2022-11-12 03:30:27,511 user_info received
2022-11-12T03:30:27.512205562Z 2022-11-12 03:30:27,511 Logged in MarcSkovMadsen successfully
2022-11-12T03:30:27.512829866Z 2022-11-12 03:30:27,512 authenticating user
2022-11-12T03:30:27.721694368Z 2022-11-12 03:30:27,721 CREATE FINISHED
2022-11-12T03:30:28.223568796Z 2022-11-12 03:30:28,223 WebSocket connection closed: code=1001, reason=None
2022-11-12T03:30:28.948791417Z 2022-11-12 03:30:28,948 WebSocket connection opened
2022-11-12T03:30:28.949256520Z 2022-11-12 03:30:28,949 ServerConnection created

Additional Context

No response

@MarcSkovMadsen MarcSkovMadsen added the bug Something isn't working label Nov 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant