# HTTPS in AS3 - Error #2044: Unhandled ioError:. text=Error #2032

**URL:** <https://forum.kirupa.com/t/https-in-as3-error-2044-unhandled-ioerror-text-error-2032/303653>\
**Category:** Uncategorized\
**Created:** [January 24, 2010, 11:56am UTC](https://forum.kirupa.com/t/https-in-as3-error-2044-unhandled-ioerror-text-error-2032/303653 "2010-01-24T11:56:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Crocodile](https://avatars.discourse-cdn.com/v4/letter/c/47e85d/32.png) [@Crocodile](https://forum.kirupa.com/u/Crocodile)\
**Post date:** [January 24, 2010, 11:56am UTC](https://forum.kirupa.com/t/https-in-as3-error-2044-unhandled-ioerror-text-error-2032/303653/1 "2010-01-24T11:56:17Z")

</div>

I am trying to knock up a Yammer client in flash10/as3 (in CS4) but it just wouldn’t want to take my https requests. (when i change to http:// the request is compiled correctly and being sent.)

When I try to run the code below as is(as https) it throws the following error:  
Error opening URL '[https://www.yammer.com/oauth/request\_token?’](https://www.yammer.com/oauth/request_token?')  
Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: [https://www.yammer.com/oauth/request\_token](https://www.yammer.com/oauth/request_token)?

The code: (I omitted the irrelevant part of the code here…)

var loader:URLLoader = oauth.getRqToken(“[https://www.yammer.com/oauth/request\_token](https://www.yammer.com/oauth/request_token)”);  
loader.addEventListener(Event.COMPLETE, requestTokenHandler);

function requestTokenHandler(e:Event):void  
{  
var mysr = e.currentTarget.data;  
textWindow1.text=mysr;

}  
.  
.  
.  
public function getRqToken( url : String ) : URLLoader {  
return new URLLoader( getRqTokenRequest( url ) );  
}  
.  
.  
.

public function getRqTokenRequest( url : String ) : URLRequest {  
var oauthRequest:OAuthRequest = new OAuthRequest( “POST”, url, null, consumer, null );  
var request:URLRequest = new URLRequest( url );  
request.method = URLRequestMethod.POST; // POST as per Yammer specifications  
request.data=" ";  
request.requestHeaders.push(reqHeader); //Add header to the Yammer token\_request  
return request;  
}
