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

EOF occurred in violation of protocol #20

Open
Junital opened this issue Apr 18, 2024 · 2 comments
Open

EOF occurred in violation of protocol #20

Junital opened this issue Apr 18, 2024 · 2 comments

Comments

@Junital
Copy link

Junital commented Apr 18, 2024

When I run gqa.ipynb, there is an error I can't fix:


SSLError Traceback (most recent call last)
SSLError: [SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1007)

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

MaxRetryError Traceback (most recent call last)
File e:\Anaconda3\envs\visprog\lib\site-packages\requests\adapters.py:486, in HTTPAdapter.send(self, request, stream, timeout, verify, cert, proxies)
485 try:
--> 486 resp = conn.urlopen(
487 method=request.method,
488 url=url,
489 body=request.body,
490 headers=request.headers,
491 redirect=False,
492 assert_same_host=False,
493 preload_content=False,
494 decode_content=False,
495 retries=self.max_retries,
496 timeout=timeout,
497 chunked=chunked,
498 )
500 except (ProtocolError, OSError) as err:

File e:\Anaconda3\envs\visprog\lib\site-packages\urllib3\connectionpool.py:877, in HTTPConnectionPool.urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, preload_content, decode_content, **response_kw)
...
374 request_id=result.headers.get("X-Request-Id"),
375 )
376 # Don't read the whole stream for debug logging unless necessary.

APIConnectionError: Error communicating with OpenAI


OS: Win11
conda env: visprog

I will appreciate it if there are some solutions.

@Junital
Copy link
Author

Junital commented Apr 19, 2024

It seems that text-davinci-003 is not useful, I change a model and it works.

@Junital
Copy link
Author

Junital commented Apr 20, 2024

#21 It's the pull request where I changed the GPT model for GQA task, and this issue can be solved.

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