My API server URL is listed twice in Swagger and it is causing problems when trying to establish a connection to the API. Is there a way to fix?
Question
Question
API server URL listed twice in Swagger
Replies
I am seeing the same thing in my version 2.0.2604.16 installation.
There is no need to select a Server in swagger. There is only one server and it's already selected.
I'm guessing that the root cause is a configuration or network issue between the host where the API Server is installed and <YOUR.LASERFICHE.SERVER.FQDN>.
Where <YOUR.LASERFICHE.SERVER.FQDN> and the port is what you configure in %ProgramData%\Laserfiche\API Server\LFRepositoryAPI\appsettings.json (See: Installing and Configuring the API Server)
To verify network connectivity you could run this PowerShell command from your API Server host.
Test-NetConnection -ComputerName <YOUR.LASERFICHE.SERVER.FQDN> -Port 443
That PS command is successful, so we get to the repository. I'll get with my developer and see if I can get a better explanation of his issue.
The confusing dropdown here will be fixed in the next release, but as Paolo notes this should not affect operation of your API server. More details would be needed to determine the exact cause of any issues he's seeing.
The dropdown has been fixed with the release of API Server version 2.0.2605.9. It is now available in the Laserfiche installer.