I reran jsreport configure
specifying a different port. Here are my answers for the configuration which is working:
$ jsreport configure
? Do you want to enable web server? Yes
? Which protocol should web server use? http
? Specify the http port for web server: 54321
? Do you want to enable authentication in web server? No
? Do you want to persist jsreport objects and logs on disk? Yes everything saved on disk
? Can jsreport trust the rendering requests and allow access to local files and modules? Yes
? Should jsreport reuse processes to speed up the rendering? Yes
? Specify the general timeout for rendering: 60000
? Would you like that we create some default examples for you? Yes
Comparing the failing configuration to the current, the failing configuration had web server authentication
section. How I do not know? Here is the original jsreport configure
:
$ jsreport configure
? Do you want to enable web server? Yes
? Which protocol should web server use? http
? Specify the http port for web server: 5488
? Do you want to enable authentication in web server? No
? Do you want to persist jsreport objects and logs on disk? Yes everything saved on disk
? Can jsreport trust the rendering requests and allow access to local files and modules? Yes
? Should jsreport reuse processes to speed up the rendering? Yes
? Specify the general timeout for rendering: 60000
? Would you like that we create some default examples for you? Yes
config saved in: C:\jsreport-testing\jsreport.config.json
DIfference between the working configuration and the original configuration:
$ diff jsreport.config.json original-jsreport.config.json
2d1
< "httpPort": 54321,
5a5
> "httpPort": 5488,
31,36c31
< "authentication": {
< "cookieSession": {},
< "admin": {
< "username": "admin",
< "password": "password"
< },
---
> "express": {
The original/failing configuration does not have the authentication properties.
This can be considered resolved.