Jump to content

deverette

Members
  • Posts

    1
  • Joined

  • Last visited

deverette's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. deverette

    kAcars Error

    Have the same issue with custom kACARS (and free kACARS has same result). If you get a CONNECTION ERROR (in the free version), with the "Data not received", check your server logs. If it's throwing a 406 error, the problem is with kACARS. I spent a couple hours with my hosts tech support to track the problem down. Many hosts are implementing firewall rules that will filter webserver requests that lack a user agent header. It appears that kACARS is lacking the header in its requests. Dropping the firewall rule would impact all other users on the server, so that's not an option. Have e-mailed Jeff, but not sure if anything will get done. In the interim, we can't use kACARS (custom or free). EDIT: Just want to clarify this this issue (at least the one I'm experiencing, which is thrown 406 error, followed by the "Switch Error" and "Data Not received") is in fact caused by lack of a user agent header in the webserver requests. This was verified by APVA throwing the exact same error. Looking at the APVA code, the user agent property isn't set in one of the database functions. When I set the property, the webserver request returned a 200 (OK). Comment out setting the property and it throws a 406. For reference, my host is using ModSecurity (Open Source). So, if you're having connection errors, either use Fiddler, or better yet look at your raw server logs. If you're getting 406 errors when attempting to send webserver requests, kACARS is likely the culprit.
×
×
  • Create New...