Related GoCD issue: https://github.com/gocd/gocd/issues/7157
When the lookup-secret request is received, the fields that were not set was received as empty strings. Hence, the parsing into Integer was failing for ReadTimeout and ConnectionTimeout.
if the timeout config property is received as null or empty string, default value will be set, else we will try to parse it into Integer
Related GoCD issue: https://github.com/gocd/gocd/issues/7157 When the
lookup-secret
request is received, the fields that were not set was received as empty strings. Hence, the parsing intoInteger
was failing forReadTimeout
andConnectionTimeout
.