Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

WirelessTag node server installation with trial license fails

Featured Replies

Posted

I am finally setting up my first node server on PG3 (version 3.0.36).  I "purchased" a trial WirelessTag license and when I attempt to install it into slot 2, the green "installing..." dialog appears. When it finishes up and I return to the dashboard, no node servers are showing up.  Below is what I am seeing in the error log.

Any thoughts on what is going wrong?

11/9/2022, 15:10:05 [pg3] debug: ########## {"docs":"https://github.com/UniversalDevicesInc-PG3/udi-wirelesstag-poly/blob/master/README.md","longPoll":"600","executable":"wirelesstags-poly.py","status":"active","oauth":"undefined","url":"http://pg3store.isy.io/v2/node servers/production/WirelessTag.zip","name":"WirelessTag","language":"python3","developer":"jimsearle@gmail.com","ip_added":"70.181.79.77","nsInfoPoll":"0","profile_version":"3.1.3","logLevel":"WARNING","ts_added":"1641350502","shortPoll":"60","author":"Jimbo.Automates","version":"3.1.7","discover":false,"prem":true,"nsdata":"{\n  \"client_id\": \"REMOVED\",\n  \"client_secret\": \"REMOVED\"\n}\n","desc":"CAO Gadgets Wireless Sensor Tags www.wirelesstag.net","authorize":false,"install":"install.sh","purchaseOptions":[{"isTrial":true,"recurringPeriod":"month","recurring":"1","price":0},{"price":20,"isPerpetual":true}],"branch":"","uuid":"REMOVED","ts_updated":"1664077839","price":20,"modified":"9/24/2022 22:50","profileNum":"2","nsid":"7ad25b20-1c13-45ca-9a94-85bd5063815d","expires":1670619543000}
11/9/2022, 15:10:05 [pg3] info: [00:0d:b9:53:dc:04_2] :: Creating Node server 'WirelessTag'
11/9/2022, 15:10:05 [pg3] warn: [00:0d:b9:53:dc:04-2] :: Node server folder exists, removing... /var/polyglot/pg3/ns/00:0d:b9:53:dc:04_2
11/9/2022, 15:10:08 [pg3] error: unhandledRejection REPORT THIS!: Error: Request failed with status code 404
    at createError (/var/polyglot/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/var/polyglot/node_modules/axios/lib/core/settle.js:17:12)
    at RedirectableRequest.handleResponse (/var/polyglot/node_modules/axios/lib/adapters/http.js:238:9)
    at RedirectableRequest.emit (node:events:390:28)
    at RedirectableRequest._processResponse (/var/polyglot/node_modules/follow-redirects/index.js:425:10)
    at ClientRequest.RedirectableRequest._onNativeResponse (/var/polyglot/node_modules/follow-redirects/index.js:57:10)
    at Object.onceWrapper (node:events:510:26)
    at ClientRequest.emit (node:events:390:28)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:623:27)
    at HTTPParser.parserOnHeadersComplete (node:_http_common:128:17)
    at TLSSocket.socketOnData (node:_http_client:487:22)
    at TLSSocket.emit (node:events:390:28)
    at addChunk (node:internal/streams/readable:324:12)
    at readableAddChunk (node:internal/streams/readable:297:9)
    at TLSSocket.Readable.push (node:internal/streams/readable:234:10)
    at TLSWrap.onStreamRead (node:internal/stream_base_commons:199:23)

 

Edited by mapeter

Solved by mapeter

Go to solution
1 hour ago, mapeter said:

PG3 (version 3.0.36)

If just starting out you should probably update PG3 first. It's currently on version 3.1.14.

Information for updating found here:

 

If you still have issues, @bpwwer will have to help let us know what that error means.

Sent from my Pixel 6 Pro using Tapatalk

  • Author

I am going to have to do some more research as my Polisy appears to be really messed up.

From the AC I clicked on Upgrade Packages.  There is no "Restart Polyglot 3" open in my version of the System menu in PG3.

I have clicked on all the Reboot and and Restart menu options as well as clicked on the Reboot option in the AC.  It does not appear to be restarting/rebooting.

I attempted to SSH into the Polisy, but get the error kex_exchange_identification: Connection closed by remote host

 

image.png

PG3 version 3.0.36 was probably an alpha release, none of the current information is probably valid for that version.

Try the "Upgrade Packages" from the admin console again.  For really out of date systems, it can take two attempts to get everything updated properly.  Also note that it can take a while to update.  10+ minutes is not unreasonable.

After the update is complete, you may have to reboot the polisy (use the reboot button in the admin console).

If that doesn't clear things up you'll probably have to submit a ticket.

1 hour ago, mapeter said:

There is no "Restart Polyglot 3" open in my version of the System menu in PG3.

You’re on the PG2 dashboard.  You need to add :3000 to the URL you're using to open PG3 web interface.  
 

When you’re in PG3 you should see menus that look like the attached picture (on a mobile device so can’t paste inline). 

2 hours ago, mapeter said:

I attempted to SSH into the Polisy, but get the error kex_exchange_identification: Connection closed by remote host

Not sure what’s causing this. But once you’re in the PG3 web interface you should be okay. If not then open a support ticket for additional help.  
 

6CB52FB0-4613-48E7-80AA-77CD5508E78E.jpeg

2 hours ago, mapeter said:

From the AC I clicked on Upgrade Packages.

Make sure you let this process run a while. Did you hear beeps? If not just let it keep running.  Since you’re on a very old version it might take a while. 

Whatever you do…DO NOT UNPLUG THE POLISY…once you started the update. Confirm the light status on the front of the Polisy (see the wiki Polisy User Guide) that it is done processing before you proceed.  

  • Author
16 minutes ago, Geddy said:

You’re on the PG2 dashboard.  You need to add :3000 to the URL you're using to open PG3 web interface.

I think I am on a very old version of PG3.  I do have :3000 in my URL.

image.thumb.png.a031c10c7ddc4198acefca80eec587eb.png

 

I have started the Update Packages again.  Will give it time to run and see what happens. I appreciate everyone's help.

 

 

  • 2 weeks later...

@mapeter wanted to check in on this thread to see if you got any resolution on this. Did you open a support ticket and get your Polisy updated?

 

  • Author
  • Solution

Hi @Geddy - I did submit a ticket and Michel took care of me -- even over the weekends.  Ended up reflashing the SSD to get the Polisy updated and now the node server is installed and working well.

 

@mapeter Great to hear you got this cleared up! Was just working through some "older" posts and saw this was perhaps in limbo.

Take care! 

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.