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

HTTP Error 404 #447

Open
2 tasks done
hwhlee opened this issue Feb 25, 2024 · 5 comments
Open
2 tasks done

HTTP Error 404 #447

hwhlee opened this issue Feb 25, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@hwhlee
Copy link

hwhlee commented Feb 25, 2024

Before submitting a bug report...

  • This bug wasn't already reported.
    (I have checked every bug report on GitHub)

Title

  • The title is no longer "[BUG] Title" and I edited it with the right error name.

Describe the bug

Runtime error
HTTP Error 404
Browser does not open

Copy and paste your error

D:\Microsoft-Rewards-Farmer-master-bk>main.py
←[38;5;39m2024-02-25 19:19:21,995 [INFO] [email protected]←[0m
←[38;5;39m2024-02-25 19:19:22,423 [INFO] Using default request storage←[0m
←[38;5;39m2024-02-25 19:19:22,429 [INFO] Created proxy listening on 127.0.0.1:60858←[0m
←[38;5;39m2024-02-25 19:19:22,429 [INFO] Using undetected_chromedriver←[0m
←[38;5;196m2024-02-25 19:19:23,159 [ERROR] HTTPError: HTTP Error 404: Not Found←[0m
Traceback (most recent call last):
File "D:\Microsoft-Rewards-Farmer-master-bk\main.py", line 24, in main
executeBot(currentAccount, notifier, args)
File "D:\Microsoft-Rewards-Farmer-master-bk\main.py", line 127, in executeBot
with Browser(mobile=False, account=currentAccount, args=args) as desktopBrowser:
File "D:\Microsoft-Rewards-Farmer-master-bk\src\browser.py", line 41, in init
self.webdriver = self.browserSetup()
File "D:\Microsoft-Rewards-Farmer-master-bk\src\browser.py", line 77, in browserSetup
driver = webdriver.Chrome(
File "C:\Users\hwhle\AppData\Local\Programs\Python\Python310\lib\site-packages\seleniumwire\undetected_chromedriver\webdriver.py", line 61, in init
super().init(*args, **kwargs)
File "C:\Users\hwhle\AppData\Local\Programs\Python\Python310\lib\site-packages\undetected_chromedriver_init_.py", line 258, in init
self.patcher.auto()
File "C:\Users\hwhle\AppData\Local\Programs\Python\Python310\lib\site-packages\undetected_chromedriver\patcher.py", line 178, in auto
self.unzip_package(self.fetch_package())
File "C:\Users\hwhle\AppData\Local\Programs\Python\Python310\lib\site-packages\undetected_chromedriver\patcher.py", line 287, in fetch_package
return urlretrieve(download_url)[0]
File "C:\Users\hwhle\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 241, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
File "C:\Users\hwhle\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 216, in urlopen
return opener.open(url, data, timeout)
File "C:\Users\hwhle\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 525, in open
response = meth(req, response)
File "C:\Users\hwhle\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 634, in http_response
response = self.parent.error(
File "C:\Users\hwhle\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 563, in error
return self._call_chain(*args)
File "C:\Users\hwhle\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 496, in _call_chain
result = func(*args)
File "C:\Users\hwhle\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found

Screenshots

n/a browser does not open

Value of dashboard variable

n/a browser does not open

@hwhlee hwhlee added the bug Something isn't working label Feb 25, 2024
@Emrys-Lee-XD
Copy link

https://github.com/klept0/MS-Rewards-Farmer
check this version

@hwhlee
Copy link
Author

hwhlee commented Feb 25, 2024

https://github.com/klept0/MS-Rewards-Farmer check this version

Thanks. Tried that but it still throws the same HTTP Error 404

@Emrys-Lee-XD
Copy link

Emrys-Lee-XD commented Feb 25, 2024

https://github.com/klept0/MS-Rewards-Farmer check this version

Thanks. Tried that but it still throws the same HTTP Error 404

under the forlder try
pip install --upgrade -r requirements.txt

or use this in PowerShell to update all
pip freeze | %{$_ -split '==' | Select -First 1} | %{pip install --upgrade $_}

@Speechy13
Copy link

https://github.com/klept0/MS-Rewards-Farmer check this version

Thanks. Tried that but it still throws the same HTTP Error 404

under the forlder try pip install --upgrade -r requirements.txt

or use this in PowerShell to update all pip freeze | %{$.split('==')[0]} | %{pip install --upgrade $}

Yep this fixed it for me by running the 'pip install --upgrade -r requirements.txt'. Thanks!

@ChiIIerr
Copy link

Also fixed it for me! Thank you @Emrys-Lee-XD

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

4 participants