Asked by:
Using SSL with WebAPI

Question
-
User-1245426334 posted
Hi!
Our public site is an MVC site and we're using an SSL for all traffic to it.
We added WebAPI functionality to the MVC site in order to return feeds and data for external applications like iTunes and our Podcast. I can load the feed just fine in a browser: https://ccchapel.com/feeds/podcast
However, whenever I try to use a feed validator RSS or iTunes (feedvalidator.org and http://castfeedvalidator.com), I'm getting an error.
FeedValidator.org is telling me "The read operation timed out (SSLError; misconfigured server?)"
CastFeedValidator.com is telling me "Error resolving feed address."
So this seems to be an SSL error? I know both of these tools work because - when I try to validate the existing feed from our old site (http://feeds.ccchapel.com/Feeds/iTunes-Video) - they both work.
This is all new territory for me and I'm unsure what to even try to do to figure this out.
Thanks in advance for any help / advice!
-Eric
Monday, August 8, 2016 3:42 PM
All replies
-
User36583972 posted
Hi airic82,
You can read some articles about SSL in Web API.
Web API Thoughts 2 of 3 - Working with HTTPS:
http://www.codeproject.com/Articles/838276/Web-API-Thoughts-of-Working-with-HTTPS
http://www.asp.net/web-api/overview/security/working-with-ssl-in-web-api
Then, read some FEED Validator documents to check whether there have some errors.
FEED Validator:
http://www.feedvalidator.org/docs/
Best Regards,
Yohann Lu
Tuesday, August 9, 2016 2:39 AM -
User-1245426334 posted
Thanks, Yohann. I've looked over those resources, but everything is working server-side (as far as I can tell). Making the request myself in a browser returns everything as expected.
The bindings are correct in IIS and the site and feeds are visible when browsing. That's why I'm completely lost here. Everything works until I try a feed validator. Then I get an error. The help docs on FeedValidator weren't much help either. All it tells me is it's an IO error, but nothing more on what might be the cause:
Your feed couldn't be validated because there was a problem downloading it from the web server. You should try to diagnose this using a web browser, and make sure that the URL you supplied resolves to an accessible file.
But I know the file is accessible. For some reason, whenever a feed validation tool (also happening in FeedBurner) tries to fetch the feed it's getting an "Internal Server Error" message.
So ya... I'm really not certain what to try next. IIS is configured properly. The site and feeds are browsable through https. I am not manually checking for SSH in my mark up.
If anyone has any other thoughts, that'd be great.
Thanks!
-Eric
Tuesday, August 9, 2016 1:32 PM -
User-1245426334 posted
Also, I can mention that, when I observe the response behavior in Firefox's Web Console, I'm not seeing an Internal Server Error. Again, it seems to only happen with feed validators.
Tuesday, August 9, 2016 2:01 PM -
User-1245426334 posted
Okay... I have a bit more information, but not a lot.
Our web server sits externally, on a separate internet connection and outside our AD Domain, but for some reason, the page works any computer using our internet connection.
When I tested going to the feed from an outside source, then I actually saw the error.
I'll keep trying to debug more now that I'm able to produce the error.
-Eric
Tuesday, August 9, 2016 5:34 PM -
User-1245426334 posted
External error resolved, but validation problem still exists. Browsers can pull the feed just fine. I'm really lost...
Tuesday, August 9, 2016 8:03 PM -
User36583972 posted
Hi airic82,
From your error message, I hope some of the solved questions from the following link can help you:
http://wordpress.org/search/rss+feed+error?forums=1
Best Regards,
Yohann Lu
Wednesday, August 10, 2016 9:26 AM