Jump to content

oauth2 token for PG3 version


Bumbershoot

Recommended Posts

Hi @Jimbo.  Upon installing and starting the PG3 version of this nodeserver, there was nothing to prompt me to get an authorization token as there was in the PG2 version.  Unfortunately, the token I got for the PG2 version doesn't appear to be valid for the PG3 version.  Maybe I'm missing something, but it's not entirely apparent what that would be.

Thanks!

Link to comment
1 hour ago, Jimbo said:

That's strange, it worked for me and I tested that part a lot.  Can you PM me the log file?

You are living on the edge moving to PG3 before the NS release announcement :)

 

 

PM sent.  I wanna support the developers, and I don't mind a few cuts and bruises.

Link to comment
15 minutes ago, Jimbo said:

Actually I was mistaken.  Looks like your PG3 version is 3.0.31 please delete the NS and upgrade PG3 to to 3.0.36 and try again.

 

Hmmm....  Already on 3.0.36.


[admin@polisy ~]$ sudo pkg info pg3
pg3-3.0.36
Name           : pg3
Version        : 3.0.36
Installed on   : Fri Dec 31 18:26:57 2021 PST
Origin         : misc/pg3
Architecture   : FreeBSD:13:*
Prefix         : /usr/local
Categories     : misc
Licenses       : MIT
Maintainer     : andrey@xkinghome.net
WWW            : https://github.com/UniversalDevicesInc/polyglot-v2
Comment        : Polyglot v3 for UDI Polisy
Annotations    :
	repo_type      : binary
	repository     : udi
Flat size      : 59.6MiB
Description    :
Polyglot v2 server for Universal Devices ISY994 version 5.x.x

WWW: https://github.com/UniversalDevicesInc/polyglot-v2

 

Link to comment

Okay, I restarted PG3 and reinstalled the nodeserver, but something's goofy here.  The log says it's 3.0.31

2022-01-10 14:20:09,409 MainThread udi_interface      INFO     __init__:<module>: UDI Python Interface for Polyglot version 3 3.0.31 Starting...

and the UI says it 3.0.36.

I'm going to reboot my Polisy.

Screen Shot 2022-01-10 at 2.22.28 PM.png

Link to comment
5 minutes ago, Jimbo said:

Are you on ISY994 or ISY on Polisy? I'll look at mine when I get home tonight, I'm still on ISY994

Sent from my Pixel 6 Pro using Tapatalk
 

This is PG3 with ISY on the Polisy, v 5.30.  On polyglot v2 on the ISY994 the value is correct.

Link to comment

@JimboHi I tried adding wireless tags to pg3 but I can't get past the error. 

ERROR: Unable to authorize, no client id returned in Node Server Data. Check Log for ERROR

I finally did the reboot as suggested above but still can't get past the error and no nodes get loaded. I reused the code from the PG2 install. 

 

Thanks Gary

 

Link to comment
@JimboHi I tried adding wireless tags to pg3 but I can't get past the error. 
ERROR: Unable to authorize, no client id returned in Node Server Data. Check Log for ERROR
I finally did the reboot as suggested above but still can't get past the error and no nodes get loaded. I reused the code from the PG2 install. 
 
Thanks Gary
 
I don't think you can reuse the code. Delete it and restart and reauthorize.

Sent from my Pixel 6 Pro using Tapatalk

Link to comment

I can't get back on PG2 either. Saw this error on their website. Maybe something wrong on their end. 

Got code 4c55714a-6e06-408f-af11-14b6b1b5d86f, asking for access token
ERROR: Unable to get access token from code, see log

I'll give it try tomorrow and send the logs if it still doesn't work. Nothing pressing.

Thanks Gary

Link to comment
2 hours ago, garybixler said:

Comparing logs from PG2 and PG3 is looks like maybe PG3 doesn't have a gateway address for the wireless tag NS. Can't bring up polisy settings in PG3 to check.

From the log you sent, the issue is caused by a bug in the NS related to updates to latest PG3 which I thought was working in the NS but I'll have to take a look later.
 

2022-01-11 06:51:44,388 Thread-3   udi_interface      ERROR    udi_interface:write: handler_nsdata() missing 1 required positional argument: 'data'

 

Link to comment

Archived

This topic is now archived and is closed to further replies.


  • Recently Browsing

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

  • Forum Statistics

    • Total Topics
      36.6k
    • Total Posts
      368.1k
×
×
  • Create New...