ios - Issue with unregistering and registering to a different server -


i've encountered issue registration , unregistering in app. development purposes have 3 instances of sup. following scenario causes errorcode 568;

  1. create database & register uat server (success)
  2. perform initial sync server (success)
  3. unregister uat server & delete database (success)
  4. create database & register dev server (success)
  5. perform initial sync server (success)
  6. unregister dev server & delete database (success)
  7. create database & register uat server (fail)

error output:

[error] [supapplication.m:1171] error @ registerapplication messagingclientexception {     errorcode = 568;     errormessage = ""; } ================================================= onregistrationstatuschanged: status = 201, code = 568, message = supapplicationerror_unknown ================================================= [line 420] exception: suppersistenceexception: sync failed: -1497 (error) %1:3 %2:3004;parameter 1:3;parameter 2:3004 

attempt 1: thought calling [[supapplication getinstance] clearapplicationstate] following steps receive errorcode 516;

  1. create database & register uat server (success)
  2. perform initial sync server (success)
  3. unregister uat server & delete database (success)
  4. create database & register dev server (fail)

i tried in reverse , got same error (started @ dev , tried register dev)

error output:

[supapplication.m:1171] error @ registerapplication messagingclientexception {     errorcode = 516;     errormessage = ""; } ================================================= onregistrationstatuschanged: status = 201, code = 516, message = supapplicationerror_registration_resetting communications ================================================= [line 420] exception: suppersistenceexception: sync failed: -1497 (error) %1:3 %2:3004;parameter 1:3;parameter 2:3004 

what know

  • performing first 2 steps , synchronising getting data
  • aside connection settings in mbo on scc, both application settings identical
  • i setting applicationidentifier each time register

i wondering if else has encountered issue before , solution was?


Comments

Popular posts from this blog

javascript - Wordpress slider, not displayed 100% width -

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -