Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,360
Community Members
 
Community Events
184
Community Groups

Unable to connect to the primary server.

I have setup bitbucket data-center on my local virtual machine using HAProxy.
URL : https://192.***.**.51 ( not hosted yet )

This instance running properly under haproxy.

Now when I try to setup smart mirroring( for that setup new mirror instance on other virtual machine URL= https://192.***.**.52 ) .

In the setup section when I try to add Primary server URL = https://192.***.**.51 and click on submit configuration.

It's giving me error that Unable to connect to the primary server. 

So can you please help me if I am missing something.

2 comments

Alyss
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 05, 2018

Hey Ganesh,

Have you:

  • Enabled SSH on the primary server?
  • Installed/setup an SSH client on the mirror?
  • Installed a valid SSL (signed by CA) on the primary server and mirror?
  • Enabled SSH on the primary server? -> Yes enable SSH on primary server.
  • Installed/setup an SSH client on the mirror? -> Yes
  • Installed a valid SSL (signed by CA) on the primary server and mirror?-> Yes installed both URL running using https://192.***.***.51/52

    In log on mirror node I am getting following error:
  • Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)
    at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
    at sun.security.validator.Validator.validate(Validator.java:260)
    at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
    at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:281)
    at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:136)
    at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1496)
    ... 17 common frames omitted
    Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)
    at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
    at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
    at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
    ... 23 common frames omitted

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events