Solved

Veeam Cloud Connect "Connection to Cloud Provider cannot be established"


Userlevel 2
Badge

Hello Veeam Community,
there is a problem to connect to our SP Console.
When i use the URL we configured with our Cloud-Gateways vcc.xxxx.de and i validate the Certificate from the SP i get the Error: Connection to Cloud Provider cannot be established.

Has anyone some ideas to solve this Problem?

Thanks for help!
 

icon

Best answer by Chris.Childerhose 26 February 2024, 14:49

View original

16 comments

Userlevel 7
Badge +7

Hi @Mykah , are you trying to add the SP for the VBR console of a tenant, right?

Have you checked if the VBR server is able to solve with DNS and telnet the cloud gateway port (default is 6180)?

Whats versions are both tenant and SP VBR server?

Userlevel 2
Badge

hi @marco_s ,
both of the installations are on version 12.1.
And yes im trying to connect as a Tenant on our SP console for VBR.

Net-TestConnection on our “URL” via 6180 works fine.

Userlevel 7
Badge +7

Ok..have you also verified if tenant’s server is able to access the CRL website?

Userlevel 2
Badge

@marco_s u mean from the provider of the Certificate?
sorry for askin but im kinda new into that stuff.

Userlevel 7
Badge +7

No problem..yes, I mean, CA who issue the SP certificate.

Anyway, you can try to search other info in the log, typically under C:\ProgramData\Veeam\Backup\CloudConnectService

https://www.veeam.com/kb2096

EDIT: added official KB for logs

Userlevel 7
Badge +20

Does the URL you are using match the SSL that is installed on the Cloud Connect server?  I have seen this cause an issue with connections or at least show a certificate warning.

Userlevel 2
Badge

[26.02.2024 08:17:31.581]   <195>    Info (3)    [VccAuthenticate] Authentication as the tenant Test
[26.02.2024 08:17:36.201]   <195>   Error (1)    [VccSocketInvokerDispatcher]  Failed to establish new connection from [::ffff:x.x.x.x]:60673
[26.02.2024 08:17:36.201]   <195>   Error (1)    Über das Ende des Datenstroms hinaus kann nicht gelesen werden. (System.IO.EndOfStreamException)
[26.02.2024 08:17:36.201]   <195>   Error (1)       bei System.IO.__Error.EndOfFile()
[26.02.2024 08:17:36.201]   <195>   Error (1)       bei System.IO.BinaryReader.FillBuffer(Int32 numBytes)
[26.02.2024 08:17:36.201]   <195>   Error (1)       bei System.IO.BinaryReader.ReadInt32()
[26.02.2024 08:17:36.201]   <195>   Error (1)       bei Veeam.Backup.CloudConnect.Transport.CMessageReader.ReadMessageSafe[T]()
[26.02.2024 08:17:36.201]   <195>   Error (1)       bei Veeam.Backup.CloudConnect.Transport.CMessageReader.ReadMessage[T]()
[26.02.2024 08:17:36.201]   <195>   Error (1)       bei Veeam.Backup.CloudConnect.Transport.CMessageReaderLoggingDecorator.ReadMessage[T]()
[26.02.2024 08:17:36.201]   <195>   Error (1)       bei Veeam.Backup.CloudConnect.Transport.CVccPersistentConnectionInitializationIo.ReadGateways()
[26.02.2024 08:17:36.201]   <195>   Error (1)       bei Veeam.Backup.CloudConnect.Transport.CVccPersistentConnectionInitializationPipelineV12.InitializeServer(IVccPersistentConnectionServerInitializationContext context)
[26.02.2024 08:17:36.201]   <195>   Error (1)       bei Veeam.Backup.CloudConnect.ServerTransport.CVccServerTransportConnectionInitializer.Initialize(IServerTransportConnection transportConnection)
[26.02.2024 08:17:36.201]   <195>   Error (1)       bei Veeam.Backup.CloudConnect.ServerTransport.CVccServerTransportConnectionEstablisher.EstablishNewConnection(TcpClient client)
[26.02.2024 08:17:36.201]   <195>   Error (1)       bei Veeam.Backup.CloudConnect.ServerTransport.CSocketInvokerAcceptedConnectionDispatcher.HandleSocketSafe(Socket socket)

Thats what i found in the logs on the SP Server
Also @Chris.Childerhose, i get a certificate warning that mentioned that the certificate is untrusted or self-signed.

Userlevel 7
Badge +7

Mmm, ok..what about logs under %ProgramData%\Veeam\Backup\Svc.VeeamGateSvc* of your Cloud Gateways ?

Userlevel 2
Badge

i guess i found the problem:

failed to resolve host name or IP address cgw2.placeholder.de from placeholder-server
Unable to obtain IP addresses for host 'cgw1placeholder.de'

can it be?

Userlevel 7
Badge +7

Yes, it could be..is the CC environment new?

Anyway, verify your cloud gateways settings, and DNS resolution as well

https://helpcenter.veeam.com/docs/backup/cloud/cloud_connect_gateway_settings.html?ver=120

EDIT:  @Mykah in addition, it seems your gateways have the same public ip..

Userlevel 2
Badge

Hello,
so i fixed the communication between the CloudGateways and also i can validate the Certificate from the CA.
Im still not able to connect my Test-Tenant to the SP.
Still getting this ERROR:
26.02.2024 08:17:31.581]   <195>    Info (3)    [VccAuthenticate] Authentication as the tenant Test
[26.02.2024 08:17:36.201]   <195>   Error (1)    [VccSocketInvokerDispatcher]  Failed to establish new connection from [::ffff:x.x.x.x]:(DYNAMIC PORT)
[26.02.2024 08:17:36.201]   <195>   Error (1)    Über das Ende des Datenstroms hinaus kann nicht gelesen werden. (System.IO.EndOfStreamException)
[26.02.2024 08:17:36.201]   <195>   Error (1)       bei System.IO.__Error.EndOfFile()
[26.02.2024 08:17:36.201]   <195>   Error (1)       bei System.IO.BinaryReader.FillBuffer(Int32 numBytes)
[26.02.2024 08:17:36.201]   <195>   Error (1)       bei System.IO.BinaryReader.ReadInt32()
[26.02.2024 08:17:36.201]   <195>   Error (1)       bei Veeam.Backup.CloudConnect.Transport.CMessageReader.ReadMessageSafe[T]()
[26.02.2024 08:17:36.201]   <195>   Error (1)       bei Veeam.Backup.CloudConnect.Transport.CMessageReader.ReadMessage[T]()
[26.02.2024 08:17:36.201]   <195>   Error (1)       bei Veeam.Backup.CloudConnect.Transport.CMessageReaderLoggingDecorator.ReadMessage[T]()
[26.02.2024 08:17:36.201]   <195>   Error (1)       bei Veeam.Backup.CloudConnect.Transport.CVccPersistentConnectionInitializationIo.ReadGateways()
[26.02.2024 08:17:36.201]   <195>   Error (1)       bei Veeam.Backup.CloudConnect.Transport.CVccPersistentConnectionInitializationPipelineV12.InitializeServer(IVccPersistentConnectionServerInitializationContext context)
[26.02.2024 08:17:36.201]   <195>   Error (1)       bei Veeam.Backup.CloudConnect.ServerTransport.CVccServerTransportConnectionInitializer.Initialize(IServerTransportConnection transportConnection)
[26.02.2024 08:17:36.201]   <195>   Error (1)       bei Veeam.Backup.CloudConnect.ServerTransport.CVccServerTransportConnectionEstablisher.EstablishNewConnection(TcpClient client)
[26.02.2024 08:17:36.201]   <195>   Error (1)       bei Veeam.Backup.CloudConnect.ServerTransport.CSocketInvokerAcceptedConnectionDispatcher.HandleSocketSafe(Socket socket)
 

Userlevel 7
Badge +20

Are you using port 6180 for the connection?  That is the default port for VCC.

Userlevel 2
Badge

Yes i do. :/

Userlevel 7
Badge +20

Ok.  You might require a support case at this point to determine the issue as it is hard from that log snippet above to know what is causing the issue.

Userlevel 2
Badge

Hello Guys,

i found the solution for the problem, i had to configure the “hosts” file from Windows. First i put for the IPs the URL in the Certificate, that was the Problem. I had to enter the CloudGateway DNS Name configured in Veeam on the SP site.

So DNS was the issue here.

Thanks for help Guys!

Userlevel 7
Badge +20

Great to hear you addressed the issue. It is always DNS. 😜😂

Comment