I am working with Gomatic so I can define my GoCD config from code, since
updating GoCD to version 20.2 (from 19.12) I am getting a 400 response when
updating certain templates and pipelines, most are going through OK which
is odd and the config that I am sending via Gomatic is the same between the
2 GoCD versions.
I am trying to debug the issue so I can figure what Gomatic is doing wrong,
all I can get in the logs on server is this:
2020-08-07 07:08:40,627 DEBUG [qtp958443548-28] FilterChainProxy:325 -
/api/admin/config.xml at pos
ition 11 of 11 in additional filter chain; firing Filter:
'FlashLoadingFilter'
2020-08-07 07:08:40,628 DEBUG [qtp958443548-28] FilterChainProxy:310 -
/api/admin/config.xml reache
d end of additional filter chain; proceeding with original chain
2020-08-07 07:08:40,629 WARN [qtp958443548-28] HttpChannel:587 -
handleException /go/api/admin/config.xml
org.eclipse.jetty.http.BadMessageException: 400: Unable to parse form
content
This is with the following logback config:
<?xml version="1.0" encoding="UTF-8"?>
<included>
<logger name="org.eclipse.jetty.server.RequestLog" level="TRACE" />
<logger name="com.thoughtworks.go.server.Rails" level="TRACE" />
<logger name="com.thoughtworks.studios.shine" level="TRACE" />
<logger name="org.springframework" level="TRACE" />
<logger name="org.apache.velocity" level="TRACE" />
<logger name="com.microsoft.tfs.core" level="TRACE" />
<logger name="com.thoughtworks.go.tfssdk14" level="TRACE" />
<logger name="com.thoughtworks.go.domain.materials.dependency" level="
TRACE" />
<logger name="com.thoughtworks.go.domain.materials.git" level="TRACE" />
<logger name="com.thoughtworks.go.domain.materials.mercurial" level="
TRACE" />
<logger name="com.thoughtworks.go.domain.materials.packagematerial"
level="TRACE" />
<logger name="com.thoughtworks.go.domain.materials.perforce" level="
TRACE" />
<logger name="com.thoughtworks.go.domain.materials.scm" level="TRACE" />
<logger name="com.thoughtworks.go.domain.materials.svn" level="TRACE" />
<logger name="com.thoughtworks.go.domain.materials.tfs" level="TRACE" />
</included>
I cannot seem to get any more info on what is wrong with the request to
/go/api/admin/config.xml, is there a way to get a more detailed error
message so I can what the issue is?
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/go-cd/994f1a11-34e8-454b-8f98-45f72aea1a28o%40googlegroups.com.