Comments (6)
dsn=params.__bx_creds[Object.keys(params.__bx_creds)[0]].dsn;
"dsn" returned by the above code is "undefined"
from slack-chatbot-database-watson.
This is my result. I assume the error you are seeing is related to #10. It could be that provisioning your database service was not successful. Hence you have trouble accessing the Db2 management console and see the error caused by missing credentials.
My recommendation is to recreate the Db2 service, i.e., delete it, then create it again.
$ sh setup.sh foobar "dashdb-for-transactions"
ok: created namespace slackbot
If you are using any deprecated action runtimes, update them to continue receiving updates and support. Deprecated runtimes might be disabled in future.
For more information see <https://ibm.biz/Functions-Runtimes>
ok: whisk namespace set to slackbot
ok: created package slackdemo
ok: created action slackdemo/db2Setup
Credentials 'slackbotkey' from 'dashdb-for-transactions' service instance 'eventDB' bound to 'slackdemo/db2Setup'.
{
"result": []
}
{
"result": []
}
ok: created action slackdemo/dispatch
Credentials 'slackbotkey' from 'dashdb-for-transactions' service instance 'eventDB' bound to 'slackdemo/dispatch'.
from slack-chatbot-database-watson.
I am closing this issue. Please reopen if my recommendation does not solve the issue.
from slack-chatbot-database-watson.
@data-henrik what data center did you use to provision the DB2 instance when testing? Thank you
from slack-chatbot-database-watson.
@lee-zhg let's communicate via #10
from slack-chatbot-database-watson.
@data-henrik, This morning I run everything again in IBM Cloud Shell as you did not encounter the same issue. And, I got the same result as I did on my local machine yesterday.
Could you please try it in Cloud Shell? It can ensure we run the process in the same environment. I feel we may have a diff CLI env as we see diff result. I am interesting to see if it works for you in Cloud Shell.
from slack-chatbot-database-watson.
Related Issues (7)
- Remove code and references to Conversation connector HOT 1
- Error message "The data cannot be displayed" when accessing the DB2 database in console HOT 16
- Issue with setup.sh script HOT 1
- db2Setup fails because resource-controller.ibm.com: no such host HOT 5
- Simplify setup script regarding quotes HOT 1
- Can't get step 4 to work HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slack-chatbot-database-watson.