Re: [go-cd] GOCD and TLS1.2 to Bitbucket

2018-12-05 Thread 'David Tyman' via go-cd
Hi Ketan,
thanks for the help - updated hg to 4.8 and all working now.

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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-cd] GOCD and TLS1.2 to Bitbucket

2018-12-05 Thread 'David Tyman' via go-cd
Hi Ketan,
thanks for pointing me in right direction upgrading Mercurial SVN to 
version 4.8 on teh Go Server has fixed the issue with connecting to 
Bitbucket. Also had to update it on the Go Agent server to make the hg 
clone command work. but all running well now.

David

On Wednesday, 5 December 2018 13:16:07 UTC, David Tyman wrote:
>
> HG pull doesn't work when I try it as no local repository - I tried to do 
> a hg clone and got the same error. 
>
> Mercurial HG version is 3.1.2 - maybe updating that would help?
>
> 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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-cd] GOCD and TLS1.2 to Bitbucket

2018-12-05 Thread Ketan Padegaonkar
On Wed, Dec 5, 2018 at 6:46 PM 'David Tyman' via go-cd <
go-cd@googlegroups.com> wrote:

> HG pull doesn't work when I try it as no local repository - I tried to do
> a hg clone and got the same error.
>
> Mercurial HG version is 3.1.2 - maybe updating that would help?
>

I can't say for sure, it may possibly be some missing openssl capabilities.
You may want to perhaps google for the specific error message "abort:
error: _ssl.c:510: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong
version number" or reach out to bitbucket support.

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


Re: [go-cd] GOCD and TLS1.2 to Bitbucket

2018-12-05 Thread 'David Tyman' via go-cd
HG pull doesn't work when I try it as no local repository - I tried to do a 
hg clone and got the same error. 

Mercurial HG version is 3.1.2 - maybe updating that would help?

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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-cd] GOCD and TLS1.2 to Bitbucket

2018-12-05 Thread Ketan Padegaonkar
This is a problem with your `hg` binary. The command that's being executed is
here

:

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.


Re: [go-cd] GOCD and TLS1.2 to Bitbucket

2018-12-05 Thread 'David Tyman' via go-cd
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.


[go-cd] GOCD and TLS1.2 to Bitbucket

2018-12-05 Thread 'David Tyman' via go-cd
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.