I did not come here for quite a long time, but as it seems to be more active around here than before, I hope to have an answer to my problem. There will be a bit of history, but please be patient, I really need help (like everyone :/)
I’m working on a Flash application since February 2008 which used a Flex API of ours. This application is connected to an eJabberd server and we always used the previous version of XIFF (XIFF 2 I think). We never have to update it though because it always met our requirements.
But now, our client wants to use HTTP binding. I was already in charge of trying it last year (or I can’t recall exactly when) but it failed. It was just to give it a try because using the XMPPSocketConnection was enough and great. So I downloaded the last version of XIFF (from SVN trunk) and started to work on updated our API to reflect the changes.
I skip all that concerns crossdomain policy and so on : I finally got my eJabberd server to work with HTTP binding on port 5280 and Flash is able to find the crossdomain file. Our application works like a charm locally…
**But when I try on the webserver, I receive a “401 not-authorized” response from XIFF (but not from eJabberd - at least I see nothing in logs and even not a trace of an incoming event of any kind). **I thought immediately about crossdomain and security and all since it works locally but the crossdomain file is here and read and all. Flash has not problem, it’s eJabberd which seems to answer differently…
So if someone has any ideas… any help would be appreciated.
Thanks for reading