ComponentSpace

Forums



The message is not an HTTP POST. ERROR


The message is not an HTTP POST. ERROR

Author
Message
[email protected]
mbonthu@acep.org
New Member
New Member (31 reputation)New Member (31 reputation)New Member (31 reputation)New Member (31 reputation)New Member (31 reputation)New Member (31 reputation)New Member (31 reputation)New Member (31 reputation)New Member (31 reputation)

Group: Forum Members
Posts: 22, Visits: 63
We have our service provider site hosted on F5 load balanced environment with SSL offloading. So, whenever its a SP initiated request, the ACS is being passed as http instead of https although I have configured it to be https in the saml.config file in the idp.
Now the F5 automatically converts this http POST to a https POST and I see the error "The message is not an HTTP POST"

The idp originated request however successfully passes to the https ACS and creates a session on the SP.


Please let me know where i am going wrong.



ComponentSpace
ComponentSpace
ComponentSpace Development
ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)

Group: Administrators
Posts: 3.2K, Visits: 11K
I'm not sure if I follow exactly what is occurring.
However, if an extraneous HTTP Get etc is being received you can check for this in your code and only call the SAML API if it's an HTTP Post.
For example:
if (Request.HttpMethod == "POST") {
    // Call the SAML API.
}
If there's still an issue, please enable SAML trace and send the generated log file as an email attachment to [email protected] mentioning this topic.


Regards
ComponentSpace Development
omrisuissa
omrisuissa
New Member
New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)

Group: Forum Members
Posts: 9, Visits: 39
We have the same problem, did you solve the problem?
ComponentSpace
ComponentSpace
ComponentSpace Development
ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)

Group: Administrators
Posts: 3.2K, Visits: 11K
The SAML response must be sent in an HTTP Post. If an HTTP Get etc is received, we throw this exception.

I suggest using the browser developer tools (F12) to capture the network traffic to follow the SAML SSO flow. There should be an HTTP Post to your assertion consumer service endpoint.

If there's still an issue, please enable SAML trace and send the generated log file as an email attachment to [email protected] mentioning your forum post.

https://www.componentspace.com/Forums/17/Enabing-SAML-Trace 

Regards
ComponentSpace Development
omrisuissa
omrisuissa
New Member
New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)

Group: Forum Members
Posts: 9, Visits: 39
Sorry, It was a problem from our side, not related to componentspace.
ComponentSpace
ComponentSpace
ComponentSpace Development
ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)

Group: Administrators
Posts: 3.2K, Visits: 11K
No worries. Thanks for the update.

Regards
ComponentSpace Development
GO


Similar Topics


Execution: 0.000. 1 query. Compression Enabled.
Login
Existing Account
Email Address:


Password:


Select a Forum....












Forums, Documentation & Knowledge Base - ComponentSpace


Search