-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Invalid client: client is invalid #3151
Comments
When I am running manually dev version at my pc, I don't have such problems |
How are you running you docker image, and what docker image are you running? |
I'm possibly experiencing the same error. Tried logging in:
Error / config dump:---- Error popup when opening example.tld ----
---- error from: docker-compose logs peertube ----
---- .env -----
---- docker-compose.yml ----
(Setup/configuration is based on: https://docs.joinpeertube.org/#/install-docker) |
#3155 contains TsymalArtem's configuration. |
UpdateLogin works on http (+ the oauth error popup went away) Because docker was proxying to port 3003 (docker-compose.yml):
But the webserver was configured for port 80 (.env):
Solution for port 443 + https reverse proxy.env
and the correct nginx reverse proxy config from https://github.com/Chocobozzz/PeerTube/blob/develop/support/nginx/peertube |
I had this error because I passed the wrong Host header in my reverse proxy config.
|
Good day guys, I am starting Peertube with docker. When I enter the Peertube on localhost I get this error: "Error
Cannot retrieve OAuth Client credentials: . Ensure you have correctly configured PeerTube (config/ directory), in particular the "webserver" section.".
And after I registered new account, I tried to login, but I can't. I get this error: "Failed to load resource: the server responded with a status of 400 (Bad Request) main-es2015.cedac4107b66ac6727bb.js:1 Backend returned code 400, errorMessage is: Invalid client: client is invalid"
These are the backend logs: "[127.0.0.1:443] 2020-09-10 10:47:42.664 info: 172.2.0.1 - - [10/Sep/2020:10:47:42 +0000] "GET /api/v1/config/ HTTP/1.1" 304 - "http://127.0.0.1/login" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36"
[127.0.0.1:443] 2020-09-10 10:47:42.673 info: 172.2.0.1 - - [10/Sep/2020:10:47:42 +0000] "GET /api/v1/oauth-clients/local HTTP/1.1" 304 - "http://127.0.0.1/login" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36"
[127.0.0.1:443] 2020-09-10 10:47:42.681 info: 172.2.0.1 - - [10/Sep/2020:10:47:42 +0000] "GET /api/v1/videos/languages HTTP/1.1" 304 - "http://127.0.0.1/login" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36"
[127.0.0.1:443] 2020-09-10 10:47:42.788 info: 172.2.0.1 - - [10/Sep/2020:10:47:42 +0000] "POST /api/v1/users/token HTTP/1.1" 400 69 "http://127.0.0.1/login" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36"
"
The text was updated successfully, but these errors were encountered: