Ruby version : 3.0.2
Rails version : 7.0.4
omniauth version : 1.9.2
omniauth-cas version : 2.0.0
openssl version : 3.0.1 (upgrade after testing in 3.0.0
Error : OpenSSL::SSL::SSLError (SSL_read: unexpected eof while reading)
the entire error is below
This error happends when omniauth-cas call the CAS for ticket validation in https, if I'm in http that work unfortunately the server telling that the result has moved at the same adresse but in https.
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="https://cas_url/cas/serviceValidate?service=url%2Fauth%2Fcas%2Fcallback%3Furl%3Durl%252F&ticket=ticket">here</a>.</p>
</body></html>
--- Infos ---
Ruby version : 3.0.2 Rails version : 7.0.4 omniauth version : 1.9.2 omniauth-cas version : 2.0.0 openssl version : 3.0.1 (upgrade after testing in 3.0.0
Error : OpenSSL::SSL::SSLError (SSL_read: unexpected eof while reading) the entire error is below
provider :cas, url: 'https://cas_url', login_url: '/cas/login', service_validate_url: '/cas/serviceValidate', ca_path: '/etc/ssl/certs'
--------------------
This error happends when omniauth-cas call the CAS for ticket validation in
https
, if I'm in http that work unfortunately the server telling that the result has moved at the same adresse but in https.with
provider :cas, host: 'cas-test.univ-lemans.fr', ssl: false, login_url: '/cas/login', service_validate_url: '/cas/serviceValidate', ca_path: '/etc/ssl/certs'
So if I try to switch to
ssl: false
I can't have a great response.This is not an omniauth-cas error but maybe someone here can help and know why i have this error.