Soundcloud JAVA api wrapper : SSLException

一个人想着一个人 提交于 2019-12-08 09:33:24

问题


When using the soundcloud JAVA wrapper for the API

i get the following SSL error

javax.net.ssl.SSLException: hostname in certificate didn't match: 
api.soundcloud.com/178.249.136.151 != api.soundcloud.com OR api.soundcloud.com

I am using java-api-wrapper-1.1.2-all.jar

Found a google group post saying using the jar with everything bundled (..-all.jar) fixed the issue, but apparently not for me..

Anyone has an idea?


回答1:


Found the problem,

Conflicting jars for org apache httpclient, removed 4.1.2 and left 4.1.1, witch solved the issue.



来源:https://stackoverflow.com/questions/13093412/soundcloud-java-api-wrapper-sslexception

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!