Skip to content
This repository was archived by the owner on Feb 1, 2023. It is now read-only.
This repository was archived by the owner on Feb 1, 2023. It is now read-only.

Error: connect ECONNREFUSED 54.72.152.240:443 #5

@rlopmar

Description

@rlopmar

Hi, your website is refusing me when sending a request. This was working a couple of weeks ago. Here my NodeJS code:

const recastai = require('recastai').default;
const myBotToken = '7342ac85a271995d596f6d21acfa0b88';

function setRecastBot(botToken){
    //let recastClient = new recastai('7342ac85a271995d596f6d21acfa0b88');
    let recastClient = new recastai(botToken);
    return recastClient;
};

let recastBot = setRecastBot(myBotToken);

recastBot.request.analyseText("Hello").then((response) => {
    console.log('response:');
    console.log(response);
    console.log('intent:');
    console.log(response.intent());
});

error:

(node:12532) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: connect ECONNREFUSED 54.194.194.229:443

Could you please assist?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions