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

SuppressionsLoaderTest.loadFilterSet failing with SSLHandshakeException while fetching file from checkstyle.org #11345

Closed
romani opened this issue Feb 27, 2022 · 1 comment

Comments

@romani
Copy link
Member

romani commented Feb 27, 2022

I run into stable failure of UTs:

-------------------------------------------------------------------------------
Test set: com.puppycrawl.tools.checkstyle.filters.SuppressionsLoaderTest
-------------------------------------------------------------------------------
Tests run: 19, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 6.549 s <<< FAILURE! - in com.puppycrawl.tools.checkstyle.filters.SuppressionsLoaderTest
testLoadFromUrl  Time elapsed: 6.523 s  <<< ERROR!
com.puppycrawl.tools.checkstyle.api.CheckstyleException: Unable to read https://checkstyle.org/files/suppressions_none.xml
	at com.puppycrawl.tools.checkstyle.filters.SuppressionsLoaderTest.loadFilterSet(SuppressionsLoaderTest.java:201)
	at com.puppycrawl.tools.checkstyle.filters.SuppressionsLoaderTest.testLoadFromUrl(SuppressionsLoaderTest.java:70)
Caused by: javax.net.ssl.SSLHandshakeException: No subject alternative DNS name matching checkstyle.org found.
	at com.puppycrawl.tools.checkstyle.filters.SuppressionsLoaderTest.loadFilterSet(SuppressionsLoaderTest.java:201)
	at com.puppycrawl.tools.checkstyle.filters.SuppressionsLoaderTest.testLoadFromUrl(SuppressionsLoaderTest.java:70)
Caused by: java.security.cert.CertificateException: No subject alternative DNS name matching checkstyle.org found.
	at com.puppycrawl.tools.checkstyle.filters.SuppressionsLoaderTest.loadFilterSet(SuppressionsLoaderTest.java:201)
	at com.puppycrawl.tools.checkstyle.filters.SuppressionsLoaderTest.testLoadFromUrl(SuppressionsLoaderTest.java:70)
@romani
Copy link
Member Author

romani commented Feb 28, 2022

Fixed in 10.0 as it was blocker to release for me.

@romani romani closed this as completed Feb 28, 2022
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