jsReport API POST request not work on Windows Server 2019



  • Hello,

    I deployed my jsReport application on Windows Server 2019, but its API endpoints are not functioning properly.

    Here is the error:
    0_1692835519495_upload-7f868507-31bb-4523-a7b7-94f51e79e6cc

    Here is my sample request:
    0_1692835614775_upload-39676509-1c28-4b14-8510-faf986b4aef5

    The jsReport studio is working:
    0_1692836154118_upload-134f4e8e-6334-472c-8810-bb3dc1417953

    Pinging API endpoint also returns correct response:
    0_1692835749960_upload-b45d00d8-431f-47d4-a5a7-adfb31999d9c

    I successfully deployed the same jsReport application on both Windows 10 and Windows Server 2012, and it is operational on both OS platforms.

    Any advice is greatly appreciated.

    Thank you!



  • Are you able to render the reports from the studio?

    What if you host the application on the root path localhost:3000 without using /reporting subpath? Does that work?

    Are you able to make a request using some Postman tool? Maybe there is error in your client.

    Is there some error in the jsreport logs?



  • Thank you for your suggestions, Jan. I discovered that the server might restrict external program's access to localhost. I will do more investigations.


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.