Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9113307
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T03:56:08+00:00 2026-06-17T03:56:08+00:00

I have a strange error popping in my error logs file. I’m using the

  • 0

I have a strange error popping in my error logs file. I’m using the custom RequireHttpsAttribute from AppHarbor: https://gist.github.com/915869.

I have this attribute on my home controller, and it’s working fine, but I would say that 5-10 times per day some requests failed with the following error:

The requested resource can only be accessed via SSL.
Stack Trace:
   at System.Web.Mvc.RequireHttpsAttribute.HandleNonHttpsRequest(AuthorizationContext filterContext)
   at Osmosis.RequireHttpsAttribute.OnAuthorization(AuthorizationContext filterContext) in d:\temp\bfzenor31c\input\prj\Infrastructure\Extensibility\RequireHttpsAttribute.cs:line 35
   at System.Web.Mvc.ControllerActionInvoker.InvokeAuthorizationFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<BeginInvokeAction>b__1e(AsyncCallback asyncCallback, Object asyncState

The line 35 from the RequireHttpsAttribute is the following:

HandleNonHttpsRequest(filterContext);

So the “https” was not supplied in the “X-Forwarded-Proto” request header. But the redirection to the https failed for a reason that I don’t understand.

This is the url requested: http://www.mydomain.com:14685/, controller home action index which have the [RequireHttps] attribute.

Any pointers would be appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T03:56:09+00:00Added an answer on June 17, 2026 at 3:56 am

    AppHarbor will make requests like this to your site whenever a new version is deployed. This is part of the pre-warming process, and I think it’s the likely source of your problem.

    We’ll think about ways to avoid this showing up as an error for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just started getting a very strange error when using jQueryMobile for my
I am getting a strange error using jQuery 1.3.2 and Firefox. I have created
I have a strange error that came about when I changed my app from
I have a really strange error when I try and sort objects using a
I don't know why I have this strange error when using Octave on Windows
I have a really strange error. PHP can't read a file that do exists...
I am getting a really strange error from ActiveResource. I have a method that
I have a very strange error using NSMutableArray in cocos2d/xcode In my code, I
I am very new to Python and have strange error. I am using Eclipse/PyDev
I have strange error and not sure how to tackle it without wasting too

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.