Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7509691
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T22:59:36+00:00 2026-05-29T22:59:36+00:00

I’m trying to access a webservice with an SSL connection from an AIR application,

  • 0

I’m trying to access a webservice with an SSL connection from an AIR application, I can access the webservice and retrieve the data without SSL, but when I try and access it through it I end up getting the 2032 Stream Error. As if what I was attempting to access wasn’t available (which in fact it is, since I can easilly access it through my browsers).

I am doing the following:

    private var server:String = "";
    private var contentType:String = "";
    private var method:String = "";
    private var connector:connectionTest = null;
    private var serverURL:URLLoader = new URLLoader();

    public function Connector(a2:String, a3:String, mainClass:connectionTest)
    {
        server = "url";
        contentType = a2;
        method = a3;
        connector = mainClass;
    }

    public function callService(callback:String, request:Object):void{
        var url:URLRequest = new URLRequest(server);
        var encoder2:JSONEncoder = new JSONEncoder(request);
        var requestedString:String = "0" + encoder2.getString();
        url.contentType = contentType;
        url.method = method;
        url.data = "callback=" + callback;
        url.data +="&request=" + encodeURI(requestedString);
        url.authenticate = true;
        serverURL.addEventListener(IOErrorEvent.IO_ERROR, treatIO);
        serverURL.addEventListener(Event.COMPLETE, loadData);
        try{
            serverURL.load(url);
        }catch(e:ArgumentError){trace("ArgError: " + e.message);}
        catch(e:SecurityError){trace("SecError: " + e.message);}
    }
    private function treatIO(e:IOErrorEvent):void{
        trace(e.text);
    }

    private function loadData(e:Event):void{
        trace("loaded");
        connector.htmlObject.htmlText = serverURL.data as String;
        trace(serverURL.data);
    }

explanation: mainClass is an mxml file with just a button and an html object in it.

Note: I have done the recommended thing of adding to Flex the certificate.

Anyone out there that can assist with this?

Edit:
I also tried with the URLStream class and it still doesn’t handle it, seems like I can’t actually get a connection to the server…

Even tho I do connect to it in a browser or even SoapUI

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T22:59:37+00:00Added an answer on May 29, 2026 at 10:59 pm

    We faced the same problem on some machines (Win7 64bit), unfortunatelly still not solved. Maybe this is relevant:

    http://forums.adobe.com/message/4028647#4028647

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
Does anyone know how can I replace this 2 symbol below from the string
I want to construct a data frame in an Rcpp function, but when I
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.