Re: E130003: The XML response contains invalid XML - svn co and log issue on some repos using https/http

2018-03-07 Thread Johan Corveleyn
On Tue, Mar 6, 2018 at 5:21 PM, NOCERA, ANDY  wrote:
> John,
>
> Good feedback.
>
> Svnadmin 1.9 verify is showing the error also.   I did a dump and load and it 
> resolved that repo.Having reviewed my repos, it looks like around 30%  
> have this issue.  Not sure what we could have done wrong to cause it.   A 
> real simple repo is mine and has only a few commits shows the error.   Is 
> there a correction method quicker than a dump and load?
>

Nice, great that dump+load fixes it. I don't think there is a quicker method.

It might be worth investigating why this happened to begin with. But I
don't really know where to start. One hypothesis is that this
corruption is already lingering there for years (until 1.9 it wouldn't
have been noticed) ... perhaps something outside of SVN manipulated
the rev files years ago? Or perhaps there was a bug once in SVN that
caused this to happen (but the corruption remained benign / unnoticed,
until the stricter validation by 1.9). It's also possible that the
stricter validation by 1.9 contains a bug, and is too strict for some
cases (though in that case I would have expected more reports on this
list).

Maybe you can make a more accurate hypothesis by investigating exactly
what the "Malformed node revision ID string"s looks like. Actually,
danielsh just improved that error message a few days ago, by adding
the actual data to the error message:
http://svn.apache.org/viewvc?view=revision&revision=1825846

So if you can build svn from source you might be able to perform a
build from the latest svn trunk, and run 'svnadmin verify' to get the
more verbose error message (be careful not to use your trunk svn build
on production data without creating a backup of course). Or
alternatively you can try taking a look into the rev files yourself,
to find the "malformed node revision ID".

-- 
Johan


RE: E130003: The XML response contains invalid XML - svn co and log issue on some repos using https/http

2018-03-06 Thread NOCERA, ANDY
John,

Good feedback.

Svnadmin 1.9 verify is showing the error also.   I did a dump and load and it 
resolved that repo.Having reviewed my repos, it looks like around 30%  have 
this issue.  Not sure what we could have done wrong to cause it.   A real 
simple repo is mine and has only a few commits shows the error.   Is there a 
correction method quicker than a dump and load?

Thanks
Andy



-Original Message-
From: Johan Corveleyn [mailto:jcor...@gmail.com] 
Sent: Friday, March 02, 2018 5:12 AM
To: NOCERA, ANDY 
Cc: users@subversion.apache.org
Subject: Re: E130003: The XML response contains invalid XML - svn co and log 
issue on some repos using https/http

On Thu, Mar 1, 2018 at 11:52 PM, NOCERA, ANDY  wrote:
> I disabled ssl to simplify.   I noticed that svn log sometimes stops with an
> error, sometimes it just stops although there is an error in the log.   I
> think I need to review the build.Not sure if it’s the SVN side of the
> build or the httpd side.
>
> Looks  like a dav error.
>
>
> [Thu Mar 01 17:42:06.060588 2018] [dav:error] [pid 116212:tid 
> 140359367563008] [client 135.161.105.164:50294] Malformed node 
> revision ID string  [400, #160062]
>
> [Thu Mar 01 17:42:37.356665 2018] [dav:error] [pid 112152:tid 
> 140359566870272] [client 135.161.105.164:50356] Malformed node 
> revision ID string  [400, #160062]
>
> [Thu Mar 01 17:43:42.230627 2018] [dav:error] [pid 116212:tid 
> 140359556380416] [client 135.161.105.164:50496] Provider encountered 
> an error while streaming a REPORT response.  [400, #0]
>
> [Thu Mar 01 17:43:42.230635 2018] [dav:error] [pid 116212:tid 
> 140359556380416] [client 135.161.105.164:50496] Malformed node 
> revision ID string  [400, #160062]
>
> [Thu Mar 01 17:44:17.410198 2018] [dav:error] [pid 116212:tid 
> 140359482951424] [client 135.161.105.164:50564] Provider encountered 
> an error while streaming a REPORT response.  [400, #0]
>
> [Thu Mar 01 17:44:17.410222 2018] [dav:error] [pid 116212:tid 
> 140359482951424] [client 135.161.105.164:50564] Malformed node 
> revision ID string  [400, #160062]
>
> [Thu Mar 01 17:45:56.025740 2018] [dav:error] [pid 112151:tid 
> 140359598339840] [client 135.161.105.164:50770] Provider encountered 
> an error while streaming a REPORT response.  [400, #0]
>
> [Thu Mar 01 17:45:56.025755 2018] [dav:error] [pid 112151:tid 
> 140359598339840] [client 135.161.105.164:50770] Malformed node 
> revision ID string  [400, #160062]
>
> [Thu Mar 01 17:46:26.431448 2018] [dav:error] [pid 112166:tid 
> 140359430502144] [client 135.161.105.164:50828] Malformed node 
> revision ID string  [400, #160062]

Hm, that doesn't really look good. The error "Malformed node revision ID 
string" might point to a corruption in the repository. I've googled a bit for 
this error message, and it seems to have been introduced in this commit (was 
first release in 1.9.0):

https://urldefense.proofpoint.com/v2/url?u=http-3A__svn.apache.org_viewvc-3Fview-3Drevision-26revision-3D1622942&d=DwIFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=lHImfy5Z3mUV3q_wXtPXpg&m=rFH5IX7EXYt55-yQnCTUOrUCv4Od_w2GtobSitt66JM&s=I9CI2W0V7iYKSAgqLkGr4Fueh5T0mdesoT_0WkgTexE&e=
 

You said before that "svnadmin verify" did not report errors. Did you use a 1.8 
svnadmin, or a 1.9 svnadmin for that? It seems to me that the verification was 
made more stringent in 1.9, thus detecting this kind of corruption (where a 
malformed nod revision ID is in the back-end data somewhere).

Maybe you should try to dump+load this repository into a new one, to see if 
that fixes it.

--
Johan


Re: E130003: The XML response contains invalid XML - svn co and log issue on some repos using https/http

2018-03-02 Thread Johan Corveleyn
On Thu, Mar 1, 2018 at 11:52 PM, NOCERA, ANDY  wrote:
> I disabled ssl to simplify.   I noticed that svn log sometimes stops with an
> error, sometimes it just stops although there is an error in the log.   I
> think I need to review the build.Not sure if it’s the SVN side of the
> build or the httpd side.
>
> Looks  like a dav error.
>
>
> [Thu Mar 01 17:42:06.060588 2018] [dav:error] [pid 116212:tid
> 140359367563008] [client 135.161.105.164:50294] Malformed node revision ID
> string  [400, #160062]
>
> [Thu Mar 01 17:42:37.356665 2018] [dav:error] [pid 112152:tid
> 140359566870272] [client 135.161.105.164:50356] Malformed node revision ID
> string  [400, #160062]
>
> [Thu Mar 01 17:43:42.230627 2018] [dav:error] [pid 116212:tid
> 140359556380416] [client 135.161.105.164:50496] Provider encountered an
> error while streaming a REPORT response.  [400, #0]
>
> [Thu Mar 01 17:43:42.230635 2018] [dav:error] [pid 116212:tid
> 140359556380416] [client 135.161.105.164:50496] Malformed node revision ID
> string  [400, #160062]
>
> [Thu Mar 01 17:44:17.410198 2018] [dav:error] [pid 116212:tid
> 140359482951424] [client 135.161.105.164:50564] Provider encountered an
> error while streaming a REPORT response.  [400, #0]
>
> [Thu Mar 01 17:44:17.410222 2018] [dav:error] [pid 116212:tid
> 140359482951424] [client 135.161.105.164:50564] Malformed node revision ID
> string  [400, #160062]
>
> [Thu Mar 01 17:45:56.025740 2018] [dav:error] [pid 112151:tid
> 140359598339840] [client 135.161.105.164:50770] Provider encountered an
> error while streaming a REPORT response.  [400, #0]
>
> [Thu Mar 01 17:45:56.025755 2018] [dav:error] [pid 112151:tid
> 140359598339840] [client 135.161.105.164:50770] Malformed node revision ID
> string  [400, #160062]
>
> [Thu Mar 01 17:46:26.431448 2018] [dav:error] [pid 112166:tid
> 140359430502144] [client 135.161.105.164:50828] Malformed node revision ID
> string  [400, #160062]

Hm, that doesn't really look good. The error "Malformed node revision
ID string" might point to a corruption in the repository. I've googled
a bit for this error message, and it seems to have been introduced in
this commit (was first release in 1.9.0):

http://svn.apache.org/viewvc?view=revision&revision=1622942

You said before that "svnadmin verify" did not report errors. Did you
use a 1.8 svnadmin, or a 1.9 svnadmin for that? It seems to me that
the verification was made more stringent in 1.9, thus detecting this
kind of corruption (where a malformed nod revision ID is in the
back-end data somewhere).

Maybe you should try to dump+load this repository into a new one, to
see if that fixes it.

-- 
Johan


RE: E130003: The XML response contains invalid XML - svn co and log issue on some repos using https/http

2018-03-01 Thread NOCERA, ANDY
I disabled ssl to simplify.   I noticed that svn log sometimes stops with an 
error, sometimes it just stops although there is an error in the log.   I think 
I need to review the build.Not sure if it’s the SVN side of the build or 
the httpd side.



Looks  like a dav error.

[Thu Mar 01 17:42:06.060588 2018] [dav:error] [pid 116212:tid 140359367563008] 
[client 135.161.105.164:50294] Malformed node revision ID string  [400, #160062]
[Thu Mar 01 17:42:37.356665 2018] [dav:error] [pid 112152:tid 140359566870272] 
[client 135.161.105.164:50356] Malformed node revision ID string  [400, #160062]
[Thu Mar 01 17:43:42.230627 2018] [dav:error] [pid 116212:tid 140359556380416] 
[client 135.161.105.164:50496] Provider encountered an error while streaming a 
REPORT response.  [400, #0]
[Thu Mar 01 17:43:42.230635 2018] [dav:error] [pid 116212:tid 140359556380416] 
[client 135.161.105.164:50496] Malformed node revision ID string  [400, #160062]
[Thu Mar 01 17:44:17.410198 2018] [dav:error] [pid 116212:tid 140359482951424] 
[client 135.161.105.164:50564] Provider encountered an error while streaming a 
REPORT response.  [400, #0]
[Thu Mar 01 17:44:17.410222 2018] [dav:error] [pid 116212:tid 140359482951424] 
[client 135.161.105.164:50564] Malformed node revision ID string  [400, #160062]
[Thu Mar 01 17:45:56.025740 2018] [dav:error] [pid 112151:tid 140359598339840] 
[client 135.161.105.164:50770] Provider encountered an error while streaming a 
REPORT response.  [400, #0]
[Thu Mar 01 17:45:56.025755 2018] [dav:error] [pid 112151:tid 140359598339840] 
[client 135.161.105.164:50770] Malformed node revision ID string  [400, #160062]
[Thu Mar 01 17:46:26.431448 2018] [dav:error] [pid 112166:tid 140359430502144] 
[client 135.161.105.164:50828] Malformed node revision ID string  [400, #160062]




From: Paul Hammant [mailto:p...@hammant.org]
Sent: Wednesday, February 28, 2018 8:28 AM
To: NOCERA, ANDY 
Cc: Andreas Krey ; Michael Rohan ; 
users@subversion.apache.org
Subject: Re: E130003: The XML response contains invalid XML - svn co and log 
issue on some repos using https/http

As you work toward a conclusion, Andy, do you think there was a different error 
message that could have driven you to root cause more quickly?


RE: E130003: The XML response contains invalid XML - svn co and log issue on some repos using https/http

2018-02-28 Thread NOCERA, ANDY
I have seen a different result from svn log and I can cherry pick around and 
see some expected output.


The curl output below has… "~$ployment%20to%20Test.doc">~$ployment to 
Test.dochttps://scm-uat.web.att.com:6022/svn/asgard

r1013 | asgardia | 2015-05-04 15:48:15 -0700 (Mon, 04 May 2015) | 1 line

stuff

[an2124@hlth509 test3]$ svn  -rr1014 log 
https://scm-uat.web.att.com:6022/svn/asgard

r1014 | asgardia | 2015-05-08 16:05:07 -0700 (Fri, 08 May 2015) | 1 line

stuff

[an2124@hlth509 test3]$ svn  -rr1015 log 
https://scm-uat.web.att.com:6022/svn/asgard
svn: E175002: Unexpected HTTP status 400 'Bad Request' on 
'/svn/asgard/!svn/rvr/1015'

svn: E160062: Additional errors:
svn: E160062: Malformed node revision ID string


Not sure how to curl and cherry pick a version but here is latest.


curl -k -u an2124 --insecure https://scm-uat.web.att.com:6022/svn/asgard/

Enter host password for user 'an2124':

asgard - Revision 1116: /   asgard 
- Revision 1116: /  

  ..

  .project

  00 Admin/

  10 CSCM+SCME Documents/

  20 ARCADE Documents/

  30 SDT/

  40 Regression Test 
Suite/

  70 Miscellaneous/

  80 Archive/

  90_Temp/

  ARCADE/

  Arcade/

  Asgard

  CCM06/

  CCM06_177/

  Images/

  Kunebelles

  Misc/

  Optimizations/

  Scripts/

  Selenium Stuff/

  Thumbs.db

  almighty-gab/

  almighty-only/

  aod/

  ccm06_n1_1_29234/

  ccm06_n1_2_29234/

  ccm06_n1_3_29234/

  ccm06_n1_4_29234/

  ccm06_n1_5_29234/

  dev1

  developer1/

  idemo/

  logs

  logs2

  logz

  offshore/

  onshore/

  sonar/

  stash

  trunk/

  viewvc/

  viewvc_1.1.22/

  x

  yeahyeah

  ~$ployment to Test.doc  


[an2124@hlth509 test3]$



From: Paul Hammant [mailto:p...@hammant.org]
Sent: Wednesday, February 28, 2018 8:28 AM
To: NOCERA, ANDY 
Cc: Andreas Krey ; Michael Rohan ; 
users@subversion.apache.org
Subject: Re: E130003: The XML response contains invalid XML - svn co and log 
issue on some repos using https/http

As you work toward a conclusion, Andy, do you think there was a different error 
message that could have driven you to root cause more quickly?


Re: E130003: The XML response contains invalid XML - svn co and log issue on some repos using https/http

2018-02-28 Thread Paul Hammant
As you work toward a conclusion, Andy, do you think there was a different
error message that could have driven you to root cause more quickly?


RE: E130003: The XML response contains invalid XML - svn co and log issue on some repos using https/http

2018-02-28 Thread NOCERA, ANDY
Nice catch

svn co https://scm-uat.web.att.com:6022/svn/asgard  svn: E130003: The XML 
response contains invalid XML
[an2124@hlth509 test3]$ svn co https://scm-uat.web.att.com:6022/svn/asgard/
svn: E130003: The XML response contains invalid XML



curl -k -u an2124 --insecure https://scm-uat.web.att.com:6022/svn/asgard/
Enter host password for user 'an2124':
asgard - Revision 1116: /

 asgard - Revision 1116: /
 
  ..
  .project
  00 Admin/
  10 CSCM+SCME Documents/
  20 ARCADE Documents/
  30 SDT/
  40 Regression Test 
Suite/
  70 Miscellaneous/
  80 Archive/
  90_Temp/
  ARCADE/
  Arcade/
  Asgard
  CCM06/
  CCM06_177/
  Images/
  Kunebelles
  Misc/
  Optimizations/
  Scripts/
  Selenium Stuff/
  Thumbs.db
  almighty-gab/
  almighty-only/
  aod/
  ccm06_n1_1_29234/
  ccm06_n1_2_29234/
  ccm06_n1_3_29234/
  ccm06_n1_4_29234/
  ccm06_n1_5_29234/
  dev1
  developer1/
  idemo/
  logs
  logs2
  logz
  offshore/
  onshore/
  sonar/
  stash
  trunk/
  viewvc/
  viewvc_1.1.22/
  x
  yeahyeah
  ~$ployment to Test.doc
 
[an2124@hlth509 test3]$


-Original Message-
From: Andreas Krey [mailto:a.k...@gmx.de] 
Sent: Wednesday, February 28, 2018 3:15 AM
To: NOCERA, ANDY 
Cc: Michael Rohan ; Paul Hammant ; 
users@subversion.apache.org
Subject: Re: E130003: The XML response contains invalid XML - svn co and log 
issue on some repos using https/http

On Wed, 28 Feb 2018 03:21:01 +, NOCERA, ANDY wrote:
> My cert is not valid at this point,  I had turned off ssl and had the same 
> error.  I wasn???t sure how to get beyond the 301 on a curl

You ask for .../asgard, and get redirected to .../asgard/ (note the slash at 
the end). Try that.

Andreas

-- 
"Totally trivial. Famous last words."
From: Linus Torvalds 
Date: Fri, 22 Jan 2010 07:29:21 -0800


Re: E130003: The XML response contains invalid XML - svn co and log issue on some repos using https/http

2018-02-28 Thread Philip Martin
"NOCERA, ANDY"  writes:

> svn co https://xxx.com:6022/svn/asgard
> svn: E130003: The XML response contains invalid XML

If you have the socat proxy available then you can use that to log the
traffic and see the failing XML:

https://subversion.apache.org/docs/community-guide/debugging.html#net-trace-socat

-- 
Philip


Re: E130003: The XML response contains invalid XML - svn co and log issue on some repos using https/http

2018-02-28 Thread Andreas Krey
On Wed, 28 Feb 2018 03:21:01 +, NOCERA, ANDY wrote:
> My cert is not valid at this point,  I had turned off ssl and had the same 
> error.  I wasn???t sure how to get beyond the 301 on a curl

You ask for .../asgard, and get redirected to .../asgard/ (note the slash at 
the end). Try that.

Andreas

-- 
"Totally trivial. Famous last words."
From: Linus Torvalds 
Date: Fri, 22 Jan 2010 07:29:21 -0800


RE: E130003: The XML response contains invalid XML - svn co and log issue on some repos using https/http

2018-02-27 Thread NOCERA, ANDY
My cert is not valid at this point,  I had turned off ssl and had the same 
error.  I wasn’t sure how to get beyond the 301 on a curl




curl -k -u an2124 --insecure https://scm-uat.web.att.com:6022/svn/asgard
Enter host password for user 'an2124':


301 Moved Permanently

Moved Permanently
The document has moved https://scm-uat.web.att.com:6022/svn/asgard/";>here.



From: Michael Rohan [mailto:mro...@stonepillar.com]
Sent: Tuesday, February 27, 2018 10:11 PM
To: Paul Hammant 
Cc: NOCERA, ANDY ; users@subversion.apache.org
Subject: Re: E130003: The XML response contains invalid XML - svn co and log 
issue on some repos using https/http

Hi,
Might be interesting to see what sort of document you are getting:
$ curl https://scm-uat.web.att.com:6022/svn/asgard
Might need "-k" on that command depending on what sort of certs are in place.
Take care,
Michael.

On Tue, Feb 27, 2018 at 6:44 PM, Paul Hammant 
mailto:p...@hammant.org>> wrote:
Do you get the same error with a testfile.txt resource in a freshly created 
(and Apache mounted) Subversion repo?



--
=
Michael Rohan
Stone Pillar Technologies
=


RE: E130003: The XML response contains invalid XML - svn co and log issue on some repos using https/http

2018-02-27 Thread NOCERA, ANDY
There are several repos work fine and even different version is this repo.



From: Paul Hammant [mailto:p...@hammant.org]
Sent: Tuesday, February 27, 2018 9:44 PM
To: NOCERA, ANDY 
Cc: users@subversion.apache.org
Subject: Re: E130003: The XML response contains invalid XML - svn co and log 
issue on some repos using https/http

Do you get the same error with a testfile.txt resource in a freshly created 
(and Apache mounted) Subversion repo?


Re: E130003: The XML response contains invalid XML - svn co and log issue on some repos using https/http

2018-02-27 Thread Michael Rohan
Hi,

Might be interesting to see what sort of document you are getting:

$ curl https://scm-uat.web.att.com:6022/svn/asgard

Might need "-k" on that command depending on what sort of certs are in
place.

Take care,
Michael.

On Tue, Feb 27, 2018 at 6:44 PM, Paul Hammant  wrote:

> Do you get the same error with a testfile.txt resource in a freshly
> created (and Apache mounted) Subversion repo?
>



-- 
=
Michael Rohan
Stone Pillar Technologies
=


Re: E130003: The XML response contains invalid XML - svn co and log issue on some repos using https/http

2018-02-27 Thread Paul Hammant
Do you get the same error with a testfile.txt resource in a freshly created
(and Apache mounted) Subversion repo?


RE: E130003: The XML response contains invalid XML - svn co and log issue on some repos using https/http

2018-02-27 Thread NOCERA, ANDY
Paul,
Here is the information regarding the logs,
Thanks
Andy

CMD:
svn co https://scm-uat.web.att.com:6022/svn/asgard
svn: E130003: The XML response contains invalid XML


ERROR LOG
[Tue Feb 27 21:31:25.717954 2018] [ssl:info] [pid 18302:tid 140359493441280] 
[client IPADDRESS:55820] AH01964: Connection to child 139 established (server 
x.com:443)
[Tue Feb 27 21:31:25.932500 2018] [authz_svn:info] [pid 18302:tid 
140359482951424] [client IPADDRESS:55820] Access granted: 'an2124' OPTIONS 
asgard:/
[Tue Feb 27 21:31:25.989989 2018] [authz_svn:info] [pid 18302:tid 
140359461971712] [client IPADDRESS:55820] Access granted: 'an2124' OPTIONS 
asgard:/
[Tue Feb 27 21:31:26.045795 2018] [authz_svn:info] [pid 18302:tid 
140359472461568] [client IPADDRESS:55820] Access granted: 'an2124' OPTIONS 
asgard:/
[Tue Feb 27 21:31:26.101858 2018] [authz_svn:info] [pid 18302:tid 
140359451481856] [client IPADDRESS:55820] Access granted: 'an2124' PROPFIND 
asgard:/
[Tue Feb 27 21:31:26.157470 2018] [ssl:info] [pid 18302:tid 140359577360128] 
(70014)End of file found: [client IPADDRESS:55820] AH01991: SSL input filter 
read failed.
[Tue Feb 27 21:31:26.231191 2018] [ssl:info] [pid 31885:tid 140359587849984] 
[client IPADDRESS:55822] AH01964: Connection to child 258 established (server 
scm.test.att.com:443)
[Tue Feb 27 21:31:26.434479 2018] [authz_svn:info] [pid 31885:tid 
140359556380416] [client IPADDRESS:55822] Access granted: 'an2124' OPTIONS 
asgard:/
[Tue Feb 27 21:31:26.490891 2018] [authz_svn:info] [pid 31885:tid 
140359545890560] [client IPADDRESS:55822] Access granted: 'an2124' OPTIONS 
asgard:/
[Tue Feb 27 21:31:26.546663 2018] [authz_svn:info] [pid 31885:tid 
140359472461568] [client IPADDRESS:55822] Access granted: 'an2124' OPTIONS 
asgard:/
[Tue Feb 27 21:31:26.613113 2018] [authz_svn:info] [pid 31885:tid 
140359420012288] [client IPADDRESS:55822] Access granted: 'an2124' REPORT 
asgard:
[Tue Feb 27 21:31:26.613393 2018] [authz_svn:info] [pid 31885:tid 
140359420012288] [client IPADDRESS:55822] Access granted: 'an2124' GET asgard:/
[Tue Feb 27 21:31:26.613665 2018] [authz_svn:info] [pid 31885:tid 
140359420012288] [client IPADDRESS:55822] Access granted: 'an2124' GET asgard:/x
[Tue Feb 27 21:31:26.613800 2018] [authz_svn:info] [pid 31885:tid 
140359420012288] [client IPADDRESS:55822] Access granted: 'an2124' GET 
asgard:/almighty-gab
[Tue Feb 27 21:31:26.614012 2018] [authz_svn:info] [pid 31885:tid 
140359420012288] [client IPADDRESS:55822] Access granted: 'an2124' GET 
asgard:/almighty-gab/test_file_gabalmighty.dat
[Tue Feb 27 21:31:26.614221 2018] [dav:error] [pid 31885:tid 140359420012288] 
[client IPADDRESS:55822] Provider encountered an error while streaming a REPORT 
response.  [500, #0]
[Tue Feb 27 21:31:26.614236 2018] [dav:error] [pid 31885:tid 140359420012288] 
[client IPADDRESS:55822] A failure occurred while driving the update report 
editor  [500, #160053]
[Tue Feb 27 21:31:26.614242 2018] [dav:error] [pid 31885:tid 140359420012288] 
[client IPADDRESS:55822] While reading representation offsets for node-revision 
'2-1026.0.r1115/37':  [500, #160053]
[Tue Feb 27 21:31:26.614248 2018] [dav:error] [pid 31885:tid 140359420012288] 
[client IPADDRESS:55822] malformed txn id 
'1114-99a9211d96cf5c6c693c519a16016f97ab2324bcwn'  [500, #160053]


Server version: Apache/2.4.29 (Unix)
Server built:   Feb 26 2018 12:21:35
$ bin/httpd -V
Server version: Apache/2.4.29 (Unix)
Server built:   Feb 26 2018 12:21:35
Server's Module Magic Number: 20120211:68
Server loaded:  APR 1.6.3, APR-UTIL 1.6.1
Compiled using: APR 1.6.3, APR-UTIL 1.6.1
Architecture:   64-bit
Server MPM: event
  threaded: yes (fixed thread count)
forked: yes (variable process count)
Server compiled with
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=256
-D HTTPD_ROOT="/opt/app/scm/svn/binaries/svn_1.9.7"
-D SUEXEC_BIN="/opt/app/scm/svn/binaries/svn_1.9.7/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"



From: Paul Hammant [mailto:p...@hammant.org]
Sent: Tuesday, February 27, 2018 7:36 PM
To: NOCERA, ANDY 
Cc: users@subversion.apache.org
Subject: Re: E130003: The XML response contains invalid XML - svn co and log 
issue on some repos using https/http

See what you can see on the server-side Apache logs - 
https://unix.stackexchange.com/questions/115972/how-do-i-find-where-apache-keeps-the-log-files<https://urldefense.proofpoint.

Re: E130003: The XML response contains invalid XML - svn co and log issue on some repos using https/http

2018-02-27 Thread Paul Hammant
See what you can see on the server-side Apache logs -
https://unix.stackexchange.com/questions/115972/how-do-i-find-where-apache-keeps-the-log-files
(and others; or adjust for your Linux).


E130003: The XML response contains invalid XML - svn co and log issue on some repos using https/http

2018-02-27 Thread NOCERA, ANDY
Hi,

I have a recently built SVN 1.9.7 including httpd and I see issues using 
https/https protocol on a few repos and version.  The test repos are 1.8.X and 
work using file level protocol and svnserve. Some Other repos work with no 
issues.

For asgard example below, I was able to checkout from -r r1114  having latest 
r1115 checkout fail. I was able to checkout 1114 and commit to 1116, however 
that didn't fix it, Svnadmin verify returns no errors.

Please advise,
Andy

svn co https://xxx.com:6022/svn/asgard
svn: E130003: The XML response contains invalid XML

svn -v -rr1014 log https://.com:6022/svn/asgard

r1014 | asgardia | 2015-05-08 16:05:07 -0700 (Fri, 08 May 2015) | 1 line
Changed paths:
   A /stash

stuff


svn -v -rr1015 log https://xxx.com:6022/svn/asgard
svn: E175002: Unexpected HTTP status 400 'Bad Request' on 
'/svn/asgard/!svn/rvr/1015'

svn: E160062: Additional errors:
svn: E160062: Malformed node revision ID string


$ svn log -V -r r1116 file:///opt/app/scm/svn/reps/asgard
svn: invalid option character: V
Type 'svn help' for usage.
$ svn log -v -r r1116 file:///opt/app/scm/svn/reps/asgard

r1116 | an2124 | 2018-02-27 16:54:13 -0500 (Tue, 27 Feb 2018) | 2 lines
Changed paths:
   A /x

[TEST] This is a test commit to remove 1015


$ svn log -v -r r1115 file:///opt/app/scm/svn/reps/asgard

r1115 | rv620d | 2016-07-20 11:26:45 -0400 (Wed, 20 Jul 2016) | 1 line
Changed paths:
   M /almighty-gab/test_file_gabalmighty.dat

test

$ svn log -v -r r1114 file:///opt/app/scm/svn/reps/asgard

r1114 | grageda | 2016-06-08 16:00:14 -0400 (Wed, 08 Jun 2016) | 1 line
Changed paths:
   M /developer1/test.sh

COMMIT

#apr-1.6.3.tar - standard apache
#apr-util-1.6.1.tar - standard apache utils
#pcre-8.41.tar - used by httpd

#libtool-2.4.6.tar - used by openldap

#openldap_2_4_26_src.tar - needed for httpd+ldap and svn+https
#  openldap_2_4_26_src.tar - contains 02-berkeleydb  03-sasl2 - we didn't need 
to build.

#
#Python-2.7.13.tar - used to build scons and serf
# scons-local-2.3.0.tar - build script for serf
# serf-1.3.9.zip - enabes SVN https://svncom

#subversion-1.9.7.tar - subversion distribution
# subversion-1.9.7/sqlite-amalgamation - had to be added

# httpd-2.4.29.tar - httpd - standalone https