Snawoot / windscribe-proxy

Standalone client for proxies of Windscribe browser extension
MIT License
162 stars 19 forks source link

Windscribe requires credentials #24

Closed kakaska closed 1 year ago

kakaska commented 1 year ago
$ ./windscribe-proxy.linux-amd64 -list-locations
MAIN    : 2023/09/15 15:54:47 main.go:130: INFO     windscribe-proxy client version v1.3.0 is starting...
MAIN    : 2023/09/15 15:54:47 main.go:197: WARNING  Failed to load client state: open wndstate.json: no such file or directory. Performing cold init...
MAIN    : 2023/09/15 15:54:47 main.go:200: CRITICAL Cold init failed: Session call failed: bad http status: 400 Bad Request, headers: http.Header{"Access-Control-Allow-Headers":[]string{"Origin, X-Requested-With, Content-Type, Accept"}, "Access-Control-Allow-Origin":[]string{"*"}, "Cache-Control":[]string{"no-cache, no-store, max-age=0, must-revalidate"}, "Cf-Cache-Status":[]string{"DYNAMIC"}, "Cf-Ray":[]string{"80715d152e2198c0-FR"}, "Connection":[]string{"keep-alive"}, "Content-Type":[]string{"text/html; charset=UTF-8"}, "Date":[]string{"Fri, 15 Sep 2023 13:54:47 GMT"}, "Server":[]string{"cloudflare"}, "Strict-Transport-Security":[]string{"max-age=16000000; includeSubDomains; preload;"}}, body: "{\n    \"errorCode\": 502,\n    \"errorMessage\": \"2 arguments had validation errors\",\n    \"errorDescription\": \"Argument did not validate\",\n    \"logStatus\": null,\n    \"validationFailuresArray\": {\n        \"0\": {\n            \"password\": {\n                \"lengthMin\": {\n                    \"validationValue\": \"4\"\n                }\n            }\n        },\n        \"1\": {\n            \"username\": {\n                \"lengthMin\": {\n                    \"validationValue\": \"3\"\n                }\n            }\n        },\n        \"validationErrorMessageArray\": [\n            \"password is too short. Minimum value is 4 characters\",\n            \"username is too short. Minimum value is 3 characters\"\n        ]\n    }\n}"
Snawoot commented 1 year ago

Duplicate #23. Please use -username and -password command line options.

kakaska commented 1 year ago

Thank you for the fast reply.

Could you please update the application to set the -username and -password options mandatory or at least update the Readme?

Snawoot commented 1 year ago

Yes, a bit later.

Snawoot commented 1 year ago

PR #26 addresses this, printing clear requirement for username and password.