08-11-2022 12:26 PM
After upgrading the Alteryx License Server to 2021.4, any commands entered using the flexnetlsadmin.bat batch script fail with the following error below. This error shows whether you use the old server parameter http://myserver:7070/ or the new required parameter http://myserver:7070/api/1.0/instances/~
Base URL http://myserver:7070/ is invalid.
Please provide a valid Server Base URL or
set the environment variable FLEXNETLS_BASEURL correctly
e.g FLEXNETLS_BASEURL=http://localhost:7070/api/1.0/instances/~.
The cause of this is currently being investigated.
Please give the Alteryx License Server a few minutes to start up (5-7 minutes) before testing.
With the addition of the Environment Variable, the -server parameter is no longer needed in any of the flexnetlsadmin.bat requests. For example, you can now use:
flexnetlsadmin.bat -authorize admin <password> -licenses -verbose