F1-Web-Viewer icon indicating copy to clipboard operation
F1-Web-Viewer copied to clipboard

Not able to log-in running locally

Open Placemaster opened this issue 2 years ago • 5 comments

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 avatar Apr 08 '22 06:04 Placemaster

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

Shamrayev365 avatar Apr 10 '22 05:04 Shamrayev365

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

markangeltrueman avatar Apr 24 '22 06:04 markangeltrueman

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'
}

timespaced avatar May 24 '22 04:05 timespaced

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

halil-erdogan avatar Jun 17 '22 23:06 halil-erdogan

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 https://github.com/bootsie123/F1-Web-Viewer/issues/35 mentions that the web app is still not working, apologies for missing that.

sparky005 avatar Sep 10 '22 15:09 sparky005