Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Homebridge is crashing with Error: This callback function has already been called by someone else; it can only be called one time #11

Open
migabc opened this issue Sep 13, 2019 · 0 comments

Comments

@migabc
Copy link

migabc commented Sep 13, 2019

Hi,

I'm getting this error

Sep 13 08:05:51 raspberrypi homebridge[10306]: [9/13/2019, 8:05:51 AM] [BMW 420] Error getting Auth Token
Sep 13 08:05:51 raspberrypi homebridge[10306]: [9/13/2019, 8:05:51 AM] Error: This callback function has already been called by someone else; it can only be called one time.
Sep 13 08:05:51 raspberrypi homebridge[10306]: at /usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/once.js:12:13
Sep 13 08:05:51 raspberrypi homebridge[10306]: at BMWConnected.<anonymous> (/usr/lib/node_modules/homebridge-bmw-connected/index.js:79:7)
Sep 13 08:05:51 raspberrypi homebridge[10306]: at Request.self.callback (/usr/lib/node_modules/homebridge-bmw-connected/node_modules/request/request.js:185:22)
Sep 13 08:05:51 raspberrypi homebridge[10306]: at Request.emit (events.js:193:13)
Sep 13 08:05:51 raspberrypi homebridge[10306]: at Request.<anonymous> (/usr/lib/node_modules/homebridge-bmw-connected/node_modules/request/request.js:1161:10)
Sep 13 08:05:51 raspberrypi homebridge[10306]: at Request.emit (events.js:193:13)
Sep 13 08:05:51 raspberrypi homebridge[10306]: at IncomingMessage.<anonymous> (/usr/lib/node_modules/homebridge-bmw-connected/node_modules/request/request.js:1083:12)
Sep 13 08:05:51 raspberrypi homebridge[10306]: at Object.onceWrapper (events.js:281:20)
Sep 13 08:05:51 raspberrypi homebridge[10306]: at IncomingMessage.emit (events.js:198:15)
Sep 13 08:05:51 raspberrypi homebridge[10306]: at endReadableNT (_stream_readable.js:1139:12)
Sep 13 08:05:51 raspberrypi homebridge[10306]: at processTicksAndRejections (internal/process/task_queues.js:81:17)
Sep 13 08:05:51 raspberrypi homebridge[10306]: [9/13/2019, 8:05:51 AM] Got SIGTERM, shutting down Homebridge...

Is there some way we can prevent this?

Thanks,
Miguel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant