Get Data Moving 1
Results 1 to 3 of 3
Like Tree1Likes
  • 1 Post By stevenguyen

Thread: Error Message - Post connect callback failed

  1. #1
    rameshpachamuthu is offline Junior Member
    Join Date
    Mar 2015
    Posts
    19
    Rep Power
    0

    Error Message - Post connect callback failed

    Hi,
    My task to replicate data from rds mysql to redshift failing with following error.

    00001972: 2015-04-06T08:50:35 [SERVER ]I: Task Server Log - test2 (V4.0.5.29 HOST_NAME Microsoft Windows 64-bit, PID: 3240) started at Mon Apr 06 08:50:35 2015 (logger.c:448)
    00001972: 2015-04-06T08:50:35 [INFRASTRUCTURE ]I: Product license was not found. (license.c:746)
    00001972: 2015-04-06T08:50:35 [SERVER ]I: Client session (ID 17512) allocated (dispatcher.c:237)
    00001972: 2015-04-06T08:50:35 [TASK_MANAGER ]I: Task 'test2' running full load only in resume mode (replicationtask.c:728)
    00001972: 2015-04-06T08:50:35 [METADATA_MANAGER]I: ODBC additional properties = '(null)' (mysql_endpoint_imp.c:569)
    00001972: 2015-04-06T08:50:35 [METADATA_MANAGER]I: Connecting to MySQL through ODBC connection string: DRIVER={MySQL ODBC 5.2 Unicode Driver};SERVER=RDS_HOST_NAME;port=3306;UID=awsuser ;PWD=****;DB=;Option=74448896; (mysql_endpoint_imp.c:653)
    00001972: 2015-04-06T08:50:35 [METADATA_MANAGER]I: Going to connect to server REDSHIFT_HOST_NAME database dev (redshift_imp.c:726)
    00001972: 2015-04-06T08:50:36 [METADATA_MANAGER]I: Connected to server REDSHIFT_HOST_NAME database dev successfully. (redshift_imp.c:745)
    00001972: 2015-04-06T08:50:36 [UTILITIES ]I: The state is restored from file 'C:\Program Files\Attunity\Replicate\data\tasks\test2/StateManager/ars_saved_state_000002.sts' saved at Mon, 06 Apr 2015 08:50:22 GMT (1428310222682300) (statemanager.c:1033)
    00003984: 2015-04-06T08:50:36 [TASK_MANAGER ]I: Creating threads for all components (replicationtask.c:1151)
    00003984: 2015-04-06T08:50:36 [TASK_MANAGER ]I: All stream components were initialized (replicationtask.c:1912)
    00003984: 2015-04-06T08:50:36 [TASK_MANAGER ]I: Starting subtask #1 (replicationtask_util.c:856)
    00003984: 2015-04-06T08:50:36 [TASK_MANAGER ]I: Threads for all components were created (replicationtask.c:1297)
    00003984: 2015-04-06T08:50:36 [TASK_MANAGER ]I: Task initialization completed successfully (replicationtask.c:2064)
    00001280: 2015-04-06T08:50:36 [SOURCE_UNLOAD ]I: ODBC additional properties = '(null)' (mysql_endpoint_imp.c:569)
    00001280: 2015-04-06T08:50:36 [SOURCE_UNLOAD ]I: Connecting to MySQL through ODBC connection string: DRIVER={MySQL ODBC 5.2 Unicode Driver};SERVER=RDS_HOST_NAME;port=3306;UID=awsuser ;PWD=****;DB=;Option=74448896; (mysql_endpoint_imp.c:653)
    00003880: 2015-04-06T08:50:36 [TARGET_LOAD ]I: Going to connect to server REDSHIFT_HOST_NAME database dev (redshift_imp.c:726)
    00003880: 2015-04-06T08:50:36 [TARGET_LOAD ]I: Connected to server REDSHIFT_HOST_NAME database dev successfully. (redshift_imp.c:745)
    00003880: 2015-04-06T08:50:36 [INFRASTRUCTURE ]E: Http request sent to <localhost> failed: got http status 500 Server Error Http request sent failed. (at_http_client.c:737)
    00003880: 2015-04-06T08:50:36 [INFRASTRUCTURE ]E: failed to encrypt the link for url </transfer/cifta_server> (second encryption step failed) Failed to encrypt csdk link: pre-encryption step failed (at_csdk.c:889)
    00003880: 2015-04-06T08:50:36 [INFRASTRUCTURE ]E: Post connect callback failed. (at_http_client.c:903)
    00003880: 2015-04-06T08:50:36 [INFRASTRUCTURE ]E: - [123002] Failed to connect to Attunity CloudBeam AMI. (ar_cifta.c:514)
    00003880: 2015-04-06T08:50:36 [INFRASTRUCTURE ]E: -Http request sent to <localhost> failed: got http status 500 Server Error [123002] Failed to connect to Attunity CloudBeam AMI. (ar_cifta.c:514)
    00003880: 2015-04-06T08:50:36 [INFRASTRUCTURE ]E: -Http request sent to <localhost> failed: got http status 500 Server Error; failed to encrypt the link for url </transfer/cifta_server> (second encryption step failed); Post connect callback failed. [1000310] [123002] Failed to connect to Attunity CloudBeam AMI. (ar_cifta.c:514)
    00003880: 2015-04-06T08:50:36 [INFRASTRUCTURE ]E: failed to connect [123002] Failed to connect to Attunity CloudBeam AMI. (ar_cifta.c:514)
    00003880: 2015-04-06T08:50:36 [TARGET_LOAD ]E: Failed to start AMI Client [123002] Failed to connect to Attunity CloudBeam AMI. (redshift_imp.c:903)
    00003880: 2015-04-06T08:50:36 [TASK_MANAGER ]E: Failed while preparing stream component 'st_1_aws redshift tgt'. [123002] Failed to connect to Attunity CloudBeam AMI. (subtask.c:788)
    00003880: 2015-04-06T08:50:36 [TASK_MANAGER ]E: Cannot initialize subtask [123002] Failed to connect to Attunity CloudBeam AMI. (subtask.c:1193)
    00003880: 2015-04-06T08:50:36 [TARGET_LOAD ]E: Stream component 'st_1_aws redshift tgt' terminated [123002] Failed to connect to Attunity CloudBeam AMI. (subtask.c:1450)
    00003984: 2015-04-06T08:50:36 [TASK_MANAGER ]I: Subtask #1 ended (replicationtask_util.c:919)
    00003984: 2015-04-06T08:50:36 [TASK_MANAGER ]E: Task error notification received from subtask 1, thread 1 [123002] Failed to connect to Attunity CloudBeam AMI. (replicationtask.c:1752)
    00003984: 2015-04-06T08:50:36 [TASK_MANAGER ]I: Task 'test2' encountered a recoverable error (repository.c:4005)
    00003984: 2015-04-06T08:50:41 [SERVER ]I: Stop server request received internally (server.c:2074)
    00003984: 2015-04-06T08:50:41 [TASK_MANAGER ]I: Task management thread terminated (replicationtask.c:2447)
    00001972: 2015-04-06T08:50:42 [SERVER ]I: Client session (ID 17512) closed (dispatcher.c:190)
    00001972: 2015-04-06T08:50:42 [UTILITIES ]I: The last state is saved to file 'C:\Program Files\Attunity\Replicate\data\tasks\test2/StateManager/ars_saved_state_000002.sts' at Mon, 06 Apr 2015 08:50:42 GMT (1428310242785100) (statemanager.c:643)
    00002860: 2015-04-06T08:50:42 [SERVER ]I: The process stopped (server.c:2178)
    00002860: 2015-04-06T08:50:42 [SERVER ]I: Closing log file at Mon Apr 06 08:50:42 2015 (logger.c:1915)

    Thanks
    rp

  2. #2
    stevenguyen is offline Senior Member
    Join Date
    May 2014
    Posts
    299
    Rep Power
    6
    Hello rameshpachamuthu,

    1. I assume that you have all the ports configure correctly according to our guide:

    Quick Start Guide: Attunity CloudBeam for Amazon Redshift | Attunity

    Connectivity & Ports: Firewall ports 5746 (Attunity CloudBeam) and 5439 (Amazon Redshift Cluster), opened one-way / outbound.

    2. Make sure that your Target Redshift DB definition within Replicate does not have any Space.

    3. Could you check on your Attunity Cloudbeam AMI server, under Add/Remove Programs to see, What version is the Attunity Maestro Agent installed?
    if the Attunity Maestro Agent is not 1.1.0.36, then it needs to be updated to version 1.1.0.36.

    To upgrade the Cloudbeam Agent:
    1. Stop any current running tasks, from the Replicate Console.
    2. download the new Cloudbeam Agent to the Attumity AMI server.
    3. Stop the Attunity Maestro Agent service.
    4. Run the upgrade on both file, one at a time.
    5. Restart the Attunity Maestro Agent service.
    6. Back on the Replicate server, resume your task or Reload your task.

    ftp://ftp.attunity.com/public/Patch/...n_1.1.0.36.exe
    ftp://ftp.attunity.com/public/Patch/...n_1.1.0.36.exe

    Thanks,
    Steve
    rameshpachamuthu likes this.

  3. #3
    rameshpachamuthu is offline Junior Member
    Join Date
    Mar 2015
    Posts
    19
    Rep Power
    0
    Thanks Steve. Following your suggestion of updating the components fixed the issue. Really appreciate for assisting me here.

    Regards,
    Ramesh

Posting Permissions

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