Jump to content
Changes to the Jaspersoft community edition download ×

PHP REST Client - 401 Authentication error


joe.fusco

Recommended Posts

I am just getting started with JasperReports Community Edition. I am looking to embed a report into a PHP web application. I have the report working in JasperServer 5.6.1, and I've installed the PHP rest client through composer, running version 2.0.0. I followed the steps on this documentation: https://community.jaspersoft.com/wiki/php-client-sample-code

This request I keep throwing an error requiring 'authentication'. I've checked, and the user/password I am using is active in my JasperServer (just using the default jasperadmin/jasperadmin. The PHP client is getting loaded properly. I am just issuing a serverInfo() request, and it throws the 401 response. I've noticed that there are many questions out there about this issue, but none of them appear to be solved. Anyone know how to get over this hump?

Since this is a test environment, the web application and JasperServer are both running on the same box. I've picked up that Visualize.js is not available to community edition, but no where in the documentation I have read has it suggested that the PHP rest client is limited to the pro edition. Is that the case?

Any thoughts?

Link to comment
Share on other sites

  • 1 month later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

  • 4 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...