Skip to Content
author's profile photo Former Member
Former Member

Missing required connection profile property

Good day!

When migrating from SUP 2.1.2 to 2.2, we get an error.


2013-09-04 11:57:49.562 REQPAY[11068:c07] [ERROR] [SUPApplication.m:1130] Missing required connection profile property:

2013-09-04 12:47:52.134 Subsystem=Error Application ID=Reqpay_V1, Application Connection ID=SIMULATOR-__Reqpay_V1, User=V.A.SOGLAEV@SAPEIS, Correlation ID=, Transaction ID=, Root Context ID=, Package=reqpay_v1:2.0, MBO=, Operation=, Thread ID=229, Node ID=U-MOBIL2, Error=[-10052] The authenticate_parameters script returned 3004

2013-09-04 12:47:52.134 Subsystem=Error Application ID=Reqpay_V1, Application Connection ID=SIMULATOR-__Reqpay_V1, User=V.A.SOGLAEV@SAPEIS, Correlation ID=, Transaction ID=, Root Context ID=, Package=reqpay_v1:2.0, MBO=, Operation=, Thread ID=229, Node ID=U-MOBIL2, Error=Application connection <moca://SIMULATOR-__Reqpay_V1> is not for appId <Reqpay_V1>

- (void)setupApplicationConnection{

defaults = [NSUserDefaults standardUserDefaults];

SUPApplication *app = [SUPApplication getInstance];

[app setApplicationIdentifier:@"Reqpay_V1"];

[app setApplicationCallback:self.callbackHandler];

SUPConnectionProperties *properties = app.connectionProperties;

[properties setServerName:@"u-mobil2.utg.loc"];

[properties setPortNumber:5001];

[properties setFarmId:0];

[properties setSecurityConfiguration:@"SAPEIS"];

[properties setNetworkProtocol:@"http"];

[properties setUrlSuffix:@""];

SUPLoginCredentials *loginCred = [SUPLoginCredentials getInstance];

[loginCred setUsername:[defaults stringForKey:@"supusername"]];

[loginCred setPassword:[defaults stringForKey:@"suppassword"]];

[properties setLoginCredentials:loginCred];

[properties setActivationCode:@"REQPAY"];

if (![Reqpay_V1Reqpay_V1DB databaseExists]) {

[Reqpay_V1Reqpay_V1DB createDatabase];

}

SUPConnectionProfile *connProfile = [Reqpay_V1Reqpay_V1DB getSynchronizationProfile];

[connProfile setPortNumber:2480];

[connProfile setServerName:@"U-MOBIL2"];

[connProfile setDomainName:@"default"];

[connProfile setUser:[defaults stringForKey:@"supusername"]];

[connProfile setPassword:[defaults stringForKey:@"suppassword"]];

[connProfile setAsyncReplay:YES];

[connProfile setClientId:@"0"];

[connProfile setNetworkProtocol:@"http"];

[Reqpay_V1Reqpay_V1DB registerCallbackHandler:self.callbackHandler];

[Reqpay_V1Reqpay_V1DB setApplication:app];

if ([SUPApplication registrationStatus] == SUPRegistrationStatus_REGISTERED) {

[app startConnection:0];

}else{

[app registerApplication:0];

}

}

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 04, 2013 at 12:53 PM

    Solving the problem: [properties setFarmId:@"0"];

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.