dbTalk Databases Forums  

Problem with Mobilink Sync over https from Ultralite

sybase.public.sqlanywhere.ultralite sybase.public.sqlanywhere.ultralite


Discuss Problem with Mobilink Sync over https from Ultralite in the sybase.public.sqlanywhere.ultralite forum.



Reply
 
Thread Tools Display Modes
  #31  
Old   
Jeff Albion (Sybase iAnywhere)
 
Posts: n/a

Default Re: Problem with Mobilink Sync over https from Ultralite - 02-28-2008 , 12:58 PM






Justin,

If it was a certificate issue, you should be seeing "Error: 53 -
Handshake Error" upon performing the sync, not "-85 - Communication Error".

Could we maybe see how you're using createcert?

Try working through the first example ("Example 1: Creating a
self-signed certificate scheme with a single certificate") in the
article: http://www.sybase.com/detail?id=1055179

See if you can do:

1. TLS over TCP/IP on your desktop.
2. TLS over TCP/IP on your device.
3. HTTPS on your device.

How exactly is your device connected to the network/MobiLink server? DMA
over ActiveSync in a cradle? A network-enabled cradle...?

Regards,

Justin Wong wrote:
Quote:
Hi Tom,

I have already read through that document before I attempted the sync. I
have a feeling it's a problem with some libraries. Is there some way to get
a more detailed error message? -85 is kinda generic.

With regards to Josh's earlier question, yes, my device is connected to
network. I am able to ping the mobilink server from my device and vice
versa.
--
Jeff Albion, Product Support Analyst
Sybase iAnywhere

iAnywhere Developer Community : http://www.ianywhere.com/developer
iAnywhere Documentation : http://www.ianywhere.com/developer/product_manuals
ASA Patches and EBFs :
http://downloads.sybase.com/swd/summ...&timeframe =0


Reply With Quote
  #32  
Old   
Jeff Albion (Sybase iAnywhere)
 
Posts: n/a

Default Re: Problem with Mobilink Sync over https from Ultralite - 02-28-2008 , 12:58 PM






Justin,

If it was a certificate issue, you should be seeing "Error: 53 -
Handshake Error" upon performing the sync, not "-85 - Communication Error".

Could we maybe see how you're using createcert?

Try working through the first example ("Example 1: Creating a
self-signed certificate scheme with a single certificate") in the
article: http://www.sybase.com/detail?id=1055179

See if you can do:

1. TLS over TCP/IP on your desktop.
2. TLS over TCP/IP on your device.
3. HTTPS on your device.

How exactly is your device connected to the network/MobiLink server? DMA
over ActiveSync in a cradle? A network-enabled cradle...?

Regards,

Justin Wong wrote:
Quote:
Hi Tom,

I have already read through that document before I attempted the sync. I
have a feeling it's a problem with some libraries. Is there some way to get
a more detailed error message? -85 is kinda generic.

With regards to Josh's earlier question, yes, my device is connected to
network. I am able to ping the mobilink server from my device and vice
versa.
--
Jeff Albion, Product Support Analyst
Sybase iAnywhere

iAnywhere Developer Community : http://www.ianywhere.com/developer
iAnywhere Documentation : http://www.ianywhere.com/developer/product_manuals
ASA Patches and EBFs :
http://downloads.sybase.com/swd/summ...&timeframe =0


Reply With Quote
  #33  
Old   
Jeff Albion (Sybase iAnywhere)
 
Posts: n/a

Default Re: Problem with Mobilink Sync over https from Ultralite - 02-28-2008 , 12:58 PM



Justin,

If it was a certificate issue, you should be seeing "Error: 53 -
Handshake Error" upon performing the sync, not "-85 - Communication Error".

Could we maybe see how you're using createcert?

Try working through the first example ("Example 1: Creating a
self-signed certificate scheme with a single certificate") in the
article: http://www.sybase.com/detail?id=1055179

See if you can do:

1. TLS over TCP/IP on your desktop.
2. TLS over TCP/IP on your device.
3. HTTPS on your device.

How exactly is your device connected to the network/MobiLink server? DMA
over ActiveSync in a cradle? A network-enabled cradle...?

Regards,

Justin Wong wrote:
Quote:
Hi Tom,

I have already read through that document before I attempted the sync. I
have a feeling it's a problem with some libraries. Is there some way to get
a more detailed error message? -85 is kinda generic.

With regards to Josh's earlier question, yes, my device is connected to
network. I am able to ping the mobilink server from my device and vice
versa.
--
Jeff Albion, Product Support Analyst
Sybase iAnywhere

iAnywhere Developer Community : http://www.ianywhere.com/developer
iAnywhere Documentation : http://www.ianywhere.com/developer/product_manuals
ASA Patches and EBFs :
http://downloads.sybase.com/swd/summ...&timeframe =0


Reply With Quote
  #34  
Old   
Jeff Albion (Sybase iAnywhere)
 
Posts: n/a

Default Re: Problem with Mobilink Sync over https from Ultralite - 02-28-2008 , 12:58 PM



Justin,

If it was a certificate issue, you should be seeing "Error: 53 -
Handshake Error" upon performing the sync, not "-85 - Communication Error".

Could we maybe see how you're using createcert?

Try working through the first example ("Example 1: Creating a
self-signed certificate scheme with a single certificate") in the
article: http://www.sybase.com/detail?id=1055179

See if you can do:

1. TLS over TCP/IP on your desktop.
2. TLS over TCP/IP on your device.
3. HTTPS on your device.

How exactly is your device connected to the network/MobiLink server? DMA
over ActiveSync in a cradle? A network-enabled cradle...?

Regards,

Justin Wong wrote:
Quote:
Hi Tom,

I have already read through that document before I attempted the sync. I
have a feeling it's a problem with some libraries. Is there some way to get
a more detailed error message? -85 is kinda generic.

With regards to Josh's earlier question, yes, my device is connected to
network. I am able to ping the mobilink server from my device and vice
versa.
--
Jeff Albion, Product Support Analyst
Sybase iAnywhere

iAnywhere Developer Community : http://www.ianywhere.com/developer
iAnywhere Documentation : http://www.ianywhere.com/developer/product_manuals
ASA Patches and EBFs :
http://downloads.sybase.com/swd/summ...&timeframe =0


Reply With Quote
  #35  
Old   
Jeff Albion (Sybase iAnywhere)
 
Posts: n/a

Default Re: Problem with Mobilink Sync over https from Ultralite - 02-28-2008 , 12:58 PM



Justin,

If it was a certificate issue, you should be seeing "Error: 53 -
Handshake Error" upon performing the sync, not "-85 - Communication Error".

Could we maybe see how you're using createcert?

Try working through the first example ("Example 1: Creating a
self-signed certificate scheme with a single certificate") in the
article: http://www.sybase.com/detail?id=1055179

See if you can do:

1. TLS over TCP/IP on your desktop.
2. TLS over TCP/IP on your device.
3. HTTPS on your device.

How exactly is your device connected to the network/MobiLink server? DMA
over ActiveSync in a cradle? A network-enabled cradle...?

Regards,

Justin Wong wrote:
Quote:
Hi Tom,

I have already read through that document before I attempted the sync. I
have a feeling it's a problem with some libraries. Is there some way to get
a more detailed error message? -85 is kinda generic.

With regards to Josh's earlier question, yes, my device is connected to
network. I am able to ping the mobilink server from my device and vice
versa.
--
Jeff Albion, Product Support Analyst
Sybase iAnywhere

iAnywhere Developer Community : http://www.ianywhere.com/developer
iAnywhere Documentation : http://www.ianywhere.com/developer/product_manuals
ASA Patches and EBFs :
http://downloads.sybase.com/swd/summ...&timeframe =0


Reply With Quote
  #36  
Old   
Jeff Albion (Sybase iAnywhere)
 
Posts: n/a

Default Re: Problem with Mobilink Sync over https from Ultralite - 02-28-2008 , 12:58 PM



Justin,

If it was a certificate issue, you should be seeing "Error: 53 -
Handshake Error" upon performing the sync, not "-85 - Communication Error".

Could we maybe see how you're using createcert?

Try working through the first example ("Example 1: Creating a
self-signed certificate scheme with a single certificate") in the
article: http://www.sybase.com/detail?id=1055179

See if you can do:

1. TLS over TCP/IP on your desktop.
2. TLS over TCP/IP on your device.
3. HTTPS on your device.

How exactly is your device connected to the network/MobiLink server? DMA
over ActiveSync in a cradle? A network-enabled cradle...?

Regards,

Justin Wong wrote:
Quote:
Hi Tom,

I have already read through that document before I attempted the sync. I
have a feeling it's a problem with some libraries. Is there some way to get
a more detailed error message? -85 is kinda generic.

With regards to Josh's earlier question, yes, my device is connected to
network. I am able to ping the mobilink server from my device and vice
versa.
--
Jeff Albion, Product Support Analyst
Sybase iAnywhere

iAnywhere Developer Community : http://www.ianywhere.com/developer
iAnywhere Documentation : http://www.ianywhere.com/developer/product_manuals
ASA Patches and EBFs :
http://downloads.sybase.com/swd/summ...&timeframe =0


Reply With Quote
  #37  
Old   
Jeff Albion (Sybase iAnywhere)
 
Posts: n/a

Default Re: Problem with Mobilink Sync over https from Ultralite - 02-28-2008 , 12:58 PM



Justin,

If it was a certificate issue, you should be seeing "Error: 53 -
Handshake Error" upon performing the sync, not "-85 - Communication Error".

Could we maybe see how you're using createcert?

Try working through the first example ("Example 1: Creating a
self-signed certificate scheme with a single certificate") in the
article: http://www.sybase.com/detail?id=1055179

See if you can do:

1. TLS over TCP/IP on your desktop.
2. TLS over TCP/IP on your device.
3. HTTPS on your device.

How exactly is your device connected to the network/MobiLink server? DMA
over ActiveSync in a cradle? A network-enabled cradle...?

Regards,

Justin Wong wrote:
Quote:
Hi Tom,

I have already read through that document before I attempted the sync. I
have a feeling it's a problem with some libraries. Is there some way to get
a more detailed error message? -85 is kinda generic.

With regards to Josh's earlier question, yes, my device is connected to
network. I am able to ping the mobilink server from my device and vice
versa.
--
Jeff Albion, Product Support Analyst
Sybase iAnywhere

iAnywhere Developer Community : http://www.ianywhere.com/developer
iAnywhere Documentation : http://www.ianywhere.com/developer/product_manuals
ASA Patches and EBFs :
http://downloads.sybase.com/swd/summ...&timeframe =0


Reply With Quote
  #38  
Old   
Tom Slee
 
Posts: n/a

Default Re: Problem with Mobilink Sync over https from Ultralite - 02-29-2008 , 12:29 PM



Justin Wong wrote:
Quote:
Hi Tom,

I have already read through that document before I attempted the sync. I
have a feeling it's a problem with some libraries. Is there some way to get
a more detailed error message? -85 is kinda generic.
I use code like this for communication error reporting:

if( uEx.NativeError == ULSQLCode.SQLE_COMMUNICATIONS_ERROR )
{
MessageBox.Show( "StreamErrorCode = " +
_conn.SyncResult.StreamErrorCode.ToString() + "\r\n"
+ "StreamErrorContext = " + _conn.SyncResult.StreamErrorContext
+ "\r\n"
+ "StreamErrorID = " + _conn.SyncResult.StreamErrorID + "\r\n"
+ "StreamErrorSystem = " + _conn.SyncResult.StreamErrorSystem + "\r\n"
);
}

Tom


Reply With Quote
  #39  
Old   
Tom Slee
 
Posts: n/a

Default Re: Problem with Mobilink Sync over https from Ultralite - 02-29-2008 , 12:29 PM



Justin Wong wrote:
Quote:
Hi Tom,

I have already read through that document before I attempted the sync. I
have a feeling it's a problem with some libraries. Is there some way to get
a more detailed error message? -85 is kinda generic.
I use code like this for communication error reporting:

if( uEx.NativeError == ULSQLCode.SQLE_COMMUNICATIONS_ERROR )
{
MessageBox.Show( "StreamErrorCode = " +
_conn.SyncResult.StreamErrorCode.ToString() + "\r\n"
+ "StreamErrorContext = " + _conn.SyncResult.StreamErrorContext
+ "\r\n"
+ "StreamErrorID = " + _conn.SyncResult.StreamErrorID + "\r\n"
+ "StreamErrorSystem = " + _conn.SyncResult.StreamErrorSystem + "\r\n"
);
}

Tom


Reply With Quote
  #40  
Old   
Tom Slee
 
Posts: n/a

Default Re: Problem with Mobilink Sync over https from Ultralite - 02-29-2008 , 12:29 PM



Justin Wong wrote:
Quote:
Hi Tom,

I have already read through that document before I attempted the sync. I
have a feeling it's a problem with some libraries. Is there some way to get
a more detailed error message? -85 is kinda generic.
I use code like this for communication error reporting:

if( uEx.NativeError == ULSQLCode.SQLE_COMMUNICATIONS_ERROR )
{
MessageBox.Show( "StreamErrorCode = " +
_conn.SyncResult.StreamErrorCode.ToString() + "\r\n"
+ "StreamErrorContext = " + _conn.SyncResult.StreamErrorContext
+ "\r\n"
+ "StreamErrorID = " + _conn.SyncResult.StreamErrorID + "\r\n"
+ "StreamErrorSystem = " + _conn.SyncResult.StreamErrorSystem + "\r\n"
);
}

Tom


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.