Coder Social home page Coder Social logo

bing_api's People

Contributors

hakieh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

bing_api's Issues

httpx.ConnectError

(bing) E:\Code_folder\Bing_api-main>python EdgeGPT.py

    EdgeGPT - A demo of reverse engineering the Bing GPT chatbot
    Repo: github.com/acheong08/EdgeGPT
    By: Antonio Cheong

    !help for help

    Type !exit to exit

Initializing...
Enter alt+enter or escape+enter to send a message
Traceback (most recent call last):
File "E:\Anaconda3\envs\bing\lib\site-packages\httpcore_exceptions.py", line 10, in map_exceptions
yield
File "E:\Anaconda3\envs\bing\lib\site-packages\httpcore_backends\sync.py", line 206, in connect_tcp
sock = socket.create_connection(
File "E:\Anaconda3\envs\bing\lib\socket.py", line 823, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "E:\Anaconda3\envs\bing\lib\socket.py", line 954, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 11002] getaddrinfo failed

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "E:\Anaconda3\envs\bing\lib\site-packages\httpx_transports\default.py", line 66, in map_httpcore_exceptions
yield
File "E:\Anaconda3\envs\bing\lib\site-packages\httpx_transports\default.py", line 228, in handle_request
resp = self._pool.handle_request(req)
File "E:\Anaconda3\envs\bing\lib\site-packages\httpcore_sync\connection_pool.py", line 268, in handle_request
raise exc
File "E:\Anaconda3\envs\bing\lib\site-packages\httpcore_sync\connection_pool.py", line 251, in handle_request
response = connection.handle_request(request)
File "E:\Anaconda3\envs\bing\lib\site-packages\httpcore_sync\connection.py", line 99, in handle_request
raise exc
File "E:\Anaconda3\envs\bing\lib\site-packages\httpcore_sync\connection.py", line 76, in handle_request
stream = self._connect(request)
File "E:\Anaconda3\envs\bing\lib\site-packages\httpcore_sync\connection.py", line 124, in _connect
stream = self._network_backend.connect_tcp(**kwargs)
File "E:\Anaconda3\envs\bing\lib\site-packages\httpcore_backends\sync.py", line 213, in connect_tcp
sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)
File "E:\Anaconda3\envs\bing\lib\contextlib.py", line 137, in exit
self.gen.throw(typ, value, traceback)
File "E:\Anaconda3\envs\bing\lib\site-packages\httpcore_exceptions.py", line 14, in map_exceptions
raise to_exc(exc) from exc
httpcore.ConnectError: [Errno 11002] getaddrinfo failed

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "E:\Code_folder\Bing_api-main\EdgeGPT.py", line 532, in
asyncio.run(main())
File "E:\Anaconda3\envs\bing\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "E:\Anaconda3\envs\bing\lib\asyncio\base_events.py", line 647, in run_until_complete
return future.result()
File "E:\Code_folder\Bing_api-main\EdgeGPT.py", line 421, in main
bot = Chatbot(proxy=args.proxy)
File "E:\Code_folder\Bing_api-main\EdgeGPT.py", line 345, in init
Conversation(self.cookiePath, self.cookies, self.proxy),
File "E:\Code_folder\Bing_api-main\EdgeGPT.py", line 240, in init
response = self.session.get(
File "E:\Anaconda3\envs\bing\lib\site-packages\httpx_client.py", line 1041, in get
return self.request(
File "E:\Anaconda3\envs\bing\lib\site-packages\httpx_client.py", line 814, in request
return self.send(request, auth=auth, follow_redirects=follow_redirects)
File "E:\Anaconda3\envs\bing\lib\site-packages\httpx_client.py", line 901, in send
response = self._send_handling_auth(
File "E:\Anaconda3\envs\bing\lib\site-packages\httpx_client.py", line 929, in _send_handling_auth
response = self._send_handling_redirects(
File "E:\Anaconda3\envs\bing\lib\site-packages\httpx_client.py", line 966, in _send_handling_redirects
response = self._send_single_request(request)
File "E:\Anaconda3\envs\bing\lib\site-packages\httpx_client.py", line 1002, in _send_single_request
response = transport.handle_request(request)
File "E:\Anaconda3\envs\bing\lib\site-packages\httpx_transports\default.py", line 228, in handle_request
resp = self._pool.handle_request(req)
File "E:\Anaconda3\envs\bing\lib\contextlib.py", line 137, in exit
self.gen.throw(typ, value, traceback)
File "E:\Anaconda3\envs\bing\lib\site-packages\httpx_transports\default.py", line 83, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ConnectError: [Errno 11002] getaddrinfo failed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.