-Original Message-
From: James Anderson
Sent: Saturday, July 10, 2021 10:51 PM
To: users@jena.apache.org
Subject: Re: Jena hangs while reading HTTP stream
On 2021-07-10, at 22:02:43, Andy Seaborne wrote:
Hi John,
On 10/07/2021 17:03, John Walker wrote:
We're using a 120s timeout for all
10:51 PM
> To: users@jena.apache.org
> Subject: Re: Jena hangs while reading HTTP stream
>
>
> > On 2021-07-10, at 22:02:43, Andy Seaborne wrote:
> >
> > Hi John,
> >
> >
> >
> > On 10/07/2021 17:03, John Walker wrote:
> >> We're using
> On 2021-07-10, at 22:02:43, Andy Seaborne wrote:
>
> Hi John,
>
>
>
> On 10/07/2021 17:03, John Walker wrote:
>> We're using a 120s timeout for all the requests, which should give plenty of
>> time for the query requests to complete in regular circumstances.
>
> That's 120s at the
Hi John,
On 10/07/2021 17:03, John Walker wrote:
We're using a 120s timeout for all the requests, which should give plenty of
time for the query requests to complete in regular circumstances.
That's 120s at the server?
What happens if that goes off? The response is closed? (a Q for james)
good evening;
> On 2021-07-10, at 18:03:59, John Walker wrote:
>
>> ...
>
> OK, I've not been able to figure out how the Jena parser reads the stream.
>
> As we use N-Triples, I was wondering if the N-Triples parser uses the
> readLine method to read from the stream.
> If there were some
circumstances.
> -Original Message-
> From: Andy Seaborne
> Sent: Wednesday, July 7, 2021 1:12 AM
> To: users@jena.apache.org
> Subject: Re: Jena hangs while reading HTTP stream
>
>
>
> On 06/07/2021 12:40, John Walker wrote:
> > Hi James
> >
&g
On 06/07/2021 12:40, John Walker wrote:
Hi James
-Original Message-
From: James Anderson
Sent: Tuesday, July 6, 2021 1:00 PM
To: users@jena.apache.org
Subject: Re: Jena hangs while reading HTTP stream
a stack trace could be very helpful.
There is no stack trace captured
Hi James
> -Original Message-
> From: James Anderson
> Sent: Tuesday, July 6, 2021 1:00 PM
> To: users@jena.apache.org
> Subject: Re: Jena hangs while reading HTTP stream
>
>
> > On 2021-07-06, at 12:46:47, John Walker
> wrote:
> >
> &
> On 2021-07-06, at 12:46:47, John Walker wrote:
>
> Hi Andy
>
>> -Original Message-
>> From: Andy Seaborne
>> Sent: Tuesday, July 6, 2021 12:04 PM
>> To: users@jena.apache.org
>> Subject: Re: Jena hangs while reading HTTP stream
>>
Hi Andy
> -Original Message-
> From: Andy Seaborne
> Sent: Tuesday, July 6, 2021 12:04 PM
> To: users@jena.apache.org
> Subject: Re: Jena hangs while reading HTTP stream
>
>
>
> On 06/07/2021 10:46, John Walker wrote:
> > Hi Andy
> >
> >
On 06/07/2021 10:46, John Walker wrote:
Hi Andy
-Original Message-
From: Andy Seaborne
Sent: Tuesday, July 6, 2021 11:03 AM
To: users@jena.apache.org
Subject: Re: Jena hangs while reading HTTP stream
On 06/07/2021 06:10, John Walker wrote:
Hi Andy
Rob's right - RDFParser does
Hi Andy
> -Original Message-
> From: Andy Seaborne
> Sent: Tuesday, July 6, 2021 11:03 AM
> To: users@jena.apache.org
> Subject: Re: Jena hangs while reading HTTP stream
>
>
>
> On 06/07/2021 06:10, John Walker wrote:
> > Hi Andy
> >
>
On 06/07/2021 06:10, John Walker wrote:
Hi Andy
Rob's right - RDFParser does not close a resource that is passed into the
parser. If given a resource, the caller is responsible - try-with-resources or
similar is expected.
I was reading the javadocs and these state the InputStream will be
Hi Andy
> Rob's right - RDFParser does not close a resource that is passed into the
> parser. If given a resource, the caller is responsible - try-with-resources or
> similar is expected.
I was reading the javadocs and these state the InputStream will be closed when
the parser is called
Hi Andy
> -Original Message-
> From: Andy Seaborne
> Sent: Monday, July 5, 2021 7:39 PM
> To: users@jena.apache.org
> Subject: Re: Jena hangs while reading HTTP stream
>
>
> On 05/07/2021 14:02, Martynas Jusevičius wrote:
> > HTTPClient is not running o
On 05/07/2021 14:02, Martynas Jusevičius wrote:
> HTTPClient is not running out of connections? It is known to hang in
such cases.
It is not reopening connections for one request.
If parsing starts, it has the connection until the end.
On 05/07/2021 14:10, Rob Vesse wrote:
That's a really
good afternoon;
is it possible that the client had no readable connection given the
3072/55397664 entry in the http proxy log?
it should indicate that some sort of connection existed long enough for nginx
to send over 55 million bytes.
> On 2021-07-05, at 15:10:03, Rob Vesse wrote:
>
>
That's a really good suggestion. In the normal code flow do you ever call
stream.close() ? And is createHttpClient() re-using an existing HttpClient
object ? And is the hang only happening after some requests have succeeded ?
It is possible what is happening is that you aren't closing the
HTTPClient is not running out of connections? It is known to hang in such cases.
On Mon, Jul 5, 2021 at 2:58 PM james anderson wrote:
>
> good afternoon;
>
> > On 2021-07-05, at 12:36:20, Andy Seaborne wrote:
> >
> >
> >
> > On 05/07/2021 10:01, Ivan Lagunov wrote:
> >> Hello,
> >> We’re facing
good afternoon;
> On 2021-07-05, at 12:36:20, Andy Seaborne wrote:
>
>
>
> On 05/07/2021 10:01, Ivan Lagunov wrote:
>> Hello,
>> We’re facing an issue with Jena reading n-triples stream over HTTP. In fact,
>> our application hangs entirely while executing this piece of code:
>> Model sub =
On 05/07/2021 10:01, Ivan Lagunov wrote:
Hello,
We’re facing an issue with Jena reading n-triples stream over HTTP. In fact,
our application hangs entirely while executing this piece of code:
Model sub = ModelFactory.createDefaultModel();
TypedInputStream stream =
> On 2021-07-05, at 11:01:34, Ivan Lagunov wrote:
>
> Hello,
>
> We’re facing an issue with Jena reading n-triples stream over HTTP. In fact,
> our application hangs entirely while executing this piece of code:
>
> ...
>
> The issue is not persistent, moreover it happens infrequently. When
Hello,
We’re facing an issue with Jena reading n-triples stream over HTTP. In fact,
our application hangs entirely while executing this piece of code:
Model sub = ModelFactory.createDefaultModel();
TypedInputStream stream = HttpOp.execHttpGet(requestURL,
WebContent.contentTypeNTriples,
23 matches
Mail list logo