srcao

Results 9 comments of srcao

这么设置好像行不通,需要在 api.py 中进一步修改吗? ![image](https://github.com/snowby666/poe-api-wrapper/assets/60139266/a2ad1b5c-e38a-4b41-99de-c1eea873d42c) 2024-03-20 10:20:06.357 | WARNING | poe_api_wrapper.api:on_ws_close:296 - Connection to remote host was lost. Reconnecting... 2024-03-20 10:20:15.887 | INFO | poe_api_wrapper.api:select_proxy:126 - Connection failed with {'https': 'socks5://127.0.0.1:7890',...

I installed poe_api_wrapper[proxy]. My operating system is Win11, and the Python version is 3.9.12

Did you enable Clash or other proxy software when testing? I keep Clash on when running the sample code. If I turn off Clash, I can't access Poe.com.

![下载_00](https://github.com/snowby666/poe-api-wrapper/assets/60139266/c87cba82-57ce-4a25-a3d5-f259cf6063ee)

I still can't use it. client = PoeApi(token) File "C:\Users\cao\AppData\Roaming\Python\Python39\site-packages\poe_api_wrapper\api.py", line 124, in __init__ 'Quora-Formkey': self.get_formkey, File "C:\Users\cao\AppData\Roaming\Python\Python39\site-packages\poe_api_wrapper\api.py", line 144, in get_formkey response = self.client.get(self.BASE_URL, headers=self.HEADERS, follow_redirects=True) File "C:\Users\cao\AppData\Roaming\Python\Python39\site-packages\httpx\_client.py", line...

I lowered the version of urllib3 to 1.25.11 and solved the above problem. It shows that the connection is established but another problem occurs. Have you ever encountered this situation?...

> > I lowered the version of urllib3 to 1.25.11 and solved the above problem. It shows that the connection is established but another problem occurs. Have you ever encountered...

@Hecbi 首先非常感谢您的分享,我今晚尝试后也能正确识别代理,不过仍存在下面这个问题 ![image](https://github.com/snowby666/poe-api-wrapper/assets/60139266/128926f0-9f9b-4e10-85bf-527a4c0aea75) 我分别使用了quora.com 和 poe.com 最新的 token ,也更新了 poe-api-wrapper ,我不太清楚是什么原因导致该问题。如果您曾遇到过相似的问题,方便分享一下您是如何解决的吗?

> @Hecbi 首先非常感谢您的分享,我今晚尝试后也能正确识别代理,不过仍存在下面这个问题 ![image](https://private-user-images.githubusercontent.com/60139266/302113740-128926f0-9f9b-4e10-85bf-527a4c0aea75.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDcxNDY0NDUsIm5iZiI6MTcwNzE0NjE0NSwicGF0aCI6Ii82MDEzOTI2Ni8zMDIxMTM3NDAtMTI4OTI2ZjAtOWY5Yi00ZTEwLTg1YmYtNTI3YTRjMGFlYTc1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAyMDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMjA1VDE1MTU0NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFkMmIwMDg3OTExMDIzZmI5OWY0MWM4ZjI5YWZlNmVjNjVkNzhiODlkMjNmYzk4Y2YyMTZhZTMzMzgyMmQ2YTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.D0DVQmVAcokw_7RxQwCt__9BJZU7CfG7HZnFo3-cdkM) 我分别使用了quora.com 和 poe.com 最新的 token ,也更新了 poe-api-wrapper ,我不太清楚是什么原因导致该问题。如果您曾遇到过相似的问题,方便分享一下您是如何解决的吗? 找到原因了,def ws_run_thread(self) 中的 "http_proxy_port"这个端口号需要修改成自己的端口。 终于可以愉快的玩耍了,再次感谢!