Describe the bug
I'm seeing a lot of HTTP/1.1 502 Bad Gateway errors when visiting web sites. I'm currently using the pre-configured browser (click on Manual Explore) and visiting https://pentesterlab.com. All the files on the domain assets.pentesterlab.com (such as https://assets.pentesterlab.com/public/css/bootstrap.css) result in 502 Bad Gateway errors. I tried to follow the advice over at https://github.com/zaproxy/zaproxy/wiki/FAQsslHandshake but nothing worked. I don't have an upstream proxy configured in ZAP or on my system
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The requests should be proxied correctly. I tried various things including enabling and disabling SSLv2Hello
Screenshots

Software versions
Errors from the zap.log file
See https://github.com/zaproxy/zaproxy/wiki/FAQconfig for the location of the zap.log file for your OS.
All I see are entries such as this:
297556 [ZAP-ProxyThread-224] WARN org.parosproxy.paros.core.proxy.ProxyThread - An exception occurred while attempting to connect to: https://assets.pentesterlab.com/public/js/spectragram.min.js
The exception was:
Received fatal alert: handshake_failure
Root cause:
SSLHandshakeException: Received fatal alert: handshake_failure
The following document may be of assistance in resolving this failure:
https://github.com/zaproxy/zaproxy/wiki/FAQsslHandshake
Additional context
Add any other context about the problem here.
Could you try with a newer Java version (can be 8, but newer update). Not seeing those errors with 1.8.0_222.
You were right. When I updated my Java version to 1.8.0_231, it worked. Thanks.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
You were right. When I updated my Java version to 1.8.0_231, it worked. Thanks.