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

[management] Not able to create an API from a swagger from https based url #1897

Closed
brasseld opened this Issue Feb 6, 2019 · 0 comments

Comments

Projects
None yet
3 participants
@brasseld
Copy link
Member

brasseld commented Feb 6, 2019

10:33:19.430 [gravitee-listener-29] INFO  i.g.m.s.impl.SwaggerServiceImpl - Loading an old Swagger descriptor from https://lgcpq-product-goldencopy-integration-apis.hpaas.lyreco.com/v0/v2/api-docs
10:33:19.507 [gravitee-listener-29] ERROR io.swagger.parser.util.RemoteUrl - unable to read
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
        at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
        at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1964)
        at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:328)
        at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:322)
        at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1614)
        at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
        at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1052)
        at sun.security.ssl.Handshaker.process_record(Handshaker.java:987)
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072)
        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385)
        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413)
        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397)
        at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:162)
        at io.swagger.parser.util.RemoteUrl.urlToString(RemoteUrl.java:133)
        at io.swagger.parser.SwaggerCompatConverter.readResourceListing(SwaggerCompatConverter.java:192)
        at io.swagger.parser.SwaggerCompatConverter.read(SwaggerCompatConverter.java:122)
        at io.swagger.parser.SwaggerCompatConverter.read(SwaggerCompatConverter.java:113)
        at io.gravitee.management.service.impl.SwaggerServiceImpl.prepareV1(SwaggerServiceImpl.java:104)
        at io.gravitee.management.service.impl.SwaggerServiceImpl.prepare(SwaggerServiceImpl.java:79)
        at io.gravitee.management.rest.resource.ApisResource.importSwagger(ApisResource.java:196)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:76)
        at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:148)
        at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:191)
        at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$T

@brasseld brasseld added this to the APIM - 1.23.0 milestone Feb 6, 2019

@brasseld brasseld self-assigned this Feb 6, 2019

@brasseld brasseld changed the title [management] Not able to create an PI from a swagger from https based url [management] Not able to create an API from a swagger from https based url Feb 6, 2019

brasseld added a commit to gravitee-io/gravitee-management-rest-api that referenced this issue Feb 12, 2019

NicolasGeraud added a commit to gravitee-io/gravitee-management-rest-api that referenced this issue Feb 13, 2019

NicolasGeraud added a commit to gravitee-io/gravitee-management-rest-api that referenced this issue Feb 13, 2019

@NicolasGeraud NicolasGeraud added this to Done in API Management via automation Feb 13, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.