You are viewing limited content. For full access, please sign in.

Question

Question

API server URL listed twice in Swagger

asked on April 9 • Show version history

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?

0 0

Replies

replied on April 9 • Show version history

I am seeing the same thing in my version 2.0.2604.16 installation.

0 0
replied on April 9

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

 

0 0
replied on April 9

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.

0 0
replied on April 14

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.

0 0
replied on May 21

The dropdown has been fixed with the release of API Server version 2.0.2605.9. It is now available in the Laserfiche installer.

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.