Git Product home page Git Product logo

Comments (20)

tannebil avatar tannebil commented on May 12, 2024

Got the same thing.

from homebridge-smartthings.

pdlove avatar pdlove commented on May 12, 2024

I got this error once yesterday while I was at work and assumed it was an issue with my new version of the plugin. I determined after that the issue is that it doesn't make sure a valid reply came back from your SmartApp before checking the error. You'll see a correction this evening.

from homebridge-smartthings.

Slepperpon avatar Slepperpon commented on May 12, 2024

error at req: { [Error: getaddrinfo ENOTFOUND graph.api.smartthings.com graph.api.smartthings.com:443]
code: 'ENOTFOUND',
errno: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'graph.api.smartthings.com',
host: 'graph.api.smartthings.com',
port: '443' }
error at req: { [Error: getaddrinfo ENOTFOUND graph.api.smartthings.com graph.api.smartthings.com:443]
code: 'ENOTFOUND',
errno: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'graph.api.smartthings.com',
host: 'graph.api.smartthings.com',
port: '443' }
error at req: { [Error: getaddrinfo ENOTFOUND graph.api.smartthings.com graph.api.smartthings.com:443]
code: 'ENOTFOUND',
errno: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'graph.api.smartthings.com',
host: 'graph.api.smartthings.com',
port: '443' }
error at req: { [Error: getaddrinfo ENOTFOUND graph.api.smartthings.com graph.api.smartthings.com:443]
code: 'ENOTFOUND',
errno: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'graph.api.smartthings.com',
host: 'graph.api.smartthings.com',
port: '443' }
events.js:141
throw er; // Unhandled 'error' event
^

Error: listen EADDRINUSE :::54829
at Object.exports._errnoException (util.js:837:11)
at exports._exceptionWithHostPort (util.js:860:20)
at Server._listen2 (net.js:1231:14)
at listen (net.js:1267:10)
at Server.listen (net.js:1363:5)
at new EventedHTTPServerConnection (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/eventedhttp.js:125:20)
at EventedHTTPServer._onConnection (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/eventedhttp.js:79:20)
at emitOne (events.js:77:13)
at Server.emit (events.js:169:7)
at TCP.onconnection (net.js:1427:8)

from homebridge-smartthings.

pdlove avatar pdlove commented on May 12, 2024

Eaddrinuse is from launching it twice some how... The other one looks to be a dns issue. Can you verify your API is on the US server and try to go there from the web browser?

from homebridge-smartthings.

Slepperpon avatar Slepperpon commented on May 12, 2024

It was running for hours before that message came up. And as far as the api you are talking about smarthings hub correct? It is on a us server yes

Date: Wed, 17 Feb 2016 07:03:03 -0800
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [homebridge-smartthings] just after a few min get this error (#40)

Eaddrinuse is from launching it twice some how... The other one looks to be a dns issue. Can you verify your API is on the US server and try to go there from the web browser?


Reply to this email directly or view it on GitHub.

from homebridge-smartthings.

pdlove avatar pdlove commented on May 12, 2024

Im getting ENOTFOUND on occasion... twice in the last 3 days.

from homebridge-smartthings.

rickybloomfield avatar rickybloomfield commented on May 12, 2024

I got ENOTFOUND a couple times as well. Not since upgrading to latest, though (yesterday). I thought it was initially due to another homebridge interface, but now I'm not sure. I'll see how it goes. Before the latest flurry of changes it had been pretty stable for me. Recently, though, it will konk out after several hours of use. Hopefully the latest changes will help with that.

from homebridge-smartthings.

rickybloomfield avatar rickybloomfield commented on May 12, 2024

In addition to the ENOTFOUND error, I just started getting a bunch of errors like this:

error at req: { [Error: connect ETIMEDOUT 174.129.9.165:443]
code: 'ETIMEDOUT',
errno: 'ETIMEDOUT',
syscall: 'connect',
address: '174.129.9.165',
port: 443 }

from homebridge-smartthings.

pdlove avatar pdlove commented on May 12, 2024

#45 #46 #47
Please try the latest release. I've tweaked the timing values and can't seem to get my setup to break.
Because I tweaked defaults only, verify you don't have polling_seconds in config.json set higher than 60. I tested it at 60 on my setup without losing any devices after several hours.

from homebridge-smartthings.

Slepperpon avatar Slepperpon commented on May 12, 2024

I will try when it crashes. It has not crashed for a couple days now.

Adam Hoffman
District Team Lead
District 9445
NTB 892

On Feb 20, 2016, at 1:22 PM, pdlove [email protected] wrote:

#45 #46 #47
Please try the latest release. I've tweaked the timing values and can't seem to get my setup to break.
Because I tweaked defaults only, verify you don't have polling_seconds in config.json set higher than 60. I tested it at 60 on my setup without losing any devices after several hours.


Reply to this email directly or view it on GitHub.

from homebridge-smartthings.

pdlove avatar pdlove commented on May 12, 2024

When I left home and then returned, I lost several devices. My tablet I left at home did not. Anyone else experience this?

from homebridge-smartthings.

nguyenshane avatar nguyenshane commented on May 12, 2024

I lost all of 19 devices twice today. First time was right when I left home. Second time was just about 15 minutes after I restart homebridge, remove persist folder and reconnect all devices.

from homebridge-smartthings.

Slepperpon avatar Slepperpon commented on May 12, 2024

Still running after 5 days no problems. All devices still there with remote access as well.

Adam Hoffman
District Team Lead
District 9445
NTB 892

On Feb 21, 2016, at 1:17 AM, Shane Do [email protected] wrote:

I lost all of 19 devices twice today. First time was right when I left home. Second time was just about 15 minutes after I restart homebridge, remove persist folder and reconnect all devices.


Reply to this email directly or view it on GitHub.

from homebridge-smartthings.

asrusch avatar asrusch commented on May 12, 2024

Everything running fine for a couple days, and then I got this error, and cannot relaunch without getting this.

bed-htpc:~ htpc$ homebridge 
Loaded plugin: homebridge-smartthings
Registering platform 'homebridge-smartthings.SmartThings'
---
Loaded config.json with 0 accessories and 1 platforms.
---
Loading 1 platforms...
[SmartThings] Initializing SmartThings platform...
[SmartThings] Fetching Smart Things devices.
/usr/local/lib/node_modules/homebridge-smartthings/index.js:76
            } else if (myList.error) {
                             ^

TypeError: Cannot read property 'error' of undefined
    at /usr/local/lib/node_modules/homebridge-smartthings/index.js:76:30
    at /usr/local/lib/node_modules/homebridge-smartthings/lib/smartthingsapi.js:93:13
    at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/homebridge-smartthings/lib/smartthingsapi.js:46:27)
    at emitNone (events.js:85:20)
    at IncomingMessage.emit (events.js:179:7)
    at endReadableNT (_stream_readable.js:913:12)
    at _combinedTickCallback (node.js:377:13)
    at process._tickCallback (node.js:401:11)

from homebridge-smartthings.

Slepperpon avatar Slepperpon commented on May 12, 2024

Same as coolcom working for 10 days then crashed and will not start back up

from homebridge-smartthings.

asrusch avatar asrusch commented on May 12, 2024

Update- I just tried starting Homebridge after it had been off for ~2 hours, and it started up fine.

from homebridge-smartthings.

pdlove avatar pdlove commented on May 12, 2024

@Slepperpon please confirm the version of the plug-in and that your API keys are still the same. I've heard of at least one report where the API token changed.

from homebridge-smartthings.

Slepperpon avatar Slepperpon commented on May 12, 2024

Made no changes and it works just fine this morning.

Date: Thu, 25 Feb 2016 15:33:56 -0800
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [homebridge-smartthings] just after a few min get this error (#40)

@Slepperpon please confirm the version of the plug-in and that your API keys are still the same. I've heard of at least one report where the API token changed.


Reply to this email directly or view it on GitHub.

from homebridge-smartthings.

pdlove avatar pdlove commented on May 12, 2024

Try this with plugin version 0.4.4. I've corrected a lot on the error handling. You'll still get the connection errors because that is all smart things being an issue.... but it shouldn't cause home bridge to crash as it has been doing.

from homebridge-smartthings.

pdlove avatar pdlove commented on May 12, 2024

I'm moving all discussion to issue #58. I was able to iron out one major issue last night an just released that as 0.4.6.

from homebridge-smartthings.

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.