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

Connection issue with model AC5659 firmware 2.0.0 #105

Open
NederBelg opened this issue Nov 2, 2024 · 0 comments
Open

Connection issue with model AC5659 firmware 2.0.0 #105

NederBelg opened this issue Nov 2, 2024 · 0 comments

Comments

@NederBelg
Copy link

Hi,
I get a connection error for protocol http and coap, see message below.
Can you help me?
Kind regards,
Ad

MacMini001:~ ad$ /Users/ad/Library/Python/3.9/bin/airctrl --ipaddr 192.168.178.12 --protocol http
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/ad/Library/Python/3.9/bin/airctrl", line 8, in
sys.exit(main())
File "/Users/ad/Library/Python/3.9/lib/python/site-packages/pyairctrl/airctrl.py", line 201, in main
c = HTTPAirCli(device["ip"])
File "/Users/ad/Library/Python/3.9/lib/python/site-packages/pyairctrl/airctrl.py", line 116, in init
super().init(HTTPAirClient(host, debug))
File "/Users/ad/Library/Python/3.9/lib/python/site-packages/pyairctrl/http_client.py", line 111, in init
self.load_key()
File "/Users/ad/Library/Python/3.9/lib/python/site-packages/pyairctrl/http_client.py", line 159, in load_key
self._get_key()
File "/Users/ad/Library/Python/3.9/lib/python/site-packages/pyairctrl/http_client.py", line 122, in _get_key
with urllib.request.urlopen(req) as response:
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 214, in urlopen
return opener.open(url, data, timeout)
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 517, in open
response = self._open(req, data)
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 534, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 494, in _call_chain
result = func(*args)
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 1375, in http_open
return self.do_open(http.client.HTTPConnection, req)
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 1349, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 61] Connection refused>
MacMini001:~ ad$ /Users/ad/Library/Python/3.9/bin/airctrl --ipaddr 192.168.178.12 --protocol coap
Unexpected error:'NoneType' object has no attribute 'payload'

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