On Thu, 2018-07-26 at 12:52 -0400, Marc Boorshtein wrote: > I'm making calls to OpenPolicyAgent (Go based web server). GET calls > work > great, but POST fails to get any content. When I turn on wire > logging i > see: > > [2018-07-26 16:28:12,193][XNIO-2 task-7] DEBUG wire - http-outgoing- > 79 << > "HTTP/1.1 200 OK[\r][\n]" > [2018-07-26 16:28:12,193][XNIO-2 task-7] DEBUG wire - http-outgoing- > 79 << > "HTTP/1.1 200 OK[\r][\n]" > [2018-07-26 16:28:12,193][XNIO-2 task-7] DEBUG wire - http-outgoing- > 79 << > "Content-Type: application/json[\r][\n]" > [2018-07-26 16:28:12,193][XNIO-2 task-7] DEBUG wire - http-outgoing- > 79 << > "Content-Type: application/json[\r][\n]" > [2018-07-26 16:28:12,193][XNIO-2 task-7] DEBUG wire - http-outgoing- > 79 << > "Date: Thu, 26 Jul 2018 16:28:12 GMT[\r][\n]" > [2018-07-26 16:28:12,193][XNIO-2 task-7] DEBUG wire - http-outgoing- > 79 << > "Date: Thu, 26 Jul 2018 16:28:12 GMT[\r][\n]" > [2018-07-26 16:28:12,193][XNIO-2 task-7] DEBUG wire - http-outgoing- > 79 << > "Content-Length: 182[\r][\n]" > [2018-07-26 16:28:12,193][XNIO-2 task-7] DEBUG wire - http-outgoing- > 79 << > "Content-Length: 182[\r][\n]" > [2018-07-26 16:28:12,193][XNIO-2 task-7] DEBUG wire - http-outgoing- > 79 << > "[\r][\n]" > [2018-07-26 16:28:12,193][XNIO-2 task-7] DEBUG wire - http-outgoing- > 79 << > "[\r][\n]" > [2018-07-26 16:28:12,193][XNIO-2 task-7] DEBUG wire - http-outgoing- > 79 << > "{"apiVersion":"admission.k8s.io/v1beta1","kind":"AdmissionReview","r > esponse":{"allowed":false,"status":{"reason":"invalid > persistent volume \"pv-cifs-freeipa2-freeipa2-share-xx\""}}}" > [2018-07-26 16:28:12,193][XNIO-2 task-7] DEBUG wire - http-outgoing- > 79 << > "{"apiVersion":"admission.k8s.io/v1beta1","kind":"AdmissionReview","r > esponse":{"allowed":false,"status":{"reason":"invalid > persistent volume \"pv-cifs-freeipa2-freeipa2-share-xx\""}}}" > [2018-07-26 16:28:12,193][XNIO-2 task-7] DEBUG wire - http-outgoing- > 79 << > "[read] I/O error: Socket is closed" > [2018-07-26 16:28:12,193][XNIO-2 task-7] DEBUG wire - http-outgoing- > 79 << > "[read] I/O error: Socket is closed" > > but i'm not getting any content back from the output stream and i'm > not > getting any exceptions. Here are my versions: > > <httpclient.version>4.5.5</httpclient.version> > <httpcore.version>4.4.10</httpcore.version> > <httpmime.version>4.5.5</httpmime.version> > > What else should I be looking for? > > Thanks
Please post a snippet of your code and a _complete_ wire / context log as an attachment. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org For additional commands, e-mail: httpclient-users-h...@hc.apache.org