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

Oauth problem with logs #2325

Open
burakoslu24 opened this issue Jan 19, 2022 · 1 comment
Open

Oauth problem with logs #2325

burakoslu24 opened this issue Jan 19, 2022 · 1 comment

Comments

@burakoslu24
Copy link

Hello, I can't properly configure oauth. After the consent screen, when the user clicks authorize, the page returns a http 500 error.
Here's what I found in the logs:

{"log":{"token_hash":"9vj7o2sfhf7fg","context":{"ip":"176.33.67.105","class":"Bootstrap","function":"exceptionHandler","line":195},"time":1642524256,"date":"2022-01-18T17:44:16+01:00","content":"Message has been sent"}}
{"log":{"token_hash":"9vj7o2sfhf7fg","context":{"ip":"176.33.67.105","line":null},"time":1642524256,"date":"2022-01-18T17:44:16+01:00","content":{"error":"Failed to open the file.","trace":[{"file":"\/home\/matecat\/matecat\/lib\/Utils\$
{"log":{"token_hash":"9vj7o2sfhf7fg","context":{"ip":"176.33.67.105","class":"Bootstrap","function":"exceptionHandler","line":195},"time":1642524262,"date":"2022-01-18T17:44:22+01:00","content":"Message has been sent"}}
{"log":{"token_hash":"9vj7o2sfhf7fg","context":{"ip":"176.33.67.105","line":null},"time":1642524262,"date":"2022-01-18T17:44:22+01:00","content":{"error":"{\n  \"error\": {\n    \"code\": 401,\n    \"message\": \"Request is missing requ$
{"log":{"token_hash":"9vj7o2sfhf7fg","context":{"ip":"176.33.67.105","class":"Bootstrap","function":"exceptionHandler","line":195},"time":1642524263,"date":"2022-01-18T17:44:23+01:00","content":"Message has been sent"}}
{"log":{"token_hash":"9vj7o2sfhf7fg","context":{"ip":"176.33.67.105","line":null},"time":1642524263,"date":"2022-01-18T17:44:23+01:00","content":{"error":"{\n  \"error\": {\n    \"code\": 401,\n    \"message\": \"Request is missing requ$
{"log":{"token_hash":"9vj7o2sfhf7fg","context":{"ip":"176.33.67.105","class":"Bootstrap","function":"exceptionHandler","line":195},"time":1642524264,"date":"2022-01-18T17:44:24+01:00","content":"Message has been sent"}}
{"log":{"token_hash":"9vj7o2sfhf7fg","context":{"ip":"176.33.67.105","line":null},"time":1642524264,"date":"2022-01-18T17:44:24+01:00","content":{"error":"{\n  \"error\": {\n    \"code\": 401,\n    \"message\": \"Request is missing requ$
{"log":{"token_hash":"9vj7o2sfhf7fg","context":{"ip":"176.33.67.105","class":"Bootstrap","function":"exceptionHandler","line":195},"time":1642524278,"date":"2022-01-18T17:44:38+01:00","content":"Message has been sent"}}
{"log":{"token_hash":"9vj7o2sfhf7fg","context":{"ip":"176.33.67.105","line":null},"time":1642524278,"date":"2022-01-18T17:44:38+01:00","content":{"error":"Failed to open the file.","trace":[{"file":"\/home\/matecat\/matecat\/lib\/Utils\$
{"log":{"token_hash":"9vj7o2sfhf7fg","context":{"ip":"176.33.67.105","class":"Bootstrap","function":"exceptionHandler","line":195},"time":1642524382,"date":"2022-01-18T17:46:22+01:00","content":"Message has been sent"}}
{"log":{"token_hash":"9vj7o2sfhf7fg","context":{"ip":"176.33.67.105","line":null},"time":1642524382,"date":"2022-01-18T17:46:22+01:00","content":{"error":"Failed to open the file.","trace":[{"file":"\/home\/matecat\/matecat\/lib\/Utils\$
{"log":{"token_hash":"9vj7o2sfhf7fg","context":{"ip":"176.33.67.105","class":"Bootstrap","function":"exceptionHandler","line":195},"time":1642524458,"date":"2022-01-18T17:47:38+01:00","content":"Message has been sent"}}
{"log":{"token_hash":"9vj7o2sfhf7fg","context":{"ip":"176.33.67.105","line":null},"time":1642524458,"date":"2022-01-18T17:47:38+01:00","content":{"error":"Failed to open the file.","trace":[{"file":"\/home\/matecat\/matecat\/lib\/Utils\$
{"log":{"token_hash":"9vj7o2sfhf7fg","context":{"ip":"176.33.67.105","class":"Bootstrap","function":"exceptionHandler","line":195},"time":1642524460,"date":"2022-01-18T17:47:40+01:00","content":"Message has been sent"}}
{"log":{"token_hash":"9vj7o2sfhf7fg","context":{"ip":"176.33.67.105","line":null},"time":1642524460,"date":"2022-01-18T17:47:40+01:00","content":{"error":"{\n  \"error\": {\n    \"code\": 401,\n    \"message\": \"Request is missing requ$
{"log":{"token_hash":"9vj7o2sfhf7fg","context":{"ip":"176.33.67.105","class":"Bootstrap","function":"exceptionHandler","line":195},"time":1642524461,"date":"2022-01-18T17:47:41+01:00","content":"Message has been sent"}}
{"log":{"token_hash":"9vj7o2sfhf7fg","context":{"ip":"176.33.67.105","line":null},"time":1642524461,"date":"2022-01-18T17:47:41+01:00","content":{"error":"{\n  \"error\": {\n    \"code\": 401,\n    \"message\": \"Request is missing requ$
{"log":{"token_hash":"9vj7o2sfhf7fg","context":{"ip":"176.33.67.105","class":"Bootstrap","function":"exceptionHandler","line":195},"time":1642524461,"date":"2022-01-18T17:47:41+01:00","content":"Message has been sent"}}
$g required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https:\/\/developers.google.com\/identity\/sign-in\/web\/devconsole-project.\",\n    \"errors\": [\n      {$
{"log":{"token_hash":"9vj7o2sfhf7fg","context":{"ip":"176.33.67.105","class":"Bootstrap","function":"exceptionHandler","line":195},"time":1642524462,"date":"2022-01-18T17:47:42+01:00","content":"Message has been sent"}}
{"log":{"token_hash":"9vj7o2sfhf7fg","context":{"ip":"176.33.67.105","line":null},"time":1642524462,"date":"2022-01-18T17:47:42+01:00","content":{"error":"{\n  \"error\": {\n    \"code\": 401,\n    \"message\": \"Request is missing requ$
{"log":{"token_hash":"9vj7o2sfhf7fg","context":{"ip":"176.33.67.105","class":"Bootstrap","function":"exceptionHandler","line":195},"time":1642524687,"date":"2022-01-18T17:51:27+01:00","content":"Message has been sent"}}

I also tried giving required permissions to oauth_config.ini, oauth-token-key.txt and storage dir.
Any ideas?

@burakoslu24 burakoslu24 changed the title Oauth probelm with logs Oauth problem with logs Jan 19, 2022
@burakoslu24
Copy link
Author

@Ostico

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant