Skip to main content
Solved

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


Mykah
Forum|alt.badge.img
  • Not a newbie anymore
  • 7 comments

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!
 

Best answer by Chris.Childerhose

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.

View original
Did this topic help you find an answer to your question?

16 comments

marco_s
Forum|alt.badge.img+8
  • Influencer
  • 368 comments
  • February 26, 2024

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?


Mykah
Forum|alt.badge.img
  • Author
  • Not a newbie anymore
  • 7 comments
  • February 26, 2024

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.


marco_s
Forum|alt.badge.img+8
  • Influencer
  • 368 comments
  • February 26, 2024

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


Mykah
Forum|alt.badge.img
  • Author
  • Not a newbie anymore
  • 7 comments
  • February 26, 2024

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


marco_s
Forum|alt.badge.img+8
  • Influencer
  • 368 comments
  • February 26, 2024

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


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 8413 comments
  • Answer
  • February 26, 2024

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.


Mykah
Forum|alt.badge.img
  • Author
  • Not a newbie anymore
  • 7 comments
  • February 26, 2024

[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.


marco_s
Forum|alt.badge.img+8
  • Influencer
  • 368 comments
  • February 26, 2024

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


Mykah
Forum|alt.badge.img
  • Author
  • Not a newbie anymore
  • 7 comments
  • February 26, 2024

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?


marco_s
Forum|alt.badge.img+8
  • Influencer
  • 368 comments
  • February 26, 2024

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..


Mykah
Forum|alt.badge.img
  • Author
  • Not a newbie anymore
  • 7 comments
  • February 27, 2024

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)
 


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 8413 comments
  • February 27, 2024

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


Mykah
Forum|alt.badge.img
  • Author
  • Not a newbie anymore
  • 7 comments
  • February 27, 2024

Yes i do. :/


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 8413 comments
  • February 27, 2024

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.


Mykah
Forum|alt.badge.img
  • Author
  • Not a newbie anymore
  • 7 comments
  • February 28, 2024

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!


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 8413 comments
  • February 28, 2024

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


Comment