Jump to content

Error after PG3 update.


garybixler
Go to solution Solved by bpwwer,

Recommended Posts

Posted

Hi, just updated to PG3  v3.1.6 and all went well except for wireless tags. I keep getting the error ' The subscription for this node server has expired' and disconnects although it shows up fine in purchased nodes. Also including the log.

Thanks Gary

 

2022-09-18 14:46:17,694 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message shortPoll 2022-09-18 14:46:17,696 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING shortPoll 2022-09-18 14:46:17,698 Thread-34 udi_interface ERROR udi_interface:write: Exception in thread 2022-09-18 14:46:17,700 Thread-34 udi_interface ERROR udi_interface:write: Thread-34 2022-09-18 14:46:17,700 Thread-34 udi_interface ERROR udi_interface:write: : 2022-09-18 14:46:17,701 Thread-34 udi_interface ERROR udi_interface:write: Traceback (most recent call last): 2022-09-18 14:46:17,702 Thread-34 udi_interface ERROR udi_interface:write: File "/usr/local/lib/python3.9/threading.py", line 980, in _bootstrap_inner 2022-09-18 14:46:17,706 Thread-34 udi_interface ERROR udi_interface:write: self.run() 2022-09-18 14:46:17,707 Thread-34 udi_interface ERROR udi_interface:write: File "/usr/local/lib/python3.9/threading.py", line 917, in run 2022-09-18 14:46:17,711 Thread-34 udi_interface ERROR udi_interface:write: self._target(*self._args, **self._kwargs) 2022-09-18 14:46:17,712 Thread-34 udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/000db952bf38_3/nodes/Controller.py", line 185, in handler_poll 2022-09-18 14:46:17,714 Thread-34 udi_interface ERROR udi_interface:write: self.shortPoll() 2022-09-18 14:46:17,715 Thread-34 udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/000db952bf38_3/nodes/Controller.py", line 197, in shortPoll 2022-09-18 14:46:17,717 Thread-34 udi_interface ERROR udi_interface:write: node.shortPoll() 2022-09-18 14:46:17,718 Thread-34 udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/000db952bf38_3/nodes/TagManager.py", line 90, in shortPoll 2022-09-18 14:46:17,720 Thread-34 udi_interface ERROR udi_interface:write: if self.set_url_thread.isAlive(): 2022-09-18 14:46:17,721 Thread-34 udi_interface ERROR udi_interface:write: AttributeError 2022-09-18 14:46:17,722 Thread-34 udi_interface ERROR udi_interface:write: : 2022-09-18 14:46:17,722 Thread-34 udi_interface ERROR udi_interface:write: 'Thread' object has no attribute 'isAlive' 2022-09-18 14:46:17,952 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message stop 2022-09-18 14:46:17,954 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING stop 2022-09-18 14:46:17,955 Command udi_interface.interface INFO interface:_handleInput: Received stop from Polyglot... Shutting Down. 2022-09-18 14:46:17,957 Thread-35 udi_interface DEBUG Controller:handler_stop: Node server stopping 2022-09-18 14:46:18,010 Thread-35 udi_interface DEBUG Controller:handler_stop: Node server stopped 2022-09-18 14:46:18,011 Thread-35 udi_interface.interface INFO interface:stop: Disconnecting from MQTT... localhost:1888 2022-09-18 14:46:18,012 Thread-35 udi_interface.interface INFO interface:_disconnect: MQTT Graceful disconnection. 2022-09-18 14:46:18,014 MQTT udi_interface.interface DEBUG interface:_startMqtt: MQTT: Done

Posted

@garybixlerThere's another thread about the same problem: 

 

So I'll ask you the same question.  Did you previously have a trial license before purchasing the perpetual license? 

I'm wondering if the trial license info is still saved in PG3 and isn't getting updated by perpetual license purchase.

There should be some PG3 log messages for checkLicense, seeing those might help some.

Posted

I don't believe I had a trial license. Can't be 100% sure however. I did find this in the log.

 

9/18/2022, 12:35:07 [pg3] debug: [MESSAGE_PUBLISHED] Client pg3frontend_zEVyq has published message on udi/pg3/frontend/ns/admin to broker pg3_broker
9/18/2022, 12:35:07 [pg3] info: startNs:: WirelessTag
9/18/2022, 12:35:07 [pg3] info: startNs:: WirelessTag is valid
9/18/2022, 12:35:07 [pg3] debug: checkLicense:: WirelessTag Getting node server store entry
9/18/2022, 12:35:07 [pg3] debug: checkLicense:: WirelessTag Getting node server purchase record
9/18/2022, 12:35:07 [pg3] debug: Getting status for WirelessTag 00:0d:b9:52:bf:38 7ad25b20-1c13-45ca-9a94-85bd5063815d
9/18/2022, 12:35:07 [pg3] info: checkLicense:: WirelessTag Valid license found.
9/18/2022, 12:35:07 [pg3] info: startNs:: WirelessTag finished update check
9/18/2022, 12:35:07 [pg3] info: [WirelessTag(3)] :: Starting Node server - Version 3.1.6
9/18/2022, 12:35:07 [pg3] info: startNs:: WirelessTag updating database (enabled, timestarted)
9/18/2022, 12:35:07 [pg3] debug: [MESSAGE_PUBLISHED] Client pg3_client has published message on udi/pg3/frontend/clients/def85f13-bf7c-43f3-8055-aa7dfcb35d85 to broker pg3_broker
9/18/2022, 12:35:07 [pg3] debug: [MESSAGE_PUBLISHED] Client pg3_client has published message on udi/pg3/frontend/clients/def85f13-bf7c-43f3-8055-aa7dfcb35d85 to broker pg3_broker
9/18/2022, 12:35:08 [pg3] info: startNs:: WirelessTag starting polls
9/18/2022, 12:35:08 [pg3] info: Starting Node server Info timer 0
9/18/2022, 12:35:08 [pg3] debug: MQTT Results: [frontend/ns/admin] :: {"startNs":{"success":true}}
9/18/2022, 12:35:08 [pg3] debug: [MESSAGE_PUBLISHED] Client pg3_client has published message on udi/pg3/frontend/clients/def85f13-bf7c-43f3-8055-aa7dfcb35d85 to broker pg3_broker
9/18/2022, 12:35:08 [pg3] debug: [MESSAGE_PUBLISHED] Client pg3frontend_zEVyq has published message on udi/pg3/frontend/ns/admin to broker pg3_broker
9/18/2022, 12:35:08 [pg3] info: startNs:: WirelessTag
9/18/2022, 12:35:08 [pg3] warn: WirelessTag validation checks returned :: Already running.
9/18/2022, 12:35:08 [pg3] debug: MQTT Results: [frontend/ns/admin] :: {"startNs":{"success":false,"error":"Already running."}}
9/18/2022, 12:35:08 [pg3] debug: [MESSAGE_PUBLISHED] Client pg3_client has published message on udi/pg3/frontend/clients/def85f13-bf7c-43f3-8055-aa7dfcb35d85 to broker pg3_broker
9/18/2022, 12:35:11 [pg3] debug: Client pg3frontend_zEVyq unsubscribed from udi/pg3/frontend/clients/def85f13-bf7c-43f3-8055-aa7dfcb35d85/log/00:0d:b9:52:bf:38_3
9/18/2022, 12:35:11 [pg3] debug: Stopping log stream for pg3frontend_zEVyq
9/18/2022, 12:35:11 [pg3] debug: [MESSAGE_PUBLISHED] Client pg3frontend_zEVyq has published message on udi/pg3/frontend/isy/admin to broker pg3_broker
9/18/2022, 12:35:11 [pg3] debug: MQTT Results: [frontend/isy/admin] :: {"getNodeServers":[{"id":"ffedd022-28c5-4867-8452-3129f5b27eb8","uuid":"00:0d:b9:52:bf:38","token":"elyDV3+95aO%

  • Solution
Posted

Try upgrading packages again and get version 3.1.8.  I think this will resolve the issue.  It it still says the node server has expired, try restarting the node server and see if that fixes it.

  • Thanks 1
Posted (edited)

Thanks, it looks like WirelessTag is now working but the bad news is that TeslaEV won't start up. I included the log.

 

Correction Tesla Ev my fault.

 

Edited by garybixler
Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

  • Forum Statistics

    • Total Topics
      37k
    • Total Posts
      371.4k
×
×
  • Create New...