This is a problem with your `hg` binary. The command that's being executed is
here
<https://github.com/gocd/gocd/blob/master/domain/src/main/java/com/thoughtworks/go/domain/materials/mercurial/HgCommand.java#L57>
:

hg pull -b BRANCH --config paths.default=HG_URL

Can you make sure this executes on your agent/server where you're seeing
this error?

- Ketan



On Wed, Dec 5, 2018 at 4:45 PM 'David Tyman' via go-cd <
go-cd@googlegroups.com> wrote:

> Hi Ketan,
> this is from go-server.log
>
> 2018-12-05 11:13:01,931 WARN  [130@MessageListener for
> MaterialUpdateListener] MaterialDatabaseUpdater:112 - [Material Update]
> Modification check failed for material: URL:
> https://drl...@bitbucket.org/drl_admin/Expert.ReturnsEngineer
> java.lang.RuntimeException: Failed to run hg pull command:
> STDERR: abort: error: _ssl.c:510: error:1408F10B:SSL
> routines:SSL3_GET_RECORD:wrong version number
>     at com.thoughtworks.go.util.ExceptionUtils.bomb(ExceptionUtils.java:30)
>     at
> com.thoughtworks.go.util.ExceptionUtils.bombIf(ExceptionUtils.java:58)
>     at
> com.thoughtworks.go.util.ExceptionUtils.bombUnless(ExceptionUtils.java:69)
>     at
> com.thoughtworks.go.domain.materials.mercurial.HgCommand.modificationsSince(HgCommand.java:129)
>     at
> com.thoughtworks.go.config.materials.mercurial.HgMaterial.modificationsSince(HgMaterial.java:92)
>     at
> com.thoughtworks.go.server.service.materials.HgPoller.modificationsSince(HgPoller.java:36)
>     at
> com.thoughtworks.go.server.service.materials.HgPoller.modificationsSince(HgPoller.java:27)
>     at
> com.thoughtworks.go.server.service.MaterialService.modificationsSince(MaterialService.java:122)
>     at
> com.thoughtworks.go.server.materials.ScmMaterialUpdater.insertLatestOrNewModifications(ScmMaterialUpdater.java:56)
>     at
> com.thoughtworks.go.server.materials.MaterialDatabaseUpdater.insertLatestOrNewModifications(MaterialDatabaseUpdater.java:142)
>     at
> com.thoughtworks.go.server.materials.MaterialDatabaseUpdater.updateMaterialWithNewRevisions(MaterialDatabaseUpdater.java:134)
>     at
> com.thoughtworks.go.server.materials.MaterialDatabaseUpdater$2.doInTransaction(MaterialDatabaseUpdater.java:101)
>     at
> com.thoughtworks.go.server.transaction.TransactionCallback.doWithExceptionHandling(TransactionCallback.java:24)
>     at
> com.thoughtworks.go.server.transaction.TransactionTemplate.lambda$executeWithExceptionHandling$2(TransactionTemplate.java:44)
>     at
> org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
>     at
> com.thoughtworks.go.server.transaction.TransactionTemplate.executeWithExceptionHandling(TransactionTemplate.java:41)
>     at
> com.thoughtworks.go.server.materials.MaterialDatabaseUpdater.updateMaterial(MaterialDatabaseUpdater.java:98)
>     at
> com.thoughtworks.go.server.materials.MaterialUpdateListener.onMessage(MaterialUpdateListener.java:50)
>     at
> com.thoughtworks.go.server.materials.MaterialUpdateListener.onMessage(MaterialUpdateListener.java:30)
>     at
> com.thoughtworks.go.server.messaging.activemq.JMSMessageListenerAdapter.runImpl(JMSMessageListenerAdapter.java:73)
>     at
> com.thoughtworks.go.server.messaging.activemq.JMSMessageListenerAdapter.run(JMSMessageListenerAdapter.java:53)
>     at java.lang.Thread.run(Thread.java:745)
>
> David
>
> On Wednesday, 5 December 2018 10:27:22 UTC, Ketan Padegaonkar wrote:
>>
>> Can you provide the exact error message that you see?
>>
>> - Ketan
>>
>>
>>
>> On Wed, Dec 5, 2018 at 3:48 PM 'David Tyman' via go-cd <
>> go...@googlegroups.com> wrote:
>>
>>> Hi everybody
>>>  anyone got a wrapper-properties.conf that will allow me to connect Gocd
>>> 18.11 to Bitbucket using https now that it needs to use TLS1.2 - I've tried
>>> : wrapper.java.additional.16="-Dgo.ssl.protocols.include=TLSv1.2,TLSv1.3"
>>> wrapper.java.additional.17="-Dgo.ssl.protocols.exclude=SSLv3,SSLv2,TLSv1,TLSv1.1"
>>>
>>>
>>> but still get a SSL3 wrong version number error ?
>>>
>>> David
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "go-cd" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to go-cd+un...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "go-cd" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to go-cd+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to go-cd+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to