watson-developer-cloud / speech-android-sdk

DEPRECATED - Please use https://github.com/watson-developer-cloud/android-sdk
Apache License 2.0
67 stars 53 forks source link

Websocket ssl error #11

Closed abhiguru closed 5 years ago

abhiguru commented 8 years ago

I followed the instructions in the quick start guide but was unable to run the example I get the error below:

com.ibm.watson.developer_cloud.android.examples E: WebSocket error com.ibm.watson.developer_cloud.android.examples E: ssl == null com.ibm.watson.developer_cloud.android.examples E: ssl == null

I read here https://developer.ibm.com/answers/questions/174846/using-websockets-in-speech-to-text.html that there needs to be a cert installed for wss but I could not find instructions related to it can you point me to where the instructions are ?

KeyOnTech commented 8 years ago

Im sure you did but checking did you add the internet permission to your manifest

abhiguru commented 8 years ago

I did(below manifest), btw thanks for the write-up was helpful!
uses-permission android:name="android.permission.RECORD_AUDIO"uses-permission android:name="android.permission.INTERNET" uses-permission android:name="android.permission.WRITE_SETTINGS" uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"

mihui commented 8 years ago

@abhiguru could this one be closed?