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

Not able to log-in running locally #67

Open
Placemaster opened this issue Apr 8, 2022 · 5 comments
Open

Not able to log-in running locally #67

Placemaster opened this issue Apr 8, 2022 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@Placemaster
Copy link

I am running the f1 web viewer on my MacBook on port 3000.
Till the last race the majority of the options were working.
When launching the program the log-in box appears.
After filling-out the credentials it returns with the following error:
Request failed with status code 500

Macos Monterey
Version 12.3.1

F1TV Account (please complete the following information):

Pro Subscription
Netherlands

@Placemaster Placemaster added the bug Something isn't working label Apr 8, 2022
@Shamrayev365
Copy link

I'm having the same issue when self-hosting through Docker.

@markangeltrueman
Copy link

Got the same issue running with npm on a windows machine

console output...

FetchError: invalid json response body at https://api.formula1.com/v2/account/subscriber/authenticate/by-password reason: Unexpected token < in JSON at position 0
at E:\F1-Web-Viewer\node_modules\node-fetch\lib\index.js:273:32

@timespaced
Copy link

I also get a 500 error on the web UI when trying to login to my self-hosted docker deployment. Below are the logs:

FetchError: invalid json response body at https://api.formula1.com/v2/account/subscriber/authenticate/by-password reason: Unexpected token < in JSON at position 0
at /usr/src/app/node_modules/node-fetch/lib/index.js:273:32
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async /usr/src/app/functions/server.js:53:20 {
type: 'invalid-json'
}

@hedonistrh
Copy link

hedonistrh commented Jun 17, 2022

Same issue for me when I run locally. Did anyone find the solution?

Edit: I am able to run https://github.com/iebb/F1WebViewer-SelfHosted

@sparky005
Copy link

sparky005 commented Sep 10, 2022

I have the same error in the web app. Not using the self-hosted version, just logging in at https://f1webviewer.netlify.app/

EDIT: I see #35 mentions that the web app is still not working, apologies for missing that.

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

7 participants