API Keys for Server

Posted on
Fri Jun 16, 2023 2:28 pm
Turribeach offline
Posts: 429
Joined: Feb 06, 2015
Location: London, UK

Re: API Keys for Server

I think this is a different problem, it can't validate the cert. They have recently renewed their cert so it could be either you are getting the old cert or your setup can't validate it.

Screenshot 2023-06-16 at 21.25.24.png
Screenshot 2023-06-16 at 21.25.24.png (65.46 KiB) Viewed 1692 times


Can you install this on your Indigo's Python install?

Code: Select all
pip install --upgrade certifi

Posted on
Fri Jun 16, 2023 2:41 pm
Vaillant offline
Posts: 105
Joined: Nov 06, 2011
Location: Belgium

Re: API Keys for Server

Also getting Error Unable to connect to IndigoDomo.com

Not happy how this is implemented :(

Posted on
Fri Jun 16, 2023 2:48 pm
mike_c offline
Posts: 37
Joined: Oct 03, 2013

Re: API Keys for Server

I appreciate the error may be different but the root cause (needing to connect to a remote server to run things locally) is the same.

I’m unfamiliar with indigos python install. I don’t run any embedded scripts. Further instructions appreciated.

Posted on
Fri Jun 16, 2023 4:14 pm
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: API Keys for Server

We are experiencing a server problem. Actively working on it now and will post when it is fixed.

Image

Posted on
Fri Jun 16, 2023 4:36 pm
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: API Keys for Server

We had a problem with how a new SSL certificate was installed on our server which caused problems for the Indigo Server.

It is fixed now, but may take 15 minutes for your reflector to re-establish itself. Appreciate everyone's patience with this not working earlier.

Image

Posted on
Fri Jun 16, 2023 4:58 pm
mike_c offline
Posts: 37
Joined: Oct 03, 2013

Re: API Keys for Server

As of 23:57 (uk time) and a quick server reboot, all appears to be operational again. Thanks

Posted on
Wed Oct 04, 2023 2:25 pm
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: API Keys for Server

The original post on this thread was requesting API keys that don't require backend calls to our server for validation. The most recent release (2023.1.0) now has this capability via what we call Local Secrets.

Image

Posted on
Sun Oct 08, 2023 5:49 am
Turribeach offline
Posts: 429
Joined: Feb 06, 2015
Location: London, UK

Re: API Keys for Server

Many thanks for fulfilling this. I would have preferred to call them local keys and also to use public/private API keys to avoid having hardcoded keys in plain text config files but this would do nicely for the people like me that want full offline mode operation.

Posted on
Mon Oct 09, 2023 3:29 pm
Turribeach offline
Posts: 429
Joined: Feb 06, 2015
Location: London, UK

Re: API Keys for Server

PS: A bit of FUD on the logging message when using local secrets...

Code: Select all
 Web Server Warning              HTTP API v2 POST command received, id: 'optional-user-generated-id' from '192.168.111.11'

Posted on
Mon Oct 09, 2023 6:27 pm
jay (support) offline
Site Admin
User avatar
Posts: 18225
Joined: Mar 19, 2008
Location: Austin, Texas

Re: API Keys for Server

Turribeach wrote:
PS: A bit of FUD on the logging message when using local secrets...

Code: Select all
 Web Server Warning              HTTP API v2 POST command received, id: 'optional-user-generated-id' from '192.168.111.11'


That's not FUD. We believe (based on prior feedback among other things) that users should be very aware of any incoming API connections. This message is shown for all API messages (not just for those using local secrets). You can turn off these warnings in the new Advanced Web Server Config dialog.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Tue Oct 10, 2023 12:11 am
Turribeach offline
Posts: 429
Joined: Feb 06, 2015
Location: London, UK

Re: API Keys for Server

jay (support) wrote:
That's not FUD. We believe (based on prior feedback among other things) that users should be very aware of any incoming API connections. This message is shown for all API messages (not just for those using local secrets). You can turn off these warnings in the new Advanced Web Server Config dialog.

I agree on that 100%. I just don’t think an API call should be logged as a Warning message and neither should be highlighted in yellow (which is a side effect of logging it as a warning). So if I want logging I need to leave the warning messages.

Who is online

Users browsing this forum: No registered users and 17 guests