Highlighted

Try to download XML - Error #2032: Stream Error on Android

Community Beginner ,
May 08, 2016

Copy link to clipboard

Copied

Hello,

I try to download an XML file but I get this error! Everthing works fine on iOS but not on Android!

Here's the code:

eRequest = new URLRequest("http://user:password@www.mydomain.com/subfolder/myXML.xml");

eLoader = new URLLoader();

eLoader.dataFormat = URLLoaderDataFormat.TEXT;

               

eLoader.addEventListener(Event.COMPLETE, LoadExternalComplete);

eLoader.addEventListener(IOErrorEvent.IO_ERROR, LoadExternalError);

eLoader.load(eRequest);

I think it has to do with the password secured subfolder. When I use a non secured folder it works.

Any idea how to get this fixed? Is it a bug?

Thanks in advance,

Sebastian

TOPICS
Development

Views

379

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Try to download XML - Error #2032: Stream Error on Android

Community Beginner ,
May 08, 2016

Copy link to clipboard

Copied

Hello,

I try to download an XML file but I get this error! Everthing works fine on iOS but not on Android!

Here's the code:

eRequest = new URLRequest("http://user:password@www.mydomain.com/subfolder/myXML.xml");

eLoader = new URLLoader();

eLoader.dataFormat = URLLoaderDataFormat.TEXT;

               

eLoader.addEventListener(Event.COMPLETE, LoadExternalComplete);

eLoader.addEventListener(IOErrorEvent.IO_ERROR, LoadExternalError);

eLoader.load(eRequest);

I think it has to do with the password secured subfolder. When I use a non secured folder it works.

Any idea how to get this fixed? Is it a bug?

Thanks in advance,

Sebastian

TOPICS
Development

Views

380

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
May 08, 2016 0
Adobe Employee ,
May 08, 2016

Copy link to clipboard

Copied

Which version of AIR SDK are you using?

-Roshan

Adobe AIR

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 08, 2016 0
Community Beginner ,
May 08, 2016

Copy link to clipboard

Copied

21.0.0.198 but it was the same with AIR SDK 18

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 08, 2016 0
imacle LATEST
Community Beginner ,
May 14, 2016

Copy link to clipboard

Copied

Any ideas?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 14, 2016 0