-
Notifications
You must be signed in to change notification settings - Fork 171
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
OpenSSL::SSL::SSLError: SSL_write: unsupported method #738
Comments
Is there any way to reproduce the error? Do you happen to use an OpenSSL engine or provider? The error message "unsupported method" likely belongs to OpenSSL BIO API, but it doesn't seem to be normal to appear here. |
This issue occasionally occurs while connecting to the Redis server on Azure, but it works fine when using OpenSSL version 1.1.1w. |
Could you provide a reproducer that I can run? The error message is unusual and I want to look into it. |
To reproduce the error, you'll need to set up a Redis server that requires an SSL connection, such as Azure Redis Cache(set ssl=true here). Configure your project to connect to this Redis instance. For example, you can use the latest Docker image for Ruby 3.1, which includes OpenSSL version 3.0.9, and attempt to execute a fetch command, you might encounter the error. If it succeeds initially, wait for 5-10 minutes, then execute the same command again. You should encounter the error at that point. |
Hello 👋
When establishing a connection to Azure Cache for Redis using
ssl
option, encountering this error.Redis 6.0.4
OpenSSL 3.0.11
Ruby 3.1.1
Rails 6.1.7.3
The text was updated successfully, but these errors were encountered: