Stefan Bodewig
Stefan Bodewig
This might be - and most likely is - the HTTP client talking about a Cookie set by the server. The `domain` of a Cookie is only set by the...
Thanks, so it is `org.apache.http.client.protocol.ResponseProcessCookies` rejecting the Cookie. Strange, I'll take a look there. The code is trying to read https://confluence.company.org/confluence/rest/api/content/null/child/attachment?filename=portal_services_context_diagram.png and gets a 404 - this might be related...
The page itself should have been created when your log says ``` 15:58:48.407 [QUIET] [system.out] > created page null 15:58:48.407 [QUIET] [system.out] 1. Architecture 15:58:48.419 [QUIET] [system.out] image: ./images/services_context_diagram.png ```...
This says `page.data` is `null` which should contain the pre-parsed response body of the request. It's been quite some time since I last looked at the API we use. We...
which is even more strange. Please remove the first `println` line above.
`Content-Length : 0` doesn't look good. We could try to read the entity's content, something like ``` page.entity.writeTo(System.out) ``` but would most likely end up either getting an exception or...
Answering the questions that I can answer 200 is validated, see: ``` 15:58:48.390 [DEBUG] [org.apache.http.impl.conn.DefaultClientConnection] Sending request: POST /confluence/rest/api/content HTTP/1.1 15:58:48.405 [DEBUG] [org.apache.http.impl.conn.DefaultClientConnection] Receiving response: HTTP/1.1 200 OK ``` "cookie...
@rdmueller the log message is from the HttpClient library used by the RestClient used from inside the groovy script. It is logged when the HttpClient parses the response. So yes,...
I'm afraid things are not that easy, but maybe I'm just too pessimistic. Even if we manage to get a proper configuration for Apache HttpClient through the various layers of...
As the code currently stands this is not possible. Right now the authentication methods are hard-coded (the `supported_token_auth_methods` dicitonary and the body of `openidc.call_token_endpoint`) but it should be possible to...