Giter VIP home page Giter VIP logo

Comments (10)

Oliver-I avatar Oliver-I commented on August 23, 2024

@stevenpkg Can you take a look?

from assistant-simple.

stevenpkg avatar stevenpkg commented on August 23, 2024

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.

Skittles-Cosmo avatar Skittles-Cosmo commented on August 23, 2024

@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.

stevenpkg avatar stevenpkg commented on August 23, 2024

@Skittles-Cosmo still not sure, have you set the correct ASSISTANT_URL what region is your assistant workspace?

from assistant-simple.

Skittles-Cosmo avatar Skittles-Cosmo commented on August 23, 2024

@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.

BurakYilmaz92 avatar BurakYilmaz92 commented on August 23, 2024

@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.

Skittles-Cosmo avatar Skittles-Cosmo commented on August 23, 2024

@BurakYilmaz92 What worked for me is adding:
var assistant = new AssistantV2({
version: '2018-11-08',
iam_apikey: '',
url: ''
});

from assistant-simple.

Oliver-I avatar Oliver-I commented on August 23, 2024

Thanks @Skittles-Cosmo.

from assistant-simple.

livinglife2x avatar livinglife2x commented on August 23, 2024

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.

nagarajantj avatar nagarajantj commented on August 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.