Closed mjbright closed 5 years ago
OK, after experimenting with the API using httpie (and reading the docs) my problem is clearly something to do with the IP addressing and (of course) not a problem with this script as I am able to use the api when using mafreebox.freebox.fr, http and port 80 rather than the public address and https.
Modifying my addresses file to use mafreebox.freebox.fr, http and port 80 I'm able to register the app and this is fine for my use case.
It might be worth documenting these noob steps in the wiki though. Also an explanation of what's up with use of https would be good.
Closing this non-(code)issue.
OK, this is clearly my misunderstanding, this is my 1st (well 2nd-failed) attempt at using this repo. Whilst "
OSError: [Errno 101] Network is unreachable
" sounds embarassingly like I'm doing something dumb I've no idea what that is.I'm running on Ubuntu18.04 LTS, with Python 3.6.5.
I'm running command
/usr/bin/python3 ./fbxosctrl.py --regapp
to use the system Python which has zeroconf module installed.It obtains the addressing and certificate files OK. Below are the contents of the addressing file: (with my hostname masked)
but then the script barfs with a network connection issue - see below. I tried pinging the address which works fine. I tried nmap on the port which says it's filtered (didn't really expect anything else!).
What's happening? What should I do to fix/debug?