Open seriable opened 8 months ago
I meet the same problem and I think the reason is the IP where you got cookies and where you run the client is not the same. It might be easy to solve if author adds a proxy method for the client.
@Krasuszz I'm not sure the IP difference is the problem. I was running it using a proxy that was a different IP than where I got my cookie.
@Krasuszz I'm not sure the IP difference is the problem. I was running it using a proxy that was a different IP than where I got my cookie.
Could you please tell me how to run the code using a proxy? When I specify the proxy parameter, I get an HTTP 200 error. The only solution I currently know is to deploy the code on a server with a physical IP in the United States.
When I running the example code import asyncio
from sydney import SydneyClient
import os os.environ["BING_COOKIES"] = "......."
async def main() -> None: async with SydneyClient() as sydney: while True: prompt = input("You: ")
if name == "main": asyncio.run(main())
It happened a error raise CreateConversationException( sydney.exceptions.CreateConversationException: Failed to create conversation, received status: 403 Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x000001D5B8C19930> Unclosed connector
Could you help me to solve the problem