I am trying to run an application on localhost but keep receiving this error when I try to run it. What is wrong? On one of my computers, this works but on one it does notwork.
at Object.exports._errnoException (util.js:1022:11)
at exports._exceptionWithHostPort (util.js:1045:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1087:14)
Related
I have node.js app that uses Redis as a cache among other things.
When my app is running on my Linux server it works great without any problems. But when I am running it locally on my windows machine through WSL it disconnects randomly but mostly when it idles.
it disconnects with this error:
Emitted 'error' event on RedisClient instance at:
at RedisClient.on_info_cmd (C:\Users\mynam\OneDrive\Desktop\nodeapp\node_modules\redis\index.js:431:14)
at C:\Users\mynam\OneDrive\Desktop\nodeapp\node_modules\redis\index.js:470:14
at Object.callbackOrEmit [as callback_or_emit] (C:\Users\mynam\OneDrive\Desktop\nodeapp\node_modules\redis\lib\utils.js:89:9)
at Command.callback (C:\Users\mynam\OneDrive\Desktop\nodeapp\node_modules\redis\lib\individualCommands.js:157:15)
at RedisClient.flush_and_error (C:\Users\mynam\OneDrive\Desktop\nodeapp\node_modules\redis\index.js:309:29)
at RedisClient.connection_gone (C:\Users\mynam\OneDrive\Desktop\nodeapp\node_modules\redis\index.js:602:14)
[... lines matching original stack trace ...]
at endReadableNT (node:internal/streams/readable:1307:12) {
code: 'UNCERTAIN_STATE',
command
}
And on rarer times with this error:
Error: connect ECONNREFUSED 127.0.0.1:6379
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1139:16)
Emitted 'error' event on RedisClient instance at:
at RedisClient.on_error (C:\Users\mynam\OneDrive\Desktop\nodeapp\node_modules\redis\index.js:341:14)
at Socket.<anonymous> (C:\Users\mynam\OneDrive\Desktop\nodeapp\node_modules\redis\index.js:222:14)
at Socket.emit (node:events:379:20)
at emitErrorNT (node:internal/streams/destroy:188:8)
at emitErrorCloseNT (node:internal/streams/destroy:153:3)
at processTicksAndRejections (node:internal/process/task_queues:81:21) {
errno: -4078,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 6379
}
while running yarn run develop I am getting this error::: webpack-dev-server --open --config ./webpack.config.develop.js Error: getaddrinfo ENOTFOUND apps.local.clarivate.com at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:56:26) error Command failed with exit code 1.
please someone help me
I am using node v10.16.0,yarn -- 1.22.4
I've been using Dialogflow as the conversational agent for a chatbot. It was working totally fine until today. I keep getting the below error in between the chat. I see that there is an uncertainty in the dialogflow response, it does not give the error always but still returns error multiple times in the chat. Can someone please provide a solution for this?
(node:29313) UnhandledPromiseRejectionWarning: **Error: getaddrinfo EAI_AGAIN api.dialogflow.com:443**
at Object._errnoException (util.js:1022:11)
at errnoException (dns.js:55:15)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:92:26)
I am using axios as an HTTP client. When I try to POST on my local server I get this error message:
{ Error: connect ECONNREFUSED 127.0.0.1:80
at Object._errnoException (util.js:1022:11)
at _exceptionWithHostPort (util.js:1044:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1198:14)
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 80,
config:{......................
.............................
.........}
I don't know what is wrong in my node js app. I am posting data to port 80(instead of to localhost' port) Does someone have any ideas?
I'm getting ETIMEDOUT error while installing webdriver-manager updated. Find the error details as below:
C:\Users\....> webdriver-manager update
webdriver-manager: using global installed version 12.0.6
events.js:160
throw er; // Unhandled 'error' event
^
Error: connect ETIMEDOUT XX.XXX.XX.XXX:XXX
at Object.exports._errnoException (util.js:1018:11)
at exports._exceptionWithHostPort (util.js:1041:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1086:14)
Also when I tried to ping the host XX.XXX.XX.XXX. Got Destination net unreachable message. Could you please anyone help me to overcome this issue.
By giving the below comment I can update the webdriver-manager:
webdriver-manager update --proxy=http://xxx.xxxxxx.xxx:8080
Thanks all for the comments.