Dune
12-19-2014, 04:38 PM
Bonjour,
merci
J'ai utilisé sur Hubic l'option "Developpeurs" permettant d'ajouter une application et générer les informations de connection : "Client ID" et "Client secret" ; mais cela ne marche pas et j'ai une erreur d'authenficiaction à la connection :
Exception in thread "main" org.scribe.exceptions.OAuthConnectionException: There was a problem while creating a connection to the remote service.
at org.scribe.model.Request.send(Request.java:70)
at org.scribe.model.Request.send(Request.java:76)
at org.swiftexplorer.auth.oauth.HubicOAuth20ServiceIm pl.refreshAccessToken(HubicOAuth20ServiceImpl.java :91)
at org.swiftexplorer.swift.util.HubicSwift.refreshAcc essToken(HubicSwift.java:87)
at com.adanam.metacloud.storage.hubic.HubicServiceRef reshToken.main(HubicServiceRefreshToken.java:32)
Caused by: java.lang.IllegalArgumentException: SSL
at sun.security.ssl.ProtocolVersion.valueOf(ProtocolV ersion.java:161)
at sun.security.ssl.ProtocolList.convert(ProtocolList .java:84)
at sun.security.ssl.ProtocolList.(ProtocolList. java:52)
at sun.security.ssl.SSLSocketImpl.setEnabledProtocols (SSLSocketImpl.java:2442)
at sun.net.http://www.protocol.https.HttpsClien...ient.java:467)
at sun.net.http://www.protocol.https.AbstractDe...tion.java:185)
at sun.net.http://www.protocol.http.HttpURLConn...ion.java:1281)
at sun.net.http://www.protocol.http.HttpURLConn...ion.java:1256)
at sun.net.http://www.protocol.https.HttpsURLCo...Impl.java:250)
at org.scribe.model.Request.addBody(Request.java:136)
at org.scribe.model.Request.doSend(Request.java:114)
at org.scribe.model.Request.send(Request.java:66)
merci de votre aide,
cordialement,
merci
J'ai utilisé sur Hubic l'option "Developpeurs" permettant d'ajouter une application et générer les informations de connection : "Client ID" et "Client secret" ; mais cela ne marche pas et j'ai une erreur d'authenficiaction à la connection :
Exception in thread "main" org.scribe.exceptions.OAuthConnectionException: There was a problem while creating a connection to the remote service.
at org.scribe.model.Request.send(Request.java:70)
at org.scribe.model.Request.send(Request.java:76)
at org.swiftexplorer.auth.oauth.HubicOAuth20ServiceIm pl.refreshAccessToken(HubicOAuth20ServiceImpl.java :91)
at org.swiftexplorer.swift.util.HubicSwift.refreshAcc essToken(HubicSwift.java:87)
at com.adanam.metacloud.storage.hubic.HubicServiceRef reshToken.main(HubicServiceRefreshToken.java:32)
Caused by: java.lang.IllegalArgumentException: SSL
at sun.security.ssl.ProtocolVersion.valueOf(ProtocolV ersion.java:161)
at sun.security.ssl.ProtocolList.convert(ProtocolList .java:84)
at sun.security.ssl.ProtocolList.
at sun.security.ssl.SSLSocketImpl.setEnabledProtocols (SSLSocketImpl.java:2442)
at sun.net.http://www.protocol.https.HttpsClien...ient.java:467)
at sun.net.http://www.protocol.https.AbstractDe...tion.java:185)
at sun.net.http://www.protocol.http.HttpURLConn...ion.java:1281)
at sun.net.http://www.protocol.http.HttpURLConn...ion.java:1256)
at sun.net.http://www.protocol.https.HttpsURLCo...Impl.java:250)
at org.scribe.model.Request.addBody(Request.java:136)
at org.scribe.model.Request.doSend(Request.java:114)
at org.scribe.model.Request.send(Request.java:66)
merci de votre aide,
cordialement,