×

Discussion Board

Page 2 of 2 FirstFirst 12
Results 16 to 24 of 24
  1. #16
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,751

    Re: Getting error KErrAbort (error code -39) when creating ssl connection

    Now I start wondering if you have tried putting anything into 'servername'. Have you?

  2. #17
    Registered User
    Join Date
    Feb 2008
    Posts
    209

    Re: Getting error KErrAbort (error code -39) when creating ssl connection

    I am putting the same server name in SetOpt which is giving certificate.

  3. #18
    Registered User
    Join Date
    Feb 2008
    Posts
    209

    Re: Getting error KErrAbort (error code -39) when creating ssl connection

    hey how can i create client cerificate X509 . any clue for this.

    Thanks,
    Neeraj

  4. #19
    Registered User
    Join Date
    Feb 2008
    Posts
    209

    Re: Getting error KErrAbort (error code -39) when creating ssl connection

    Hey Hi , Now i am able to connect to server using ssl , but problem is coming in readresponse from the server.

    now i am getting error -7510 KErrSSLAlertUnexpectedMessage

    const TInt KErrSSLAlertUnexpectedMessage = SSL_ERROR_BASE - SSL_ALERT_BASE - 10;

    Regards,

  5. #20
    Registered User
    Join Date
    Feb 2012
    Posts
    8

    Re: Getting error KErrAbort (error code -39) when creating ssl connection

    Hello,

    I am also using CSecureSocket to communicate with server , the code just work fine on 3rd_ed_fp2 sdk , but when trying to use the same code on Symbian^3 ( belle, Anna) handshake failed with -39 KErrAbort error , what could be the reason ??

    thanks in advance for any help !

  6. #21
    Registered User
    Join Date
    Feb 2012
    Posts
    8

    Re: Getting error KErrAbort (error code -39) when creating ssl connection

    Hello All,

    I am also using CSecureSocket to communicate with server , the code just work fine on 3rd_ed_fp2 sdk , but when trying to use the same code on Symbian^3 ( belle, Anna) handshake failed with -39 KErrAbort error , what could be the reason ??

    thanks in advance for any help !

  7. #22
    Registered User
    Join Date
    Feb 2012
    Posts
    8

    Post SSL handshake error KErrAbort -39 on Symbian^3 belle Anna

    Hello All,

    I am also using CSecureSocket to communicate with server i have setOpt serverName , the code just work fine on 3rd_ed_fp2 sdk , but when trying to use the same code on Symbian^3 ( belle, Anna) handshake failed with -39 KErrAbort error , what could be the reason ??

    thanks in advance for any help !

  8. #23
    Registered User
    Join Date
    Feb 2008
    Posts
    209

    Re: SSL handshake error KErrAbort -39 on Symbian^3 belle Anna

    Hi , CSecureSocket is working fine in symbian 3 (belle N8)emulater but not working on device

    but working fine on symbian 3rd fp2 and 5th edition devices.

    pls help me why is it not working on N8?

    below is the api:

    iSecureSocket = CSecureSocket::NewL( iSocket, KTLSProtocol );

    #ifndef __SYMBIAN_3__
    TBuf8<50> domainName;
    domainName.Append( *iServerName );

    User::LeaveIfError(iSecureSocket->SetOpt(KSoSSLDomainName, KSolInetSSL, domainName ));

    User::LeaveIfError( iSecureSocket->SetDialogMode(EDialogModeAttended));

    // Clears any previous options
    iSecureSocket->FlushSessionCache();
    #endif
    iSecureSocket->StartClientHandshake(iStatus);

  9. #24
    Registered User
    Join Date
    Feb 2008
    Posts
    209

    Re: SSL handshake error KErrAbort -39 on Symbian^3 belle Anna

    Hi , CSecureSocket is working fine in symbian 3 (belle N8)emulater but not working on device

    but working fine on symbian 3rd fp2 and 5th edition devices.

    pls help me why is it not working on N8?

    below is the api:

    iSecureSocket = CSecureSocket::NewL( iSocket, KTLSProtocol );

    #ifndef __SYMBIAN_3__
    TBuf8<50> domainName;
    domainName.Append( *iServerName );

    User::LeaveIfError(iSecureSocket->SetOpt(KSoSSLDomainName, KSolInetSSL, domainName ));

    User::LeaveIfError( iSecureSocket->SetDialogMode(EDialogModeAttended));

    // Clears any previous options
    #endif
    iSecureSocket->FlushSessionCache();

    iSecureSocket->StartClientHandshake(iStatus);

Similar Threads

  1. Error in creating HTTP connection
    By akash_rawat in forum Mobile Java General
    Replies: 1
    Last Post: 2009-10-25, 13:10
  2. KErrAbort Error in UDP Socket
    By muaz111111 in forum Symbian Networking & Messaging (Closed)
    Replies: 3
    Last Post: 2008-02-19, 13:36
  3. Replies: 2
    Last Post: 2007-02-09, 07:52
  4. Socket connection not returning error code!
    By jestyjames in forum Symbian
    Replies: 1
    Last Post: 2005-02-27, 11:15
  5. error when creating GPRS connection
    By kenny2304 in forum Nokia M2M
    Replies: 3
    Last Post: 2004-11-11, 05:36

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×