Start a Conversation

Unsolved

This post is more than 5 years old

2878

December 16th, 2009 08:00

Connection errors

Sorry for being an idiot.. i am new to Centera dev and trying for first time to connect to the public cluster(s). XP client VS2005 in debug mode.. downloaded SDK and wrapper and compiled wrapper and referenced FPSDK.DLL etc..no errors in solution/project. downloaded pea files as applicable.

When I execute the following code(using name/secret authentication):

Dim clusterAddress As String

clusterAddress =

"128.221.220.64?name=profile1,secret=profile1" 'SECRET

Dim thePool As New FPPool(clusterAddress)

It fails instantiating "thePool" with errror:

-10020 "no primary cluster found"

If I use this cluster address using the associated PEA file:

clusterAddress =

"128.221.200.64?C:\Data\Centera\PEAFiles\us3profile1_rdqeDcw.pea" 'PEA

It fails instantiating "thePool" with errror:

-10153 "Failed to authenticate PEA data"

Any ideas? Thx!!!!!!!

2 Intern

 • 

417 Posts

December 16th, 2009 08:00

Using a PEA file is the recommended Best Practice. Try "escaping" the slashes i.e. use \\

Also, make sure that you are using an up to date PEA file for the public cluster that you are attempting to use.

6 Posts

December 16th, 2009 08:00

thx for the quick response!!

Unfortunately that didn't do it..same error I got the PEA file yesterday and the last refresh of the cluster was 11/5/2009 and the refresh interval is published as 2 months so should still be valid..

Here is the errorinfo trace attribute value:

"PAI_Initialize(128.221.200.64?C:\\Data\\Centera\\PEAFiles\\us3profile1_rdqeDcw.pea,PAIRef) <_FPPool_Open(128.221.200.64?C:\\Data\\Centera\\PEAFiles\\us3profile1_rdqeDcw.pea)

Here is the pea file content:

dXMzcHJvZmlsZTE=

dXMzcHJvZmlsZTE=

one thing i did notice is that the pea file appears to have unix CR/LF so when i opened in notepad it was all on one line and I had to use wordpad to open to get it to recognize the CR/LF and wrap(as pasted above).. could that be it?

thx again!!

6 Posts

December 16th, 2009 08:00

Not sure. How can I determine that? Any CMD line commands to validate/invalidate port availability?

2 Intern

 • 

417 Posts

December 16th, 2009 08:00

No, that is not the issue. Is your firewall open for port 3218?

2 Intern

 • 

417 Posts

December 16th, 2009 08:00

I am able to connect OK, so it is probably just now so that is probably the problem. You need to speak with your network administrator to check if the port is open for both TCP and UDP.
No Events found!

Top