Coder Social home page Coder Social logo

Comments (6)

mauriciomagalhaes avatar mauriciomagalhaes commented on July 17, 2024 1

Estou usando o POSTMAN, quando uso o parametro JSON "chatwoot_url": "192.168.52.20:3000", dá o erro acima

se colocar "chatwoot_url": "http://192.168.52.20:3000",

[Evolution API] 1 - Thu Aug 03 2023 19:21:57 ERROR [unhandledRejection] [object]
{
origin: Promise {
AxiosError: connect EADDRNOTAVAIL ::1:80 - Local (:::0)
at internalConnect (node:net:1041:16)
at defaultTriggerAsyncIdScope (node:internal/async_hooks:464:18)
at node:net:1134:9
at processTicksAndRejections (node:internal/process/task_queues:78:11) {
port: 80,
address: '::1',
syscall: 'connect',
code: 'EADDRNOTAVAIL',
errno: -99,
config: [Object],
request: [Writable]
}
},
stderr: 2,
error: AxiosError: connect EADDRNOTAVAIL ::1:80 - Local (:::0)
at internalConnect (node:net:1041:16)
at defaultTriggerAsyncIdScope (node:internal/async_hooks:464:18)
at node:net:1134:9
at processTicksAndRejections (node:internal/process/task_queues:78:11) {
port: 80,
address: '::1',
syscall: 'connect',
code: 'EADDRNOTAVAIL',
errno: -99,
config: {
transitional: [Object],
adapter: [Function: httpAdapter],
transformRequest: [Array],
transformResponse: [Array],
timeout: 0,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
env: [Object],
validateStatus: [Function: validateStatus],
headers: [Object],
url: 'http//192.168.52.20:3000/api/v1/accounts/1/inboxes',
method: 'get',
withCredentials: true,
cancelToken: [CancelToken],
data: undefined
},
request: Writable {
_writableState: [WritableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
_options: [Object],
_ended: true,
_ending: true,
_redirectCount: 0,
_redirects: [],
_requestBodyLength: 0,
_requestBodyBuffers: [],
_onNativeResponse: [Function (anonymous)],
_currentRequest: [ClientRequest],
_currentUrl: 'http//192.168.52.20:3000/api/v1/accounts/1/inboxes',
[Symbol(kCapture)]: false
}
}
}

PS.: So acontece em docker, instalei no ubuntu 22.04 via NPM, funciona normalmente

from evolution-api.

DavidsonGomes avatar DavidsonGomes commented on July 17, 2024

Mostra o erro do axios completo, nao da pra saber que erro é

from evolution-api.

mauriciomagalhaes avatar mauriciomagalhaes commented on July 17, 2024

Desculpa, pensei que tinha printado tudo!
image

from evolution-api.

mauriciomagalhaes avatar mauriciomagalhaes commented on July 17, 2024

Instalei Evolution vi npm com o chatwoot e o mesmo problema ocorre. vou tentar uma versao anterior

from evolution-api.

DavidsonGomes avatar DavidsonGomes commented on July 17, 2024

Teste utilizar a api do chatwoot via postman para ver se tem o mesmo erro

Qual a versao do chatwoot usa?

from evolution-api.

willsza avatar willsza commented on July 17, 2024

Acontece esse mesmo erro pra mim verificando nos logs do container... porém recebo 200 no postman informando que a caixa foi cridada com sucesso mas não aparece no Chatwoot.

from evolution-api.

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.