You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
UnsupportedProtocol Traceback (most recent call last)
File ~/.local/lib/python3.10/site-packages/httpx/_transports/default.py:69, in map_httpcore_exceptions()
68 try:
---> 69 yield
70 except Exception as exc:
File ~/.local/lib/python3.10/site-packages/httpx/_transports/default.py:233, in HTTPTransport.handle_request(self, request)
232 with map_httpcore_exceptions():
--> 233 resp = self._pool.handle_request(req)
235 assert isinstance(resp.stream, typing.Iterable)
File ~/.local/lib/python3.10/site-packages/httpcore/_sync/connection_pool.py:167, in ConnectionPool.handle_request(self, request)
166 if scheme == "":
--> 167 raise UnsupportedProtocol(
168 "Request URL is missing an 'http://' or 'https://' protocol."
169 )
170 if scheme not in ("http", "https", "ws", "wss"):
UnsupportedProtocol: Request URL is missing an 'http://' or 'https://' protocol.
The above exception was the direct cause of the following exception:
UnsupportedProtocol Traceback (most recent call last)
File ~/.python/current/lib/python3.10/site-packages/openai/_base_client.py:926, in SyncAPIClient._request(self, cast_to, options, remaining_retries, stream, stream_cls)
...
963 'HTTP Request: %s %s "%i %s"', request.method, request.url, response.status_code, response.reason_phrase
964 )
966 try:
APIConnectionError: Connection error.
小白一枚,求大神给看一下
Beta Was this translation helpful? Give feedback.
All reactions