Comments (10)
@stevenpkg Can you take a look?
from assistant-simple.
Not sure from the information you have given me what the problem is. Are you still having the problem, if so, can you post the full console error using this command NODE_DEBUG=request npm start
from assistant-simple.
@stevenpkg Yes I am.
This is what I get on console:
POST http://localhost:3000/api/message 500 (Internal Server Error)
sendRequest @ api.js:76
init @ conversation.js:32
(anonymous) @ global.js:10
(anonymous) @ global.js:105
09:37:36.164
XHR failed loading: POST "http://localhost:3000/api/message".
sendRequest @ api.js:76
init @ conversation.js:32
(anonymous) @ global.js:10
(anonymous) @ global.js:105
from assistant-simple.
@Skittles-Cosmo still not sure, have you set the correct ASSISTANT_URL
what region is your assistant workspace?
from assistant-simple.
@stevenpkg I'm using 'https://gateway-lon.watsonplatform.net/assistant/api'. My assistant workspace is in London.
I managed to get rid of the status 500 and it works properly on local host now. I pushed it up to Cloud and it runs for a while then crashes. I get the following message: Failed to load resource: the server responded with a status of 502 (Bad Gateway)
from assistant-simple.
@Skittles-Cosmo Can you share how you get rid of the status 500 in your local ? I am having same issue now
from assistant-simple.
@BurakYilmaz92 What worked for me is adding:
var assistant = new AssistantV2({
version: '2018-11-08',
iam_apikey: '',
url: ''
});
from assistant-simple.
Thanks @Skittles-Cosmo.
from assistant-simple.
I ran in to similar issue. Make sure you give assistant id not workspace id of your skill,the same for url
from assistant-simple.
Hi,
I have one doubt how much size of data through controller to view using jquery ajax method in mvc 4
from assistant-simple.
Related Issues (20)
- support for disambiguation
- The last Commit latest Work
- 502 bad gateway when pushed up HOT 6
- "I'm having trouble connecting to the server, please refresh the page" HOT 3
- I'm having trouble connecting to the server, please refresh the page HOT 18
- I'm having trouble connecting to the server HOT 3
- ETIMEDOUT err.code causes app to fail HOT 2
- Error 413 (Payload Too Large) custom context variables HOT 4
- I'm having trouble connecting to the server, please refresh the page HOT 3
- Skills with DISCOVERY-IT DON'T SHOW THE ANSWER HOT 1
- Reset the session once expired HOT 1
- Adding code to filter the response HOT 1
- Test failed. Error: Dialog Error: Protocol error. HOT 1
- Accessing the state property of system object in the skills object of context variable in ibm watson assistant v2 api HOT 4
- Uncaught TypeError: Cannot read property 'session_id' of undefined HOT 2
- Unable to start the app : Failed at the @ start script. HOT 1
- missing render of search skill HOT 1
- How can I add a context variable in api.js?
- ng serve fails with below error
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 assistant-simple.