Solution to a Flex2Gateway 404 Error

Written by

I hit a peculiar issue yesterday where my remote requests to ColdFusion from Flex were failing with Charles telling me I had a 404 for the flex2gateway? Even stranger was that some requests seem to make it through, it was the first ‘fresh’ browser session’s that were failing consistently. Looking at the url’s it seems that the jsessionid appended to the url was the issue i.e.

1
http://mydomain.com/flex2gateway;jsessionid

. The solution is simple but an easy oversight to make, ensure there is a trailing forward slash on your defined endpoint url i.e.

1
http://mydomain.com/flex2gateway/

Comments