Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

SSL hand shake error while configuring Bitbucket pipeline runner

Edited

I am trying to configure self-hosted runner for my build to run pipelines on my own server. I am following the wiki https://support.atlassian.com/bitbucket-cloud/docs/set-up-and-use-runners-for-linux/ to set up the runner. But after starting the docker container I am getting SSL hand shek error like below.

 

ic.packages.atlassian.com/sox/atlassian/bitbucket-pipelines-runner:1
+ ./entrypoint.sh
[2021-11-24 07:07:06,823] Runner version: 1.248
[2021-11-24 07:07:06,862] Runner runtime: linux-docker
[2021-11-24 07:07:09,558] Copying Docker cli to working directory.
[2021-11-24 07:07:10,026] Starting websocket listening to RUNNER_UPDATED events.
[2021-11-24 07:07:10,176] Updating runner status to "ONLINE" and checking for new steps assigned to the runner after 0 seconds and then every 30 seconds.
[2021-11-24 07:07:10,575] Updating runner state to "ONLINE".
[2021-11-24 07:07:22,123] [id: 0x250c2493, L:/172.17.0.2:49666 - R:api.atlassian.com/18.136.214.14:443] The connection observed an error
io.netty.handler.ssl.SslHandshakeTimeoutException: handshake timed out after 10000ms
at io.netty.handler.ssl.SslHandler$5.run(SslHandler.java:2062)
Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Error has been observed at the following site(s):
|_ checkpoint ⇢ Request to PUT <url_removed> [DefaultWebClient]
Stack trace:
at io.netty.handler.ssl.SslHandler$5.run(SslHandler.java:2062)
at io.netty.util.concurrent.PromiseTask.runTask(PromiseTask.java:98)
at io.netty.util.concurrent.ScheduledFutureTask.run(ScheduledFutureTask.java:170)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:384)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Unknown Source)
[2021-11-24 07:07:32,820] [id: 0x6c713f63, L:/172.17.0.2:49668 - R:api.atlassian.com/18.136.214.14:443] The connection observed an error
io.netty.handler.ssl.SslHandshakeTimeoutException: handshake timed out after 10000ms
at io.netty.handler.ssl.SslHandler$5.run(SslHandler.java:2062)
Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Error has been observed at the following site(s):

Please let me know how to fix the above issue. Thanks in advance!! 

1 answer

0 votes

Hi @tapasmishra,

The output shows a time out error when trying to connect to https://api.atlassian.com

Is the server where you are trying to use runners accessible from the internet? If your server is behind a firewall, you may need to whitelist our IP addresses, you can check the documentation below, the question "What IP address do I need to whitelist to get Runner to work?"

If you're still having issues, could you please provide the output of the following command on the server where you are trying to set up runners?

curl --verbose -LI https://api.atlassian.com

Just a heads up, I removed the URL that included the UUIDS of your workspace, repo, and runner from the output for privacy reasons.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

144 views 2 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you