HTTPConnector
Mundry, Marvin
Marvin.Mundry at uni-hamburg.de
Mon Oct 22 10:12:29 EDT 2018
> I imagine something's wrong with the web service's
> response.
the webservice response should be ok. the apache that provides the service logs the following:
127.0.0.1 - - [22/Oct/2018:15:51:36 +0200] "GET /m1.php?act=bap2669 HTTP/1.1" 200 4550 "-" "ShibbolethIdp/3.4.0 OpenSAML/3.4.0"
a wget http://localhost:8080/m1.php?act=bap2669 also works fine.
from what I understand
"Attempted read from closed stream"
means that something that is not my script is reading from the stream in response.getEntity() (either before or after the execution of the script) which is not possible as the stream can be read only once.
--
Best regards,
Marvin Mundry
University of Hamburg
Regional Computer Center (RRZ)
Schlueterstrasse 70
20146 Hamburg
+49 (0)40 42838-8401
> -----Original Message-----
> From: users <users-bounces at shibboleth.net> On Behalf Of Cantor, Scott
> Sent: Montag, 22. Oktober 2018 15:40
> To: Shib Users <users at shibboleth.net>
> Subject: RE: HTTPConnector
>
> > I am trying to use the HTTPConnector to obtain attributes from a web
> service.
> > For this reason I copied the example from the shibboleth wiki. When the
> idp
> > resolves the attributes it produces an "Attempted read from closed
> stream"
> > error. How can I fix this?
>
> I did not run into any error of that sort, so I don't have any particular
> insight. You'd have to debug into the response.getEntity method on the
> HTTP client library. I imagine something's wrong with the web service's
> response.
>
> -- Scott
>
> --
> For Consortium Member technical support, see
> https://wiki.shibboleth.net/confluence/x/coFAAg
> To unsubscribe from this list send an email to users-
> unsubscribe at shibboleth.net
More information about the users
mailing list