1

I have installed server certificate in IIS with binding and have controller with methods example below:

 [HttpPost("checkOrder")]
 [RequireHttps]
 public void CheckOrder(CommonParamsJson inputParams)
 {
 var tmp = new YaMoneyCommonHttpProtocol("checkOrder", new Settings());
 tmp.ProcessRequest(inputParams);
 }

after request to this method server get his but appear exception:

microsoft.aspnetcore.server.kestrel[17] connection id bad request data: "invalid request line: ....

and

Microsoft.AspNetCore.Server.Kestrel.BadHttpRequestException: Invalidrequest line ... enter image description here

How i understand not happening handshake action

asked Aug 31, 2017 at 10:03
7
  • but appear exception: What is the url you are hitting that throws that exception? Please include a screenshot of the exception. Commented Aug 31, 2017 at 10:07
  • How are you posting to the CheckOrder endpoint? Commented Aug 31, 2017 at 10:19
  • @mjwills this request send Yandex Api Commented Aug 31, 2017 at 10:20
  • @mjwills but it true request route Commented Aug 31, 2017 at 10:21
  • 1
    @RuardvanElburg Thanks a lot, your answer helped me solve this problem) Commented Sep 1, 2017 at 12:41

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.