Shelly plugin slows down my computer?

Posted on
Mon Nov 13, 2023 9:50 am
Mirko offline
Posts: 81
Joined: Dec 04, 2014

Shelly plugin slows down my computer?

Hi,

I run Indigodomo 2022.2 on a headless Mac mini running Mojave 10.14.6 apart from Airfoil and Airfoil satellite and Indigodomo nothing else is running.

The week after the restart of my computer the same problem occurs again: the computer is slow and the wheel is turning around.

To resolve the problem having a computer that has the wheel turning a while before being able to hit a button, I restart the computer. Then the problem seems to be solved.
I never had this problem before and I have no clue what to do.

Could anyone help me out here?

Thanks a lot.

Kind regards,

Mirko

Once a week I have the following:

2023-11-11 07:51:39.144 shellyDirect Error url testHTTP:False, used: http://127.0.0.1:80/status
Traceback (most recent call last):
File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/IndigoPluginHost3.app/Contents/Resources/PlugIns/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/IndigoPluginHost3.app/Contents/Resources/PlugIns/urllib3/util/connection.py", line 95, in create_connection
raise err
File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/IndigoPluginHost3.app/Contents/Resources/PlugIns/urllib3/util/connection.py", line 85, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 61] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/IndigoPluginHost3.app/Contents/Resources/PlugIns/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/IndigoPluginHost3.app/Contents/Resources/PlugIns/urllib3/connectionpool.py", line 398, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/IndigoPluginHost3.app/Contents/Resources/PlugIns/urllib3/connection.py", line 239, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1282, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1328, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1277, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1037, in _send_output
self.send(msg)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 975, in send
self.connect()
File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/IndigoPluginHost3.app/Contents/Resources/PlugIns/urllib3/connection.py", line 205, in connect
conn = self._new_conn()
File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/IndigoPluginHost3.app/Contents/Resources/PlugIns/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x112f78a60>: Failed to establish a new connection: [Errno 61] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/IndigoPluginHost3.app/Contents/Resources/PlugIns/requests/adapters.py", line 440, in send
resp = conn.urlopen(
File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/IndigoPluginHost3.app/Contents/Resources/PlugIns/urllib3/connectionpool.py", line 785, in urlopen
retries = retries.increment(
File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/IndigoPluginHost3.app/Contents/Resources/PlugIns/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x112f78a60>: Failed to establish a new connection: [Errno 61] Connection refused'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "plugin.py", line 5487, in getJsonFromDevices
resp = request.get(url,auth=(self.userIDOfShellyDevices, self.passwordOfShellyDevices))
File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/IndigoPluginHost3.app/Contents/Resources/PlugIns/requests/sessions.py", line 542, in get
return self.request('GET', url, **kwargs)
File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/IndigoPluginHost3.app/Contents/Resources/PlugIns/requests/sessions.py", line 529, in request
resp = self.send(prep, **send_kwargs)
File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/IndigoPluginHost3.app/Contents/Resources/PlugIns/requests/sessions.py", line 645, in send
r = adapter.send(request, **kwargs)
File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/IndigoPluginHost3.app/Contents/Resources/PlugIns/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x112f78a60>: Failed to establish a new connection: [Errno 61] Connection refused'))

Posted on
Wed Nov 15, 2023 4:45 am
kw123 offline
User avatar
Posts: 8392
Joined: May 12, 2013
Location: Dallas, TX

Re: Shelly plugin slows down my computer?

When you run into this issue
- check in activity monitor if there is a spike in cou and which application

- try to restart the plugin


The error message is the result of a failed connection to a Shelly device
I need to reduce the amount of error logging. If it happens once a week it is not an issue.


Sent from my iPhone using Tapatalk

Posted on
Wed Nov 15, 2023 9:57 am
Mirko offline
Posts: 81
Joined: Dec 04, 2014

Re: Shelly plugin slows down my computer?

Thanks a lot for your reply, Karl! :D

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests