ranjan-mohanty / vfs-appointment-bot

VFS Appointment Bot - This script automates checking for appointments at VFS Global offices in a specified country.
MIT License
193 stars 95 forks source link

Error when running tool #15

Closed justsharan closed 4 months ago

justsharan commented 1 year ago

I get this error when running the bot. Any next steps?

raise ValueError( ValueError: Timeout value connect was <object object at 0x7f20179fd490>, but it must be an int, float or None.

SuX97 commented 1 year ago

Are you using Windows? May due to cannot find firefox binary, you can add a line in _VfsClient.py:

 firefox_options.binary_location = r'C:\Program Files\Mozilla Firefox\firefox.exe' 
justsharan commented 1 year ago

I still get the same error. I'm running it on Debian, and Firefox is installed at /usr/bin/firefox (which is the location I put in the variable).

arthemis999 commented 1 year ago

This solved the issue for me:

pip3 uninstall urllib3
pip3 install urllib3==1.26.5
AbhayKasturia commented 4 months ago

The fix mentioned by arhtemis999 works on Mac as well.