0

I have created and interacted with a dashDB instance in IBM Bluemix through the web application but when I try the following curl command, from the dashDB API documentation :

curl --user "[userid]:[password]" -X GET "https://[hostname]:[port]/dashdb-api/home"

I get this error:

curl: (35) Unknown SSL protocol error in connection to <hostname>:50000

In this context, what does this error mean?

and_apo
  • 1,217
  • 3
  • 17
  • 41

1 Answers1

1

Turns out I have been using the wrong port in the hostname, the dashDB port is listed to be 5000 but because this call is https the port should be 8443.

and_apo
  • 1,217
  • 3
  • 17
  • 41
  • 1
    The dashDB data service ports are 50000 (non-SSL) and 50001 (SSL), whereas the console port is 8443. As you noticed, It's the console that processes the REST API calls made. – ScottMcG Jan 30 '17 at 18:45