Kentico REST - Getting Object Data on https - 404 Page Not Found

Gopala Padibandla asked on May 24, 2016 06:56

Hi there,

I am getting an error 404, when I try to get object data using REST on https and even its not challenging me for credentials. Its working fine on http and working fine to get page data using REST on https. Based on this I believe my configuration settings are ok.

More details:

SSL certificate configured for website

Authentication: Basic Authentication

Website url: http://trq-public-ebsite.azurewebsites.net

Kentico REST service url to get object data is the following

https://trq-public-website.azurewebsites.net/rest/cms.document.cms.office?format=json

Kentico logs PAGE NOT FOUND event in Event Log.

Any help regarding this issue is much appreciated.

Regards,

Gopala

Correct Answer

Gopala Padibandla answered on June 2, 2016 06:25

Fixed it by adding HTTPS binding in web config

0 votesVote for this answer Unmark Correct answer

Recent Answers


Roman Hutnyk answered on May 24, 2016 14:14

Do you have runAllManagedModulesForAllRequests="true" property added to modules in web.config file?

1 votesVote for this answer Mark as a Correct answer

Gopala Padibandla answered on May 25, 2016 00:15

Hi Roman,

Thanks for the quick response. The property is set to true in web config.

Getting page data working fine on https. Its only giving me 404 error for getting object data.

Following working fine

https://trq-public-website.azurewebsites.net/rest/content/currentsite/en-au/childrenof/offices

Thanks

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.