• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Help with SecureSocket connections..

Guest
Oct 27, 2011 Oct 27, 2011

Copy link to clipboard

Copied

I'm writing an Air app and debugging it in FlashCS5.5..

I'm using https://paypal.com just as a sample, but it's returning an invalid cert?

What's going wrong here?

public function mySecureSocket() {
_paymentSocket = new SecureSocket();
_hostName = "https://paypal.com";
_paymentSocket.connect(_hostName, 443);

}

private function onIOError(e:IOErrorEvent):void {
trace (_paymentSocket.serverCertificateStatus);
trace (e);
}

Output:

invalid

[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2031: Socket Error. URL: https://paypal.com" errorID=2031]

TOPICS
Performance issues

Views

1.0K

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
community guidelines
Guest
Oct 27, 2011 Oct 27, 2011

Copy link to clipboard

Copied

Hello,

Does your application run on PCs or iOS device?

Thanks!

Votes

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
community guidelines
Participant ,
Feb 28, 2014 Feb 28, 2014

Copy link to clipboard

Copied

I realize this is an old post, but I'm also having trouble using socket with a secure site.  Was there any resolution to this? 

Thankyou.

Votes

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
community guidelines
Explorer ,
Mar 08, 2017 Mar 08, 2017

Copy link to clipboard

Copied

LATEST

This is a very big issue for us as well for all Android applications using secureSocket.  Right now it shows up as invalid every time and is seriously affecting our ability to deliver apps for our clients.

Votes

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
community guidelines