Skip to content
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

Hints lookup table for explaining SSL errors #264

Open
aantron opened this issue Apr 22, 2023 · 0 comments
Open

Hints lookup table for explaining SSL errors #264

aantron opened this issue Apr 22, 2023 · 0 comments

Comments

@aantron
Copy link
Owner

aantron commented Apr 22, 2023

SSL errors are very cryptic, causing confusion in general experience and in #246 in particular. #259 and savonet/ocaml-ssl#108 should make this better by rearranging the SSL error output in Dream's logs. However, some of SSL's own error messages are still too brief and confusing, so it may be good for Dream to have a small table that contains additional hints to print to the log for certain errors.

For example, for the error in #246, Dream might print a warning like

WARN REQ 42 Hint: may be due to an plaintext HTTP request to a TLS server.

...or some even better phrasing explaining what is actually going, so the user is more likely to quickly figure out what is happening, especially if this is in development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant