Error: (Nibe): Async Secure Read Exception: 9, Bad file descriptor

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
Flopp
Posts: 279
Joined: Sunday 03 January 2016 14:55
Target OS: -
Domoticz version:
Location: Sweden
Contact:

Error: (Nibe): Async Secure Read Exception: 9, Bad file descriptor

Post by Flopp »

Yes, many other posts but I have trying and trying to understand why this happens to only this plugin.
I made it myself, I have made other plugins and they work without this error message.

I am not writing to any file except domoticz-files, which I cannot stop I guess.
I have deactive the Debug that I use in the plugin.

Can anyone that know domoticz and python plugin very well please have a look?

This is the plugin: https://github.com/flopp999/NIBEUplink- ... /plugin.py

I am using Domoticz 2020.2 on a Debian 10. Python 3.7.3
Flopp
Posts: 279
Joined: Sunday 03 January 2016 14:55
Target OS: -
Domoticz version:
Location: Sweden
Contact:

Re: Error: (Nibe): Async Secure Read Exception: 9, Bad file descriptor

Post by Flopp »

I have found some possible errors.
the socket¹ object was destructed. This can be a beginner error when the code doesn't extend the lifetime of objects for the duration of asynchronous operations
But how can I wait until the Connect() is really finished before I Disconnect()?
Flopp
Posts: 279
Joined: Sunday 03 January 2016 14:55
Target OS: -
Domoticz version:
Location: Sweden
Contact:

Re: Error: (Nibe): Async Secure Read Exception: 9, Bad file descriptor

Post by Flopp »

As you can see it happens alot

Code: Select all

2021-09-12 13:13:51.707 Error: (Nibe): Async Secure Read Exception: 9, Bad file descriptor
2021-09-12 13:19:37.296 Error: (Nibe): Async Secure Read Exception: 9, Bad file descriptor
2021-09-12 13:21:00.452 Error: (Nibe): Async Secure Read Exception: 9, Bad file descriptor
2021-09-12 13:25:33.409 Error: (Nibe): Async Secure Read Exception: 9, Bad file descriptor
2021-09-12 13:34:03.824 Error: (Nibe): Async Secure Read Exception: 9, Bad file descriptor
2021-09-12 13:41:11.892 Error: (Nibe): Async Secure Read Exception: 9, Bad file descriptor
2021-09-12 13:44:46.861 Error: (Nibe): Async Secure Read Exception: 9, Bad file descriptor
2021-09-12 13:49:32.999 Error: (Nibe): Async Secure Read Exception: 9, Bad file descriptor
2021-09-12 14:07:13.059 Error: (Nibe): Async Secure Read Exception: 9, Bad file descriptor
2021-09-12 14:20:30.770 Error: (Nibe): Async Secure Read Exception: 9, Bad file descriptor
2021-09-12 14:30:00.909 Error: (Nibe): Async Secure Read Exception: 9, Bad file descriptor
2021-09-12 14:34:46.339 Error: (Nibe): Async Secure Read Exception: 9, Bad file descriptor
2021-09-12 14:35:57.716 Error: (Nibe): Async Secure Read Exception: 9, Bad file descriptor
2021-09-12 14:41:53.460 Error: (Nibe): Async Secure Read Exception: 9, Bad file descriptor
2021-09-12 14:42:53.562 Error: (Nibe): Async Secure Read Exception: 9, Bad file descriptor
2021-09-12 15:10:20.476 Error: (Nibe): Async Secure Read Exception: 9, Bad file descriptor
2021-09-12 15:43:25.426 Error: (Nibe): Async Secure Read Exception: 9, Bad file descriptor
2021-09-12 15:44:36.127 Error: (Nibe): Async Secure Read Exception: 9, Bad file descriptor
2021-09-12 15:52:55.048 Error: (Nibe): Async Secure Read Exception: 9, Bad file descriptor
2021-09-12 15:54:05.864 Error: (Nibe): Async Secure Read Exception: 9, Bad file descriptor
2021-09-12 16:07:14.627 Error: (Nibe): Async Secure Read Exception: 9, Bad file descriptor
2021-09-12 16:08:25.836 Error: (Nibe): Async Secure Read Exception: 9, Bad file descriptor
2021-09-12 16:23:52.608 Error: (Nibe): Async Secure Read Exception: 9, Bad file descriptor
2021-09-12 16:33:24.654 Error: (Nibe): Async Secure Read Exception: 9, Bad file descriptor
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest