-
Notifications
You must be signed in to change notification settings - Fork 4
Some problems with starting the bot #12
Description
Hello, great EasyCar creator.
I've encountered some issues launching your creation and am in need of your assistance.
The problem I'm facing is:
C:\Users\User>easycar
Error: ClientError(LoginError(TokenGetError(AccessTokenNotProvided({"error": "login_required"}))))
I installed the bot using the command cargo install --git https://github.com/kamack38/easycar.git.
(Initially, I encountered errors and red messages, but after installing additional programs, everything succeeded and loaded properly.)
When I try to install again, I get:
C:\Users\User>cargo install --git https://github.com/kamack38/easycar.git
Updating git repository https://github.com/kamack38/easycar.git
Ignored package easycar v0.1.0 (https://github.com/kamack38/easycar.git#676029b5) is already installed, use --force to override"
I am absolutely certain that the login and password in the Secrets.toml file are correct (I renamed it, and it's located in C:\Users\User.cargo\git\checkouts\easycar-9a50f5babdc58c0f\676029b). I also copied and added this file to C:\Users\User.
Furthermore, I have added the Telegram bot token and chat ID to the file.
This is my first time attempting something like this, so I apologize if there's a basic mistake somewhere. I hope for your assistance, thank you! =)
I also tried cloning and running it with detailed logs, and here's what it outputs at the end. It seems it truly cannot authenticate
DEBUG selectors::matching > Matching complex selector [name="_csrf"][type="hidden"]input for
DEBUG selectors::matching > Matching complex selector [name="_csrf"][type="hidden"]input for
DEBUG selectors::matching > Matching complex selector [name="_csrf"][type="hidden"]input for
DEBUG selectors::matching > Matching complex selector [name="_csrf"][type="hidden"]input for <script src="resources/js/login.min.js?v=23102020" type="text/javascript">
DEBUG selectors::matching > Matching complex selector [name="_csrf"][type="hidden"]input for
DEBUG selectors::matching > Matching complex selector [name="_csrf"][type="hidden"]input for
DEBUG selectors::matching > Matching complex selector [name="_csrf"][type="hidden"]input for
DEBUG selectors::matching > Matching complex selector [name="_csrf"][type="hidden"]input for
DEBUG selectors::matching > Matching complex selector [name="_csrf"][type="hidden"]input for
DEBUG selectors::matching > Matching complex selector [name="_csrf"][type="hidden"]input for
DEBUG selectors::matching > Matching complex selector [name="_csrf"][type="hidden"]input for
DEBUG selectors::matching > Matching complex selector [name="_csrf"][type="hidden"]input for
DEBUG selectors::matching > Matching complex selector [name="_csrf"][type="hidden"]input for
DEBUG selectors::matching > Matching complex selector [name="_csrf"][type="hidden"]input for
DEBUG selectors::matching > Matching complex selector [name="_csrf"][type="hidden"]input for
DEBUG selectors::matching > Matching complex selector [name="_csrf"][type="hidden"]input for
DEBUG selectors::matching > Matching complex selector [name="_csrf"][type="hidden"]input for
DEBUG selectors::matching > Matching complex selector [name="_csrf"][type="hidden"]input for
DEBUG selectors::matching > Matching complex selector [name="_csrf"][type="hidden"]input for
DEBUG selectors::matching > Matching complex selector [name="_csrf"][type="hidden"]input for
DEBUG selectors::matching > Matching complex selector [name="_csrf"][type="hidden"]input for
DEBUG selectors::matching > Matching complex selector [name="_csrf"][type="hidden"]input for
DEBUG cookie_store::cookie_store > inserting Set-Cookie 'Cookie { cookie_string: Some("SESSION=; Max-Age=0; Expires=Fri, 25 Jul 2025 22:28:39 GMT; Path=/; HTTPOnly; SameSite=Lax"), name: Indexed(0, 7), value: Indexed(8, 8), expires: Some(DateTime(2025-07-25 22:28:39.0 +00:00:00)), max_age: Some(Duration { seconds: 0, nanoseconds: 0 }), domain: None, path: Some(Indexed(65, 66)), secure: None, http_only: Some(true), same_site: Some(Lax), partitioned: None }'
DEBUG cookie_store::cookie_store > unable to store Set-Cookie: Expired
DEBUG cookie_store::cookie_store > inserting secure cookie 'TS01f5bb17'
DEBUG reqwest::async_impl::client > redirecting 'https://info-car.pl/oauth2/login' to 'https://info-car.pl/oauth2/login?error=failure'
DEBUG cookie_store::cookie_store > inserting Set-Cookie 'Cookie { cookie_string: Some("SESSION=; Max-Age=0; Expires=Fri, 25 Jul 2025 22:28:39 GMT; Path=/; HTTPOnly; SameSite=Lax"), name: Indexed(0, 7), value: Indexed(8, 8), expires: Some(DateTime(2025-07-25 22:28:39.0 +00:00:00)), max_age: Some(Duration { seconds: 0, nanoseconds: 0 }), domain: None, path: Some(Indexed(65, 66)), secure: None, http_only: Some(true), same_site: Some(Lax), partitioned: None }'
DEBUG cookie_store::cookie_store > unable to store Set-Cookie: Expired
DEBUG cookie_store::cookie_store > inserting secure cookie 'TS01f5bb17'
DEBUG reqwest::connect > starting new connection: https://info-car.pl/
DEBUG rustls::client::hs > Resuming session
DEBUG rustls::client::hs > ALPN protocol is None
DEBUG rustls::client::hs > Using ciphersuite TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
DEBUG rustls::client::tls12::server_hello > Server agreed to resume
DEBUG cookie_store::cookie_store > inserting Set-Cookie 'Cookie { cookie_string: Some("SESSION=; Max-Age=0; Expires=Fri, 25 Jul 2025 22:28:39 GMT; Path=/; HTTPOnly; SameSite=Lax"), name: Indexed(0, 7), value: Indexed(8, 8), expires: Some(DateTime(2025-07-25 22:28:39.0 +00:00:00)), max_age: Some(Duration { seconds: 0, nanoseconds: 0 }), domain: None, path: Some(Indexed(65, 66)), secure: None, http_only: Some(true), same_site: Some(Lax), partitioned: None }'
DEBUG cookie_store::cookie_store > unable to store Set-Cookie: Expired
DEBUG cookie_store::cookie_store > inserting secure cookie 'TS01f5bb17'
DEBUG reqwest::async_impl::client > redirecting 'https://info-car.pl/oauth2/authorize?response_type=id_token+token&client_id=client&redirect_uri=https%3A%2F%2Finfo-car.pl%2Fnew%2Fassets%2Frefresh.html&scope=openid+profile+email+resource.read&prompt=none' to 'https://info-car.pl/new/assets/refresh.html#error=login_required'
DEBUG cookie_store::cookie_store > inserting secure cookie 'TS01f5bb17'
DEBUG info_car_api::client > Response { url: "https://info-car.pl/new/assets/refresh.html#error=login_required", status: 200, headers: {"date": "Fri, 25 Jul 2025 22:28:39 GMT", "content-type": "text/html", "content-length": "119", "connection": "keep-alive", "last-modified": "Wed, 18 Jun 2025 10:42:33 GMT", "etag": ""68529819-77"", "x-cached": "HIT", "accept-ranges": "bytes", "set-cookie": "TS01f5bb17=016ccbb8ca04821a23f4ef5d5b8f39913e29d0ec77c861f27f632194b801113b032e490d1f9097f1cb957e8ecc4a4c911164b7d45c9b16252e34bc4abc782606336c67a8f6; Path=/; Domain=.info-car.pl; Secure; HTTPOnly"} }
Error: ClientError(LoginError(TokenGetError(AccessTokenNotProvided({"error": "login_required"}))))
error: process didn't exit successfully: target\release\easycar.exe (exit code: 1)
PS C:\Users\User\easycar>
DEBUG selectors::matching > Matching complex selector [name="_csrf"][type="hidden"]input for
DEBUG selectors::matching > Matching complex selector [name="_csrf"][type="hidden"]input for
DEBUG selectors::matching > Matching complex selector [name="_csrf"][type="hidden"]input for
DEBUG selectors::matching > Matching complex selector [name="_csrf"][type="hidden"]input for
DEBUG selectors::matching > Matching complex selector [name="_csrf"][type="hidden"]input for
DEBUG selectors::matching > Matching complex selector [name="_csrf"][type="hidden"]input for
DEBUG selectors::matching > Matching complex selector [name="_csrf"][type="hidden"]input for
DEBUG cookie_store::cookie_store > inserting Set-Cookie 'Cookie { cookie_string: Some("SESSION=; Max-Age=0; Expires=Fri, 25 Jul 2025 22:28:39 GMT; Path=/; HTTPOnly; SameSite=Lax"), name: Indexed(0, 7), value: Indexed(8, 8), expires: Some(DateTime(2025-07-25 22:28:39.0 +00:00:00)), max_age: Some(Duration { seconds: 0, nanoseconds: 0 }), domain: None, path: Some(Indexed(65, 66)), secure: None, http_only: Some(true), same_site: Some(Lax), partitioned: None }'
DEBUG cookie_store::cookie_store > unable to store Set-Cookie: Expired
DEBUG cookie_store::cookie_store > inserting secure cookie 'TS01f5bb17'
DEBUG reqwest::async_impl::client > redirecting 'https://info-car.pl/oauth2/login' to 'https://info-car.pl/oauth2/login?error=failure'
DEBUG cookie_store::cookie_store > inserting Set-Cookie 'Cookie { cookie_string: Some("SESSION=; Max-Age=0; Expires=Fri, 25 Jul 2025 22:28:39 GMT; Path=/; HTTPOnly; SameSite=Lax"), name: Indexed(0, 7), value: Indexed(8, 8), expires: Some(DateTime(2025-07-25 22:28:39.0 +00:00:00)), max_age: Some(Duration { seconds: 0, nanoseconds: 0 }), domain: None, path: Some(Indexed(65, 66)), secure: None, http_only: Some(true), same_site: Some(Lax), partitioned: None }'
DEBUG cookie_store::cookie_store > unable to store Set-Cookie: Expired
DEBUG cookie_store::cookie_store > inserting secure cookie 'TS01f5bb17'
DEBUG reqwest::connect > starting new connection: https://info-car.pl/
DEBUG rustls::client::hs > Resuming session
DEBUG rustls::client::hs > ALPN protocol is None
DEBUG rustls::client::hs > Using ciphersuite TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
DEBUG rustls::client::tls12::server_hello > Server agreed to resume
DEBUG cookie_store::cookie_store > inserting Set-Cookie 'Cookie { cookie_string: Some("SESSION=; Max-Age=0; Expires=Fri, 25 Jul 2025 22:28:39 GMT; Path=/; HTTPOnly; SameSite=Lax"), name: Indexed(0, 7), value: Indexed(8, 8), expires: Some(DateTime(2025-07-25 22:28:39.0 +00:00:00)), max_age: Some(Duration { seconds: 0, nanoseconds: 0 }), domain: None, path: Some(Indexed(65, 66)), secure: None, http_only: Some(true), same_site: Some(Lax), partitioned: None }'
DEBUG cookie_store::cookie_store > unable to store Set-Cookie: Expired
DEBUG cookie_store::cookie_store > inserting secure cookie 'TS01f5bb17'
DEBUG reqwest::async_impl::client > redirecting 'https://info-car.pl/oauth2/authorize?response_type=id_token+token&client_id=client&redirect_uri=https%3A%2F%2Finfo-car.pl%2Fnew%2Fassets%2Frefresh.html&scope=openid+profile+email+resource.read&prompt=none' to 'https://info-car.pl/new/assets/refresh.html#error=login_required'
DEBUG cookie_store::cookie_store > inserting secure cookie 'TS01f5bb17'
DEBUG info_car_api::client > Response { url: "https://info-car.pl/new/assets/refresh.html#error=login_required", status: 200, headers: {"date": "Fri, 25 Jul 2025 22:28:39 GMT", "content-type": "text/html", "content-length": "119", "connection": "keep-alive", "last-modified": "Wed, 18 Jun 2025 10:42:33 GMT", "etag": ""68529819-77"", "x-cached": "HIT", "accept-ranges": "bytes", "set-cookie": "TS01f5bb17=016ccbb8ca04821a23f4ef5d5b8f39913e29d0ec77c861f27f632194b801113b032e490d1f9097f1cb957e8ecc4a4c911164b7d45c9b16252e34bc4abc782606336c67a8f6; Path=/; Domain=.info-car.pl; Secure; HTTPOnly"} }
Error: ClientError(LoginError(TokenGetError(AccessTokenNotProvided({"error": "login_required"}))))
error: process didn't exit successfully:
target\release\easycar.exe (exit code: 1)PS C:\Users\User\easycar>