Highlighted

Occasional 2032 errors when making HTTPS URLRequest

Community Beginner ,
Aug 01, 2015

Copy link to clipboard

Copied

Hi, we are building a packaged native desktop AIR application (AIR 18.0 SDK) for Windows and OS X. This application connects to our account server via HTTPS POST requests using URLLoader. Most of the time this works fine but some of our users cannot connect and receive 2032 errors via an IOErrorEvent.IO_ERROR. We're listening for HTTPStatusEvent.HTTP_RESPONSE_STATUS as well but don't get any additional information from there.

Users who experience this problem are able to access the same URL through a browser with no problem, so it appears to be an issue with the AIR application, not their general internet connectivity.

We've tried instructing users to disable their firewall temporary and turn off A/V software, but this hasn't made a difference.

We've tried increasing the default idle timeout - that also makes no difference. Successful requests are being processed in the order of a second.

The account web server is up and responsive. One user is experiencing the problem on one of their Windows PCs but not the other. Both are connecting via the same internet connection and have the same version of Windows installed.

Logging on our account web server shows nothing from the users in question, so it appears that the request is never being received.

Any suggestions as to how we might resolve this or get more information on what's causing the issue would be gratefully received. Thanks.

Here's the relevant code snippet:

URLRequestDefaults.idleTimeout = 120000;

var loader:URLLoader = new URLLoader();

var url:String = Config.getString('accounts', 'https://localhost/accounts/');

url += 'v1/steam_authticket';

var urlRequest:URLRequest = new URLRequest(url);

var urlVars:URLVariables = new URLVariables();

urlVars.ticket=encodedTicket;

urlRequest.data = urlVars;

urlRequest.method = URLRequestMethod.POST;

loader.addEventListener(Event.COMPLETE, onAuthTicketResponse, false, 0, true);

loader.addEventListener(IOErrorEvent.IO_ERROR, onHTTPError, false, 0, true);

loader.addEventListener(HTTPStatusEvent.HTTP_RESPONSE_STATUS, onHTTPStatus, false, 0, true);

loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onHTTPSecurityError, false, 0, true);

loader.load(urlRequest);

TOPICS
Performance issues

Views

402

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

Occasional 2032 errors when making HTTPS URLRequest

Community Beginner ,
Aug 01, 2015

Copy link to clipboard

Copied

Hi, we are building a packaged native desktop AIR application (AIR 18.0 SDK) for Windows and OS X. This application connects to our account server via HTTPS POST requests using URLLoader. Most of the time this works fine but some of our users cannot connect and receive 2032 errors via an IOErrorEvent.IO_ERROR. We're listening for HTTPStatusEvent.HTTP_RESPONSE_STATUS as well but don't get any additional information from there.

Users who experience this problem are able to access the same URL through a browser with no problem, so it appears to be an issue with the AIR application, not their general internet connectivity.

We've tried instructing users to disable their firewall temporary and turn off A/V software, but this hasn't made a difference.

We've tried increasing the default idle timeout - that also makes no difference. Successful requests are being processed in the order of a second.

The account web server is up and responsive. One user is experiencing the problem on one of their Windows PCs but not the other. Both are connecting via the same internet connection and have the same version of Windows installed.

Logging on our account web server shows nothing from the users in question, so it appears that the request is never being received.

Any suggestions as to how we might resolve this or get more information on what's causing the issue would be gratefully received. Thanks.

Here's the relevant code snippet:

URLRequestDefaults.idleTimeout = 120000;

var loader:URLLoader = new URLLoader();

var url:String = Config.getString('accounts', 'https://localhost/accounts/');

url += 'v1/steam_authticket';

var urlRequest:URLRequest = new URLRequest(url);

var urlVars:URLVariables = new URLVariables();

urlVars.ticket=encodedTicket;

urlRequest.data = urlVars;

urlRequest.method = URLRequestMethod.POST;

loader.addEventListener(Event.COMPLETE, onAuthTicketResponse, false, 0, true);

loader.addEventListener(IOErrorEvent.IO_ERROR, onHTTPError, false, 0, true);

loader.addEventListener(HTTPStatusEvent.HTTP_RESPONSE_STATUS, onHTTPStatus, false, 0, true);

loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onHTTPSecurityError, false, 0, true);

loader.load(urlRequest);

TOPICS
Performance issues

Views

403

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
Aug 01, 2015 1
Engaged ,
Aug 02, 2015

Copy link to clipboard

Copied

I have the same problem with many Windows devices. It happens at 1-5% times with any AIR version.

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...
Aug 02, 2015 0
Community Beginner ,
Aug 05, 2015

Copy link to clipboard

Copied

We have the same problem.

A strange thing is that it seems to occurs more often on some devices (iPhone) than others (iPad)

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...
Aug 05, 2015 0
Contributor ,
Aug 05, 2015

Copy link to clipboard

Copied

I wonder if this is related to this bug logged back on April 10th: Bug#3968371 - Making HTTPS calls using HTTPService fails on some Windows computers

Either way, I have experienced this 2032 error bug intermittently and would like it to get nailed down and fixed.

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...
Aug 05, 2015 0
Community Beginner ,
Aug 05, 2015

Copy link to clipboard

Copied

Yes, it sure looks to be pretty much that issue. It's not a clock problem as described in one of the messages linked to from that thread - we already checked that with a client who was having the problem.

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...
Aug 05, 2015 0
Adobe Employee ,
Aug 05, 2015

Copy link to clipboard

Copied

Thanks for the heads up guys.  I'll have my QA team take a look at this thread ASAP.  Do we have a bug on this issue (other than the Windows bug linked above)?

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...
Aug 05, 2015 0
Community Beginner ,
Aug 05, 2015

Copy link to clipboard

Copied

Thanks for the attention. I created a bug from my original post:

Bug#4032111 - Occasional 2032 errors when making HTTPS URLRequest

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...
Aug 05, 2015 1