Thrift transport hangs when requesting bogus URL?

Hi all,

I'm just starting to play around with ES over Thrift, so this may be
something I'm doing wrong. But I've found that if I make a request to
a path that doesn't exist in ES, e.g. '/bogus-index', the request just
hangs indefinitely. Is this a bug?

Thanks!
Mat

Might be, have you tried with http and you do get a response?

On Thu, Nov 17, 2011 at 11:49 PM, Matthew A. Brown mat.a.brown@gmail.comwrote:

Hi all,

I'm just starting to play around with ES over Thrift, so this may be
something I'm doing wrong. But I've found that if I make a request to
a path that doesn't exist in ES, e.g. '/bogus-index', the request just
hangs indefinitely. Is this a bug?

Thanks!
Mat

Yes, the equivalent request in HTTP returns a not found response immediately.

On Sun, Nov 20, 2011 at 03:08, Shay Banon kimchy@gmail.com wrote:

Might be, have you tried with http and you do get a response?

On Thu, Nov 17, 2011 at 11:49 PM, Matthew A. Brown mat.a.brown@gmail.com
wrote:

Hi all,

I'm just starting to play around with ES over Thrift, so this may be
something I'm doing wrong. But I've found that if I make a request to
a path that doesn't exist in ES, e.g. '/bogus-index', the request just
hangs indefinitely. Is this a bug?

Thanks!
Mat

What is the specific request that you execute, I would like to test it.

On Sun, Nov 20, 2011 at 7:03 PM, Matthew A. Brown mat.a.brown@gmail.comwrote:

Yes, the equivalent request in HTTP returns a not found response
immediately.

On Sun, Nov 20, 2011 at 03:08, Shay Banon kimchy@gmail.com wrote:

Might be, have you tried with http and you do get a response?

On Thu, Nov 17, 2011 at 11:49 PM, Matthew A. Brown <
mat.a.brown@gmail.com>
wrote:

Hi all,

I'm just starting to play around with ES over Thrift, so this may be
something I'm doing wrong. But I've found that if I make a request to
a path that doesn't exist in ES, e.g. '/bogus-index', the request just
hangs indefinitely. Is this a bug?

Thanks!
Mat

I don't have it in front of me, but I think it was a GET request for the
URL "/bogus"
On Nov 20, 2011 1:26 PM, "Shay Banon" kimchy@gmail.com wrote:

What is the specific request that you execute, I would like to test it.

On Sun, Nov 20, 2011 at 7:03 PM, Matthew A. Brown mat.a.brown@gmail.comwrote:

Yes, the equivalent request in HTTP returns a not found response
immediately.

On Sun, Nov 20, 2011 at 03:08, Shay Banon kimchy@gmail.com wrote:

Might be, have you tried with http and you do get a response?

On Thu, Nov 17, 2011 at 11:49 PM, Matthew A. Brown <
mat.a.brown@gmail.com>
wrote:

Hi all,

I'm just starting to play around with ES over Thrift, so this may be
something I'm doing wrong. But I've found that if I make a request to
a path that doesn't exist in ES, e.g. '/bogus-index', the request just
hangs indefinitely. Is this a bug?

Thanks!
Mat

ok, found the problem, opened an issue:
Thrift transport handling unexpected URI hangs · Issue #1484 · elastic/elasticsearch · GitHub.

On Sun, Nov 20, 2011 at 10:39 PM, Matthew A. Brown mat.a.brown@gmail.comwrote:

I don't have it in front of me, but I think it was a GET request for the
URL "/bogus"
On Nov 20, 2011 1:26 PM, "Shay Banon" kimchy@gmail.com wrote:

What is the specific request that you execute, I would like to test it.

On Sun, Nov 20, 2011 at 7:03 PM, Matthew A. Brown mat.a.brown@gmail.comwrote:

Yes, the equivalent request in HTTP returns a not found response
immediately.

On Sun, Nov 20, 2011 at 03:08, Shay Banon kimchy@gmail.com wrote:

Might be, have you tried with http and you do get a response?

On Thu, Nov 17, 2011 at 11:49 PM, Matthew A. Brown <
mat.a.brown@gmail.com>
wrote:

Hi all,

I'm just starting to play around with ES over Thrift, so this may be
something I'm doing wrong. But I've found that if I make a request to
a path that doesn't exist in ES, e.g. '/bogus-index', the request just
hangs indefinitely. Is this a bug?

Thanks!
Mat

Awesome, thanks!

On Tue, Nov 22, 2011 at 03:44, Shay Banon kimchy@gmail.com wrote:

ok, found the problem, opened an
issue: Thrift transport handling unexpected URI hangs · Issue #1484 · elastic/elasticsearch · GitHub.

On Sun, Nov 20, 2011 at 10:39 PM, Matthew A. Brown mat.a.brown@gmail.com
wrote:

I don't have it in front of me, but I think it was a GET request for the
URL "/bogus"

On Nov 20, 2011 1:26 PM, "Shay Banon" kimchy@gmail.com wrote:

What is the specific request that you execute, I would like to test it.

On Sun, Nov 20, 2011 at 7:03 PM, Matthew A. Brown mat.a.brown@gmail.com
wrote:

Yes, the equivalent request in HTTP returns a not found response
immediately.

On Sun, Nov 20, 2011 at 03:08, Shay Banon kimchy@gmail.com wrote:

Might be, have you tried with http and you do get a response?

On Thu, Nov 17, 2011 at 11:49 PM, Matthew A. Brown
mat.a.brown@gmail.com
wrote:

Hi all,

I'm just starting to play around with ES over Thrift, so this may be
something I'm doing wrong. But I've found that if I make a request to
a path that doesn't exist in ES, e.g. '/bogus-index', the request
just
hangs indefinitely. Is this a bug?

Thanks!
Mat