webapp with datatables in it bombs when trying to use https instead of http

webapp with datatables in it bombs when trying to use https instead of http

juleejulee Posts: 16Questions: 7Answers: 0

I have a web app that uses datatables- has been working fine up until now. We are going to be adding a cert now to our app - when I try to launch the app with https instead of just http, I get the following error:

DataTables warning: table id=widgets - Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1

When i review the developer tools in chrome - under the networking tab - i see that the request is returning the actual source code of the page vs. the results of the db query.

Can someone tell me how to work around this

Answers

  • juleejulee Posts: 16Questions: 7Answers: 0

    the version I'm running is 1.10.7

  • allanallan Posts: 63,161Questions: 1Answers: 10,406 Site admin

    It sounds like a configuration error with the http server. If it returning something different when requesting via https rather than http you might need to look at the routing of whatever httpd you are using.

    Allan

This discussion has been closed.