-
Notifications
You must be signed in to change notification settings - Fork 224
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 occured in violation of protocol -- From EC2 AWS #237
Comments
Hi, @bertello72. Is this happening every time? Intermittently? Just a one-off? |
It varies a lot.
First attempt: ~600 words in the prompt, ~400 words in output, and then
crashed
Second attempt: ~600 words in the prompt, and then crashed (no output)
Third attempt: three consecutive prompts with ok outputs, and then crashed
Il giorno mar 30 gen 2024 alle ore 17:59 Mattt ***@***.***>
ha scritto:
… Hi, @bertello72 <https://github.com/bertello72>. Is this happening every
time? Intermittently? Just a one-off?
—
Reply to this email directly, view it on GitHub
<#237 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BFTUJONAJJCIL77YQHABP5DYRERGPAVCNFSM6AAAAABCRKTIVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJXGQ4DSMZZGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@bertello72 Thanks for clarifying. Searching around for that error message, it sounds like the problem can be resolved by upgrading your installation of OpenSSL or nginx (if you're using that). See this SO thread. |
i haven't used nginx and I've checked OpenSSL; it's the latest available in AWS EC2 Amazon Linux. AWS Service Support gave me this advice: <<I did researched about the error "[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1007)" and found that it might be related to SSL/TLS mismtach between server and hosts. I have got information from below external source: Does it rise in your mind some insights on how to fix the problem? |
@bertello72 According to python/cpython#110467, this appears to be a problem with Python 3.10. I'd recommend upgrading to a newer version of Python. Since this doesn't appear to be a problem with the Replicate client library itself, I'll go ahead and close this issue for now. |
I got this error message executing the code in Ec2 AWS Linux Ubuntu 22.04.2 (not locally): [SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1007)
Replicate v. 0.23.1
Error log:
The text was updated successfully, but these errors were encountered: