Replication Between Repos on Same Cloud Server: The server 'xxx@cloud' requires encryption

Hello,

I am attempting to create a replica server on Plastic cloud but encounter issues when replicating. The setup is something like this:

Mainrepo_replica@organization@cloud```

When I try to pull from Mainrepo to Mainrepo_replica, I get an error. 

```cm pull main@Mainrepo@organization@cloud rep:Mainrepo_replica@organization@cloud```

2023-07-10 14:30:09,107 MSI\christian ERROR SyncReplicationDialog - The server 'organization@cloud' requires encryption, but your server is not configured with the encryption key. To configure your local server make sure you become the admin of the server (owner), try again and you will be asked to enter encryption key. Otherwise, ask your sysadmin or search 'Encrypt all data' in the online docu. 
at Codice.Client.BaseCommands.Replication.DirectReplicationOperation.Run(RepositoryInfo srcRepInfo, BranchInfo srcBranchInfo, RepositoryInfo dstRepInfo, Credentials auth, FetchOptions fetchOptions, EnumReplicationSEIDTranslationMode translationMode, SEIDTranslationTable translationTable, Boolean bFetch)
at Codice.CM.Client.Gui.Sync.ReplicationController.ProcessBranchOperation(GuiPendingBranch branch, ReplicationMode mode, ServerProfile serverProfile, EnumReplicationSEIDTranslationMode translationMode, SEIDTranslationTable translationTable)
at Codice.CM.Client.Gui.Sync.ReplicationController.ProcessReplicationOperation(ReplicationOperation operation, ServerProfile serverProfile, EnumReplicationSEIDTranslationMode translationMode, SEIDTranslationTable translationTable)

I have added the appropriate cryptedservers.conf and project.key for organization@cloud in the following places:
```C:\Users\christian\AppData\Local\plastic4
C:\Program Files\PlasticSCM5\client
C:\Program Files\PlasticSCM5\server```

Any help would be appreciated!

Hi @christian_decoy ,
You created a ticket regarding this issue. Your ticket has been replied to. Please take a look at the response and reply to it in the ticket.

It would have been nice to link the ticket or also reply here for others encountering the same issue subsequently, as seen by the 500+ views this post have.

Hey there, I was told that To transfer a repository in cloud, you will need to use local server as a middleman. While I didn’t fully understand why, I was told that:

When a repository in a cloud organization, it needs to be transferred to a local and then it needs to transfer to a cloud.

https://support.unity.com/hc/en-us/articles/4773885917204--Cloud-Transfer-a-repository-from-one-Organization-to-another-

Yeah that’s what I understood as well from my first try a few days ago but I was getting the encryption required error. After a lot of trial and error and trying to find up to date informations between the old legacy forum and the new Unity documentation (sic), I was able to do the process step by step (clone to local, then clone back up to the cloud, no encryption issue) but when i try to do it at once from cloud to cloud (withing the same org) with the clone command, it still prompts me with the encryption required…

Could you open a ticket at devops-vcs-support@unity3d.com? We will try to figure out why you still cannot sync the repo if you are using a local repo and then cloning it back to the cloud.

I’m guessing that the destination cloud organization also has encryption enabled.