Re: Bad line length character. Git URL no longer works

2017-04-06 Thread Dean Peterson
Thank you! I should be able to get around this now that I know what's
causing it.

On Thu, Apr 6, 2017 at 11:44 AM, Cesar Wong  wrote:

> We don’t have an option to explicitly turn them off, but if you specify a
> source ref other than ‘master’ in your build config, we don’t use —depth=1.
> The ref can be a specific commit sha or the name of a branch.
>
> It sounds like an issue on the git server side… I know gogs had an issue
> with this: https://github.com/gogits/gogs/issues/236
>
> Copying Ben for awareness.
>
> On Apr 6, 2017, at 12:40 PM, Dean Peterson 
> wrote:
>
> I messed by copying and pasting; I needed two dashes in --recursiv.
>
> git clone --recursive --depth=1 https://peterson.dean%40gmail.com:p
> ass%40word...@enterprisewebservice.kilnhg.com/Code/EnterpriseWebService/
> Openshift-Docker-Builds/wildfly-jdk-8.git
> Cloning into 'wildfly-jdk-8'...
> fatal: Authentication failed for 'https://peterson.dean%40gmail.com:p
> ass%40word...@enterprisewebservice.kilnhg.com/Code/EnterpriseWebService/
> Openshift-Docker-Builds/wildfly-jdk-8.git/'
>
> Is there a way to get Openshift to not put the extra properties in the
> clone command?  It works without them at the command prompt, but fails
> authentication with them.
>
>
> On Thu, Apr 6, 2017 at 11:28 AM, Cesar Wong  wrote:
>
>> At least it shows the exact git clone command … can you try doing ‘git
>> clone —recursive —depth=1 [the-url]’ from your local machine?
>>
>> I suspect that the —depth=1 may be what’s throwing it off
>>
>> On Apr 6, 2017, at 12:24 PM, Dean Peterson 
>> wrote:
>>
>> Thank you, that is helpful;
>>
>> It has been hung for about 5 minutes now. I have included the log in a
>> gist:
>>
>> https://gist.github.com/deanpeterson/6b83f10ae100093f29b2530beb9de0fc
>>
>> Is there anything useful in there?
>>
>> On Thu, Apr 6, 2017 at 11:04 AM, Cesar Wong  wrote:
>>
>>> You can try setting the BUILD_LOGLEVEL env var to something high:
>>>
>>> $ oc set env bc/[your-bc] BUILD_LOGLEVEL=10
>>>
>>> On Apr 6, 2017, at 12:00 PM, Dean Peterson 
>>> wrote:
>>>
>>> Yes, I can take that exact url and clone at the command line on windows
>>> and on RHEL 7.3. It only takes about a second. On Openshift, it spins for
>>> about 5-10 minutes then fails with that error. Is there a way to see the
>>> entire error message? I can't seem to find it in any Docker of Openshift
>>> logs.
>>>
>>> Thanks
>>>
>>> On Thu, Apr 6, 2017 at 10:51 AM, Cesar Wong  wrote:
>>>
 Are you able to clone outside of openshift using that URL?

 Just looking at what the bad line length character being reported is
 (>>> of some kind.

 On Apr 6, 2017, at 11:43 AM, Dean Peterson 
 wrote:

 Hi Cesar,

 VersionOpenShift Master:v1.4.1Kubernetes Master:v1.4.0+776c994

 On Thu, Apr 6, 2017 at 10:19 AM, Cesar Wong  wrote:

> Hi Dean,
>
> What version of openshift are you using?
>
> On Apr 6, 2017, at 11:07 AM, Dean Peterson 
> wrote:
>
> Hello,
>
> I just installed the latest version of Origin. A build that worked
> before is failing with the following:
>
> Cloning "https://someone%40gmail.com:somepassword%40morepassword%40@
> enterprisewebservice.kilnhg.com/Code/EnterpriseWebService/Op
> enshift-Docker-Builds/wildfly-jdk-8.git" ...
> error: build error: fatal: protocol error: bad line length character:
>  fatal: The remote end hung up unexpectedly
>
> I have verified that builds with public github urls work, but this url
> that worked before is no longer working.
>
> Also, builds often hang on cloning, regardless for up to 5 minutes
> before success or failing.
>
> Has something changed to prevent a url with escaped @ symbols in the
> username/pass section from working?
>
> Thank you
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>
>


>>>
>>>
>>
>>
>
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: Bad line length character. Git URL no longer works

2017-04-06 Thread Dean Peterson
I messed by copying and pasting; I needed two dashes in --recursiv.

git clone --recursive --depth=1 https://peterson.dean%40gmail.com:p
ass%40word...@enterprisewebservice.kilnhg.com/Code/EnterpriseWebService/Openshift-Docker-Builds/wildfly-jdk-8.git
Cloning into 'wildfly-jdk-8'...
fatal: Authentication failed for 'https://peterson.dean%40gmail.com:p
ass%40word...@enterprisewebservice.kilnhg.com/Code/EnterpriseWebService/Openshift-Docker-Builds/wildfly-jdk-8.git/
'

Is there a way to get Openshift to not put the extra properties in the
clone command?  It works without them at the command prompt, but fails
authentication with them.


On Thu, Apr 6, 2017 at 11:28 AM, Cesar Wong  wrote:

> At least it shows the exact git clone command … can you try doing ‘git
> clone —recursive —depth=1 [the-url]’ from your local machine?
>
> I suspect that the —depth=1 may be what’s throwing it off
>
> On Apr 6, 2017, at 12:24 PM, Dean Peterson 
> wrote:
>
> Thank you, that is helpful;
>
> It has been hung for about 5 minutes now. I have included the log in a
> gist:
>
> https://gist.github.com/deanpeterson/6b83f10ae100093f29b2530beb9de0fc
>
> Is there anything useful in there?
>
> On Thu, Apr 6, 2017 at 11:04 AM, Cesar Wong  wrote:
>
>> You can try setting the BUILD_LOGLEVEL env var to something high:
>>
>> $ oc set env bc/[your-bc] BUILD_LOGLEVEL=10
>>
>> On Apr 6, 2017, at 12:00 PM, Dean Peterson 
>> wrote:
>>
>> Yes, I can take that exact url and clone at the command line on windows
>> and on RHEL 7.3. It only takes about a second. On Openshift, it spins for
>> about 5-10 minutes then fails with that error. Is there a way to see the
>> entire error message? I can't seem to find it in any Docker of Openshift
>> logs.
>>
>> Thanks
>>
>> On Thu, Apr 6, 2017 at 10:51 AM, Cesar Wong  wrote:
>>
>>> Are you able to clone outside of openshift using that URL?
>>>
>>> Just looking at what the bad line length character being reported is
>>> (>> of some kind.
>>>
>>> On Apr 6, 2017, at 11:43 AM, Dean Peterson 
>>> wrote:
>>>
>>> Hi Cesar,
>>>
>>> VersionOpenShift Master:v1.4.1Kubernetes Master:v1.4.0+776c994
>>>
>>> On Thu, Apr 6, 2017 at 10:19 AM, Cesar Wong  wrote:
>>>
 Hi Dean,

 What version of openshift are you using?

 On Apr 6, 2017, at 11:07 AM, Dean Peterson 
 wrote:

 Hello,

 I just installed the latest version of Origin. A build that worked
 before is failing with the following:

 Cloning "https://someone%40gmail.com:somepassword%40morepassword%40@
 enterprisewebservice.kilnhg.com/Code/EnterpriseWebService/Op
 enshift-Docker-Builds/wildfly-jdk-8.git" ...
 error: build error: fatal: protocol error: bad line length character:
 >>> fatal: The remote end hung up unexpectedly

 I have verified that builds with public github urls work, but this url
 that worked before is no longer working.

 Also, builds often hang on cloning, regardless for up to 5 minutes
 before success or failing.

 Has something changed to prevent a url with escaped @ symbols in the
 username/pass section from working?

 Thank you
 ___
 users mailing list
 users@lists.openshift.redhat.com
 http://lists.openshift.redhat.com/openshiftmm/listinfo/users



>>>
>>>
>>
>>
>
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: Bad line length character. Git URL no longer works

2017-04-06 Thread Dean Peterson
In the command line I get this now:

Too many arguments.

usage: git clone [options] [--]  []

-v, --verbose be more verbose
-q, --quiet   be more quiet
--progressforce progress reporting
-n, --no-checkout don't create a checkout
--barecreate a bare repository
--mirror  create a mirror repository (implies bare)
-l, --local   to clone from a local repository
--no-hardlinksdon't use local hardlinks, always copy
-s, --shared  setup as shared repository
--recursive   initialize submodules in the clone
--recurse-submodules  initialize submodules in the clone
--template 
  directory from which templates will be used
--reference reference repository
-o, --originuse  instead of 'origin' to track upstream
-b, --branch 
  checkout  instead of the remote's HEAD
-u, --upload-pack 
  path to git-upload-pack on the remote
--depthcreate a shallow clone of that depth
--single-branch   clone only one branch, HEAD or --branch
--separate-git-dir 
  separate git dir from working tree
-c, --config 

Re: Bad line length character. Git URL no longer works

2017-04-06 Thread Cesar Wong
At least it shows the exact git clone command … can you try doing ‘git clone 
—recursive —depth=1 [the-url]’ from your local machine? 

I suspect that the —depth=1 may be what’s throwing it off

> On Apr 6, 2017, at 12:24 PM, Dean Peterson  wrote:
> 
> Thank you, that is helpful;
> 
> It has been hung for about 5 minutes now. I have included the log in a gist:
> 
> https://gist.github.com/deanpeterson/6b83f10ae100093f29b2530beb9de0fc 
> 
> 
> Is there anything useful in there?
> 
> On Thu, Apr 6, 2017 at 11:04 AM, Cesar Wong  > wrote:
> You can try setting the BUILD_LOGLEVEL env var to something high:
> 
> $ oc set env bc/[your-bc] BUILD_LOGLEVEL=10
> 
>> On Apr 6, 2017, at 12:00 PM, Dean Peterson > > wrote:
>> 
>> Yes, I can take that exact url and clone at the command line on windows and 
>> on RHEL 7.3. It only takes about a second. On Openshift, it spins for about 
>> 5-10 minutes then fails with that error. Is there a way to see the entire 
>> error message? I can't seem to find it in any Docker of Openshift logs.
>> 
>> Thanks
>> 
>> On Thu, Apr 6, 2017 at 10:51 AM, Cesar Wong > > wrote:
>> Are you able to clone outside of openshift using that URL? 
>> 
>> Just looking at what the bad line length character being reported is (> my guess is that the git server is responding with an HTML doc/error of some 
>> kind.
>> 
>>> On Apr 6, 2017, at 11:43 AM, Dean Peterson >> > wrote:
>>> 
>>> Hi Cesar,
>>> 
>>> Version
>>> 
>>> OpenShift Master:
>>> v1.4.1
>>> Kubernetes Master:
>>> v1.4.0+776c994
>>> 
>>> On Thu, Apr 6, 2017 at 10:19 AM, Cesar Wong >> > wrote:
>>> Hi Dean, 
>>> 
>>> What version of openshift are you using?
>>> 
 On Apr 6, 2017, at 11:07 AM, Dean Peterson > wrote:
 
 Hello,
 
 I just installed the latest version of Origin. A build that worked before 
 is failing with the following:
 
 Cloning "https://someone %40gmail.com 
 :somepassword%40morepassword...@enterprisewebservice.kilnhg.com/Code/EnterpriseWebService/Openshift-Docker-Builds/wildfly-jdk-8.git
  
 "
  ...
 error: build error: fatal: protocol error: bad line length character: >>> fatal: The remote end hung up unexpectedly
 
 I have verified that builds with public github urls work, but this url 
 that worked before is no longer working.
 
 Also, builds often hang on cloning, regardless for up to 5 minutes before 
 success or failing. 
 
 Has something changed to prevent a url with escaped @ symbols in the 
 username/pass section from working?
 
 Thank you
 ___
 users mailing list
 users@lists.openshift.redhat.com 
 http://lists.openshift.redhat.com/openshiftmm/listinfo/users 
 
>>> 
>>> 
>> 
>> 
> 
> 

___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: Bad line length character. Git URL no longer works

2017-04-06 Thread Cesar Wong
You can try setting the BUILD_LOGLEVEL env var to something high:

$ oc set env bc/[your-bc] BUILD_LOGLEVEL=10

> On Apr 6, 2017, at 12:00 PM, Dean Peterson  wrote:
> 
> Yes, I can take that exact url and clone at the command line on windows and 
> on RHEL 7.3. It only takes about a second. On Openshift, it spins for about 
> 5-10 minutes then fails with that error. Is there a way to see the entire 
> error message? I can't seem to find it in any Docker of Openshift logs.
> 
> Thanks
> 
> On Thu, Apr 6, 2017 at 10:51 AM, Cesar Wong  > wrote:
> Are you able to clone outside of openshift using that URL? 
> 
> Just looking at what the bad line length character being reported is ( my guess is that the git server is responding with an HTML doc/error of some 
> kind.
> 
>> On Apr 6, 2017, at 11:43 AM, Dean Peterson > > wrote:
>> 
>> Hi Cesar,
>> 
>> Version
>> 
>> OpenShift Master:
>> v1.4.1
>> Kubernetes Master:
>> v1.4.0+776c994
>> 
>> On Thu, Apr 6, 2017 at 10:19 AM, Cesar Wong > > wrote:
>> Hi Dean, 
>> 
>> What version of openshift are you using?
>> 
>>> On Apr 6, 2017, at 11:07 AM, Dean Peterson >> > wrote:
>>> 
>>> Hello,
>>> 
>>> I just installed the latest version of Origin. A build that worked before 
>>> is failing with the following:
>>> 
>>> Cloning "https://someone %40gmail.com 
>>> :somepassword%40morepassword...@enterprisewebservice.kilnhg.com/Code/EnterpriseWebService/Openshift-Docker-Builds/wildfly-jdk-8.git
>>>  
>>> "
>>>  ...
>>> error: build error: fatal: protocol error: bad line length character: >> fatal: The remote end hung up unexpectedly
>>> 
>>> I have verified that builds with public github urls work, but this url that 
>>> worked before is no longer working.
>>> 
>>> Also, builds often hang on cloning, regardless for up to 5 minutes before 
>>> success or failing. 
>>> 
>>> Has something changed to prevent a url with escaped @ symbols in the 
>>> username/pass section from working?
>>> 
>>> Thank you
>>> ___
>>> users mailing list
>>> users@lists.openshift.redhat.com 
>>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users 
>>> 
>> 
>> 
> 
> 

___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: Bad line length character. Git URL no longer works

2017-04-06 Thread Cesar Wong
Are you able to clone outside of openshift using that URL? 

Just looking at what the bad line length character being reported is ( On Apr 6, 2017, at 11:43 AM, Dean Peterson  wrote:
> 
> Hi Cesar,
> 
> Version
> 
> OpenShift Master:
> v1.4.1
> Kubernetes Master:
> v1.4.0+776c994
> 
> On Thu, Apr 6, 2017 at 10:19 AM, Cesar Wong  > wrote:
> Hi Dean, 
> 
> What version of openshift are you using?
> 
>> On Apr 6, 2017, at 11:07 AM, Dean Peterson > > wrote:
>> 
>> Hello,
>> 
>> I just installed the latest version of Origin. A build that worked before is 
>> failing with the following:
>> 
>> Cloning "https://someone %40gmail.com 
>> :somepassword%40morepassword...@enterprisewebservice.kilnhg.com/Code/EnterpriseWebService/Openshift-Docker-Builds/wildfly-jdk-8.git
>>  
>> "
>>  ...
>> error: build error: fatal: protocol error: bad line length character: > fatal: The remote end hung up unexpectedly
>> 
>> I have verified that builds with public github urls work, but this url that 
>> worked before is no longer working.
>> 
>> Also, builds often hang on cloning, regardless for up to 5 minutes before 
>> success or failing. 
>> 
>> Has something changed to prevent a url with escaped @ symbols in the 
>> username/pass section from working?
>> 
>> Thank you
>> ___
>> users mailing list
>> users@lists.openshift.redhat.com 
>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users 
>> 
> 
> 

___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: Bad line length character. Git URL no longer works

2017-04-06 Thread Dean Peterson
Hi Cesar,

VersionOpenShift Master:v1.4.1Kubernetes Master:v1.4.0+776c994

On Thu, Apr 6, 2017 at 10:19 AM, Cesar Wong  wrote:

> Hi Dean,
>
> What version of openshift are you using?
>
> On Apr 6, 2017, at 11:07 AM, Dean Peterson 
> wrote:
>
> Hello,
>
> I just installed the latest version of Origin. A build that worked before
> is failing with the following:
>
> Cloning "https://someone%40gmail.com:somepassword%40morepassword%40@
> enterprisewebservice.kilnhg.com/Code/EnterpriseWebService/
> Openshift-Docker-Builds/wildfly-jdk-8.git" ...
> error: build error: fatal: protocol error: bad line length character:  fatal: The remote end hung up unexpectedly
>
> I have verified that builds with public github urls work, but this url
> that worked before is no longer working.
>
> Also, builds often hang on cloning, regardless for up to 5 minutes before
> success or failing.
>
> Has something changed to prevent a url with escaped @ symbols in the
> username/pass section from working?
>
> Thank you
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: Bad line length character. Git URL no longer works

2017-04-06 Thread Cesar Wong
Hi Dean, 

What version of openshift are you using?

> On Apr 6, 2017, at 11:07 AM, Dean Peterson  wrote:
> 
> Hello,
> 
> I just installed the latest version of Origin. A build that worked before is 
> failing with the following:
> 
> Cloning "https://someone 
> %40gmail.com:somepassword%40morepassword...@enterprisewebservice.kilnhg.com/Code/EnterpriseWebService/Openshift-Docker-Builds/wildfly-jdk-8.git
>  
> "
>  ...
> error: build error: fatal: protocol error: bad line length character:  fatal: The remote end hung up unexpectedly
> 
> I have verified that builds with public github urls work, but this url that 
> worked before is no longer working.
> 
> Also, builds often hang on cloning, regardless for up to 5 minutes before 
> success or failing. 
> 
> Has something changed to prevent a url with escaped @ symbols in the 
> username/pass section from working?
> 
> Thank you
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users

___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Bad line length character. Git URL no longer works

2017-04-06 Thread Dean Peterson
Hello,

I just installed the latest version of Origin. A build that worked before
is failing with the following:

Cloning "https://someone%40gmail.com:s
omepassword%40morepassword...@enterprisewebservice.kilnhg.com/Code/EnterpriseWebService/Openshift-Docker-Builds/wildfly-jdk-8.git"
...
error: build error: fatal: protocol error: bad line length character: ___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users