ibm-cloud

IBM DB2 Connections

IBM DB2 Connections Question: Why can I connect to my sql db2 while using jupyter notebooks in ibm cloud but when I try to run the same connection string in ms vs code I get an error? ”’%sql ibm_db_sa://un:pw@host:port/db?security=SSL”’ (ibm_db_dbi.Error) ibm_db_dbi::Error: [IBM][CLI Driver] SQL5005C The operation failed because the database manager failed to access either …

Total answers: 2

Speech Recognition(IBM) username and password

Speech Recognition(IBM) username and password Question: I hope to use IBM speech recognition service without – curl or ibm_watson module. And my attempt is below: import speech_recognition as sr r = sr.Recognizer() text = r.recognize_ibm(audio,username=”,password=”) Even though, I have ‘Service credentials’ for IBM cloud – speech to text, I cannot find correct form for the …

Total answers: 1

Kafka Error INVALID_ARG No Such configuration property sasl.mechanisms when using confluent-kafka-python

Kafka Error INVALID_ARG No Such configuration property sasl.mechanisms when using confluent-kafka-python Question: When trying to use the Message Hub Bluemix service with confluent-kafka-python, I am getting the ERROR Uncaught exception: , KafkaError{code=_INVALID_ARG,val=-186,str=”No such configuration property: “sasl.mechanisms””} Asked By: ValerieLampkin || Source Answers: This error indicates that librdkafka (the library confluent-kafka-python wraps) has not been compiled …

Total answers: 2

CSRF validation does not work on Django using HTTPS

CSRF validation does not work on Django using HTTPS Question: I am developing an application which the frontend is an AngularJS API that makes requests to the backend API developed in Django Rest Framework. The frontend is on the domain: https://front.bluemix.net And my backend is on the domain: https://back.bluemix.net I am having problems making requests …

Total answers: 6

When a Python app runs out side of Bluemix but fails when run in Bluemix

When a Python app runs out side of Bluemix but fails when run in Bluemix Question: This is a question that I am going to answer myself, as I have seen it countless times and it really should count as a FAQ. Say you have created a Flask or a Django application and it is …

Total answers: 1