We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm getting this compilation error. I'm sure it's probably related to the version of openssl I have
In lib/connect-proxy/src/connect-proxy/http_client.cr:4:3 4 | def self.new(uri : URI, tls = nil, ignore_env = false) ^-- Error: instantiating 'new(URI, Nil, Bool)' In lib/connect-proxy/src/connect-proxy/http_client.cr:7:12 7 | inst.set_proxy ConnectProxy.new(*ConnectProxy.parse_proxy_url) ^-------- Error: instantiating 'ConnectProxy::HTTPClient#set_proxy(ConnectProxy)' In lib/connect-proxy/src/connect-proxy/http_client.cr:21:5 21 | {% if compare_versions(Crystal::VERSION, "0.36.0") < 0 %} ^ Error: expanding macro There was a problem expanding macro 'macro_6391054336' Called macro defined in lib/connect-proxy/src/connect-proxy/http_client.cr:21:5 21 | {% if compare_versions(Crystal::VERSION, "0.36.0") < 0 %} Which expanded to: > 1 | > 2 | begin > 3 | @io = proxy.open(@host, @port, @tls, **proxy_connection_options) > 4 | rescue IO::Error > 5 | @io = nil > 6 | end > 7 | Error: instantiating 'ConnectProxy#open(String, Int32, (OpenSSL::SSL::Context::Client | Nil), dns_timeout: (Time::Span | Nil), connect_timeout: (Time::Span | Nil), read_timeout: (Time::Span | Nil))' In lib/connect-proxy/src/connect-proxy.cr:103:41 103 | context.add_x509_verify_flags OpenSSL::SSL::X509VerifyFlags::IGNORE_CRITICAL ^--------------------------------------------- Error: undefined constant OpenSSL::SSL::X509VerifyFlags::IGNORE_CRITICAL
❯ openssl version LibreSSL 3.3.6 ❯ which openssl /usr/bin/openssl ❯ crystal -v Crystal 1.14.0 (2024-10-09) LLVM: 19.1.1 Default target: aarch64-apple-darwin24.0.0
I'm using v2.0.2
v2.0.2
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm getting this compilation error. I'm sure it's probably related to the version of openssl I have
I'm using
v2.0.2
The text was updated successfully, but these errors were encountered: