ddimit Posted November 19, 2019 Posted November 19, 2019 ran the update but its not finding the ISY even after hardcoding, Same subnet . Tried HTTP login to verify user id and pass, works ok Here's the error from the log 2019-11-18 19:52:17 [polyglot] error: ISY: connection failed. Retrying... Error: connect ENETUNREACH 192.168.5.103:80 - Local (0.0.0.0:40531) 2019-11-18 19:52:17 [polyglot] error: ISY: connection failed. Retrying... Error: connect ENETUNREACH 192.168.5.103:80 - Local (0.0.0.0:54384) 2019-11-18 19:52:18 [polyglot] error: ISY: connection exceeded max re-tries. Aborting. Error: connect ENETUNREACH 192.168.5.103:80 - Local (0.0.0.0:52562) 2019-11-18 19:52:18 [polyglot] error: Get Version HTTP Error: RequestError: Error: connect ENETUNREACH 192.168.5.103:80 - Local (0.0.0.0:52562)
Michel Kohanim Posted November 19, 2019 Author Posted November 19, 2019 @ddimit, It's not finding the ISY. Is ISY on the same network? All, Arp etc. require a client software on the browser such as Java. We need to find a solution that does not require any plugins and it's already available in all OSs. The best solution, thus far, is mDNS which is supposedly supported on Windows 10 but we haven't been able to verify. With kind regards, Michel
ddimit Posted November 19, 2019 Posted November 19, 2019 Michel, That is correct both reside on the 192.168.5.x network, this is a Ubiquiti Unif network. Unif Switch and USG. A PC on a differrent subnet. 192.168.4.x can http just fine to the ISY.
simplextech Posted November 19, 2019 Posted November 19, 2019 57 minutes ago, ddimit said: Michel, That is correct both reside on the 192.168.5.x network, this is a Ubiquiti Unif network. Unif Switch and USG. A PC on a differrent subnet. 192.168.4.x can http just fine to the ISY. In your Unifi Controller do you have mDNS enabled? You may also want to check your uPNP settings as well especially if you've updated the controller recently.
ddimit Posted November 19, 2019 Posted November 19, 2019 31 minutes ago, simplextech said: In your Unifi Controller do you have mDNS enabled? You may also want to check your uPNP settings as well especially if you've updated the controller recently. Yes, I turned on mDNS and uPNP, no change, is this depenedant on a particular verion on the ISY?
Michel Kohanim Posted November 20, 2019 Author Posted November 20, 2019 @ddimit, Polyglot uses UDP to find ISY. Are you certain UDP packets can pass through your network? With kind regards, Michel
garybixler Posted November 20, 2019 Posted November 20, 2019 Hi I just did the latest update and all node servers functioned as expected except for the Tesla NS. It would not start so I deleted and uninstalled it. Upon reinstalling I would get the message. cloneRepo: Error: runInstallProcess: undefined Thanks Gary
ddimit Posted November 20, 2019 Posted November 20, 2019 1 hour ago, Michel Kohanim said: @ddimit, Polyglot uses UDP to find ISY. Are you certain UDP packets can pass through your network? With kind regards, Michel Hi Michel, Yes UDP traffic is allowed, Since these devices are on the same subnet on the same switch its not up to the router to ever forward the traffic. The devices will see it on the same subnet/vlan.
Michel Kohanim Posted November 21, 2019 Author Posted November 21, 2019 @garybixler, we are looking into it. @ddimit, just to be clear, you can ssh to Polisy and can ping isy from within Polisy? With kind regards, Michel
ddimit Posted November 21, 2019 Posted November 21, 2019 (edited) 1 hour ago, Michel Kohanim said: @garybixler, we are looking into it. @ddimit, just to be clear, you can ssh to Polisy and can ping isy from within Polisy? With kind regards, Michel Yes, here is the result. Polisy Ip is 192.168.5.191 Welcome to Polisy![admin@polisy ~]$ ping 192.168.5.103PING 192.168.5.103 (192.168.5.103): 56 data bytes64 bytes from 192.168.5.103: icmp_seq=0 ttl=60 time=0.405 ms64 bytes from 192.168.5.103: icmp_seq=1 ttl=60 time=0.291 ms64 bytes from 192.168.5.103: icmp_seq=2 ttl=60 time=0.356 ms64 bytes from 192.168.5.103: icmp_seq=3 ttl=60 time=0.291 ms64 bytes from 192.168.5.103: icmp_seq=4 ttl=60 time=0.353 ms64 bytes from 192.168.5.103: icmp_seq=5 ttl=60 time=0.315 ms64 bytes from 192.168.5.103: icmp_seq=6 ttl=60 time=0.306 ms64 bytes from 192.168.5.103: icmp_seq=7 ttl=60 time=0.293 ms64 bytes from 192.168.5.103: icmp_seq=8 ttl=60 time=0.292 ms^C--- 192.168.5.103 ping statistics ---9 packets transmitted, 9 packets received, 0.0% packet lossround-trip min/avg/max/stddev = 0.291/0.322/0.405/0.038 ms[admin@polisy ~]$ Edited November 21, 2019 by ddimit addition
garybixler Posted November 27, 2019 Posted November 27, 2019 Michel Hi, after just doing the latest update I'm still not able to bring up the Tesla node server. Still get the following error. cloneRepo: Error: runInstallProcess: undefined Thanks Gary
simplextech Posted November 27, 2019 Posted November 27, 2019 1 hour ago, garybixler said: Michel Hi, after just doing the latest update I'm still not able to bring up the Tesla node server. Still get the following error. cloneRepo: Error: runInstallProcess: undefined Thanks Gary Did you install node and npm on your Polisy?
garybixler Posted November 27, 2019 Posted November 27, 2019 simplextech It had worked before the last two updates so I didn't think anything had to be done. But could you give me the commands and I will try that. Thanks
simplextech Posted November 27, 2019 Posted November 27, 2019 SSH into the polisy and run the following from the prompt. pkg info node If that work fine then check npm pkg info npm If you get any error like this: pkg: No package(s) matching blah then node and npm are not installed and they need to be for the Tesla nodeserver.
garybixler Posted November 27, 2019 Posted November 27, 2019 They both appear to be installed. npm-6.12.1 Name : npm Version : 6.12.1 node-13.1.0 Name : node Version : 13.1.0
simplextech Posted November 27, 2019 Posted November 27, 2019 Very odd then. I just did an install from my rPi and from Polisy and both worked Quote 2019-11-27 17:41:21 [polyglot] info: NSChild cloneRepo: Successfully cloned Tesla into NodeServer directory.
garybixler Posted November 28, 2019 Posted November 28, 2019 (edited) Something must be missing in my Polisy after the last two upgrades. I don't see NSChild. I also found that Roomba has the same problem in my Polisy. The simple NS ping doesn't work either. Thanks for any suggestions. Gary Edited November 28, 2019 by garybixler
glarsen Posted November 29, 2019 Posted November 29, 2019 Ping doesn't work since the system call structure in Python is slightly different in FreeBSD than in debian/rpi linux. The developer needs to rework the code a bit to fix it. The same applies to the presence-poly NS.
garybixler Posted November 29, 2019 Posted November 29, 2019 Thanks, that is good to know ping isn't related to my ongoing issue with the Tesla NS. Gary
Michel Kohanim Posted November 29, 2019 Author Posted November 29, 2019 @garybixler, Please try the following one more time: sudo pkg update && sudo pkg upgrade With kind regards, Michel
garybixler Posted November 29, 2019 Posted November 29, 2019 Hi Michel I had been doing updates as they become available. Before the last two updates all was working fine. Here is the response from sudo pkg update && sudo pkg upgrade Updating udi repository catalogue... udi repository is up to date. All repositories are up to date. Updating udi repository catalogue... udi repository is up to date. All repositories are up to date. Checking for upgrades (0 candidates): 100% Processing candidates (0 candidates): 100% Checking integrity... done (0 conflicting) Your packages are up to date. Thanks Gary
garybixler Posted November 29, 2019 Posted November 29, 2019 My info. polyglot-2.2.6 Name : polyglot Version : 2.2.6 Installed on : Fri Nov 8 12:10:35 2019 PST Origin : misc/polyglot Architecture : FreeBSD:12:amd64 Prefix : /usr/local Categories : misc Licenses : MIT Maintainer : andrey@xkinghome.net WWW : https://github.com/UniversalDevicesInc/polyglot-v2 Comment : Polyglot v2 for UDI ISY 5.x.x Annotations : FreeBSD_version: 1200086 repo_type : binary repository : udi Flat size : 88.8MiB Description : Polyglot v2 server for Universal Devices ISY994 version 5.x.x WWW: https://github.com/UniversalDevicesInc/polyglot-v2
Michel Kohanim Posted November 29, 2019 Author Posted November 29, 2019 @garybixler, Thanks so very much for the feedback. Please do make sure you have all the following packages (you don't need the <xxx>/prefix): lang/python37 lang/python3 lang/python security/p5-IO-Socket-SSL devel/git devel/py-pip@py37 misc/polyglot misc/polyglot-beta www/node www/npm security/py-certbot@py37 net/py-netifaces@py37 Wtih kind regards, Michel
garybixler Posted November 29, 2019 Posted November 29, 2019 I seem to be missing 5 packages. lang/python devel/py-pip@py37 misc/polyglot-beta security/py-certbot@py37 net/py-netifaces@py37 Thanks Gary
Michel Kohanim Posted November 29, 2019 Author Posted November 29, 2019 Hi Gary, please install them: sudo pkg install python , etc. With kind regards, Michel
Recommended Posts