Quantcast
Channel: Veeam Support Knowledge Base
Viewing all articles
Browse latest Browse all 4362

Job Writing to Cloud Connect Repository Fails with: "Target gate has rejected connection. Connection target is not recognized. No rule exists."

$
0
0

Job Writing to Cloud Connect Repository Fails with: "Target gate has rejected connection. Connection target is not recognized. No rule exists."

KB ID: 4314
Product: Veeam Cloud Connect | 10 | 11
Published: 2022-05-31
Last Modified: 2022-05-31

Challenge

Some Veeam Cloud Service Providers may observe that their tenant's jobs intermittently fail with either of the following errors:
Error Cloud gate has rejected connection. Reason: Connection target is not recognized. No rule exists.. (System.Exception)
Error Connection target is not recognized. No rule exists. (Veeam.Backup.Common.CCloudGateNoRuleException)
This issue can occur seemingly at random, with no pattern of which jobs, tasks, or tenants are affected.

Cause

This issue most often occurs when an external load balancer or DNS Round-Robin has been configured between the tenant's environment and the Cloud Connect Provider's Cloud Gateways, which causes traffic to be sent to a Cloud Gateway other than the one assigned to the tenant's task.

As each task begins on the tenant's side of the connection, the Cloud Connect server creates a dedicated traffic forwarding rule for the backup traffic. This traffic rule is based on Veeam Cloud Connects internal load-balancer selecting the Cloud Gateway server with the least amount of tasks already assigned. Once the traffic rule is created, that tenant's backup activity is expected to use the designated Cloud Gateway and is not allowed to use any gateways where this rule does not exist.

An external load balancer or DNS Round-Robin breaks this logic and may cause tenant traffic bound to a specific forwarding rule to be sent to a different Cloud Gateway, resulting in the error mentioned above. 


Here is an example of how that incorrect configuration will appear within the view in the Veeam Cloud Connect Console:

Incorrect Configuration
Veeam Log Examples

Log from tenant side
%programdata%\Veeam\backup\BackupJob\Job.*.log

Info [CloudGateSvc] Checking gates availability for provider 'vcc.cloudprovider.com', gates to check are: [IP: vcc.cloudprovider.com , port:6180],[IP: vcc.cloudprovider.com , port:6180]

Logging in Service Provide environment
%programdata%\Veeam\backup\CloudConnectService\Tenant\Auxiliary_session\Session.log

Info [CloudForwarding] Found following gates for tenant: Tenant, preferred gates: [IP: vcc.cloudprovider.com , port:6180];[IP: vcc.cloudprovider.com , port:6180], failover gates:

Solution

To prevent the issue described in the cause section, Veeam Cloud Service Providers should avoid external load balancing for Cloud Gateway traffic.

Here is an example of a correctly configured set of Cloud Gateway servers, each with their own distinct DNS and IP address.

Corrected Configuration
If the gateway configuration is correct, and the error "Connection target is not recognized. No rule exists." continues to occur, please collect logs and open a support case.

More information

  • For high availability reasons, Veeam Cloud Service Providers can use DNS Round-Robin and external load balancers only for the name of the Service Provider when adding it to a tenant VBR server:
    https://helpcenter.veeam.com/docs/backup/cloud/cloud_connect_sp_settings.html

    Cloud Gateway Configuration example from VCC Best Practice Resource: Load Balancers
  • Please keep in mind that Veeam has its own HA logic and keeps the names of all available Cloud Gateway Servers obtained from SP during a previous rescan or job run. This allows the tenant VBR server to automatically failover to the next gateway if some gateways are offline.
Click here to send feedback regarding this KB, or suggest content for a new KB.
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Viewing all articles
Browse latest Browse all 4362

Trending Articles