-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
Issue with TLS enabled #246
Comments
Hi. I noticed these errors also using certain clients such as httpie but not from curl. Might not be a solution for you but I place the dream server behind a proxy and let that handle tls/certs etc and just route http. |
I will close this off, and off load the TLS to another device. |
Reopening this to remind myself to try to reproduce it. Do you recall what client you were using? This seems like an upstream issue, but something that Dream or upstream projects will want to fix. |
I was able to cause "some" errors by trying to access the HTTPS example with |
My previous message is wrong. I made a mistake in not using the
and
The server log also looks fine:
...which is, I believe, expected with Dream using its own self-signed development certificate. So this issue still needs reproducing with a production certificate. |
The error in the original report, |
@devvydeebug, thanks! So in summary, this issue is at its core invalid -- however, the text Perhaps we can just close this issue, and having had it here will already aid anyone that searches for this later. #259 should make the error text appear "sooner" for the log reader's eyes. |
We might want to have some kind of hints lookup table for additional text for Dream to print to the log to help developers with this. |
After development on macos I have moved the code to a production Ubuntu host, however after installing certs and enabling TLS i am getting the below errors:
11.01.23 18:19:59.989 dream.http WARN TLS (10.16.8.58:58360): SSL accept() error: error:1408F09C:SSL routines:ssl3_get_record:http request
11.01.23 18:19:59.989 dream.http WARN Raised by primitive operation at Lwt_ssl.ssl_accept.(fun) in file "src/lwt_ssl.ml", line 82, characters 31-48
11.01.23 18:19:59.990 dream.http WARN Called from Lwt_ssl.wrap_call in file "src/lwt_ssl.ml", line 47, characters 4-8
11.01.23 18:19:59.990 dream.http WARN Re-raised at Lwt_ssl.wrap_call in file "src/lwt_ssl.ml", line 57, characters 7-14
11.01.23 18:19:59.990 dream.http WARN Called from Lwt_ssl.repeat_call.(fun) in file "src/lwt_ssl.ml", line 63, characters 15-31
11.01.23 18:19:59.990 dream.http WARN Re-raised at Dream__http__Http.openssl.(fun) in file "src/http/http.ml", line 332, characters 6-1023
The text was updated successfully, but these errors were encountered: