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

'Failed to connect to proxy' error when using IPV6 proxy #66

Open
tufkubie opened this issue Nov 14, 2024 · 2 comments
Open

'Failed to connect to proxy' error when using IPV6 proxy #66

tufkubie opened this issue Nov 14, 2024 · 2 comments

Comments

@tufkubie
Copy link

Hello,
I have no problem using IPV4 proxy in BrowserSession but I get an error when using IPV6 proxy. (I am trying the latest version 0.9.0)

Failed to connect to proxy: ...

Exception ignored in: <function BrowserSession.del at 0x00000287EA1AF740>
Traceback (most recent call last):
File "C:\Users\thex\anaconda3\envs\env\Lib\site-packages\hrequests\browser\browser.py", line 610, in del
self.close()
File "C:\Users\thex\anaconda3\envs\env\Lib\site-packages\hrequests\browser\browser.py", line 596, in close
cookiejar = self.getCookies()
^^^^^^^^^^^^^^^^^
File "C:\Users\thex\anaconda3\envs\env\Lib\site-packages\hrequests\browser\browser.py", line 401, in getCookies
browser_cookies: list = self.context.cookies()
^^^^^^^^^^^^
AttributeError: 'BrowserSession' object has no attribute 'context'

@tufkubie
Copy link
Author

I tried 0.9.1 but same problem. Connection problem when using IPv6 proxy.

@tufkubie
Copy link
Author

the problem is related to 'geoip' in Camoufox. @daijro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant