ckcr4lyf / qbit-race

Qbittorrent utilities for racing
121 stars 9 forks source link

installation issue #8

Closed khius closed 3 years ago

khius commented 3 years ago

If I go forward past this warning

Screen Shot 2020-12-24 at 10 33 07 PM

It gives me this error when trying to validate

Screen Shot 2020-12-24 at 10 45 14 PM

btw I edited the .env file with the right username and password.

ckcr4lyf commented 3 years ago

To me, it most likely is wrong username and /or password. One other thing I can suggest is manually logging in with this curl command:

curl --request GET --url 'http://127.0.0.1:[QBIT_WEBUI_PORT]/api/v2/auth/login?username=[USERNAME]&password=[PASSWORD]' -v

This is the response I get:

*   Trying 127.0.0.1:8080...
* Connected to 127.0.0.1 (127.0.0.1) port 8080 (#0)
> GET /api/v2/auth/login?username=REDACTED&password=REDACTED HTTP/1.1
> Host: 127.0.0.1:8080
> User-Agent: curl/7.69.1
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< connection: keep-alive
< content-length: 3
< content-security-policy: default-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; script-src 'self' 'unsafe-inline'; object-src 'none'; form-action 'self'; frame-ancestors 'self';
< content-type: text/plain
< date: Fri, 25 Dec 2020 05:42:35 GMT
< referrer-policy: same-origin
< set-cookie: SID=REDACTED; HttpOnly; path=/; SameSite=Strict
< x-content-type-options: nosniff
< x-frame-options: SAMEORIGIN
< x-xss-protection: 1; mode=block
<
* Connection #0 to host 127.0.0.1 left intact
Ok.
khius commented 3 years ago

Thank you for your answer I initially changed the qbit_host from 127.0.0.1 to the ipaddress/qbittorent and that was the problem