# HTTP request ERROR FlightXML2

**URL:** <https://discussions.flightaware.com/t/http-request-error-flightxml2/44390>\
**Category:** AeroAPI\
**Created:** [January 7, 2019, 2:26pm UTC](https://discussions.flightaware.com/t/http-request-error-flightxml2/44390 "2019-01-07T14:26:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CarlesFerrer](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/carlesferrer/32/112867_2.png) [@CarlesFerrer](https://discussions.flightaware.com/u/CarlesFerrer)\
**Post date:** [January 7, 2019, 2:26pm UTC](https://discussions.flightaware.com/t/http-request-error-flightxml2/44390/1 "2019-01-07T14:26:34Z")

</div>

Hello, I’m trying to perform a first test with the example code I found on the web

([Documentation - Flight Status API / Flight Tracking API / FlightAware API - Commercial Services - FlightAware](https://flightaware.com/commercial/flightxml/documentation2.rvt))**(Visual Studio)**

I have the code exactly the same as in the example if I have performed all the steps described in the example, but when performing the test I get the following error.

> “An error occurred while making the HTTP request to [https://flightxml.flightaware.com/soap/FlightXML3/op](https://flightxml.flightaware.com/soap/FlightXML3/op). This could be due to the fact that the server certificate is not configured properly with HTTP.SYS in the HTTPS case. This could also be caused by a mismatch of the security binding between the client and the server.”

What is the reason for this error? and how do I solve it?

Thanks for all 🙂

---

<div class="post-metadata">

**Author:** ![dogrock](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/dogrock/32/118974_2.png) [@dogrock](https://discussions.flightaware.com/u/dogrock)\
**Post date:** [January 9, 2019, 4:10pm UTC](https://discussions.flightaware.com/t/http-request-error-flightxml2/44390/2 "2019-01-09T16:10:11Z")

</div>

This is normally the result of an older .NET install not properly negotiation the correct TLS version. More information can be seen here:

> **[AeroAPI ✈ Version 3.0 - Flight Status API / Flight Tracking API / FlightAware...](https://flightaware.com/commercial/aeroapi/v3/faq.rvt)**
>
> Best Flight Tracker: Live Tracking Maps, Flight Status, and Airport Delays for airline flights, private/GA flights, and airports.
