Thrift transport hangs when requesting bogus URL?


(Matthew A. Brown) #1

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


(Shay Banon) #2

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


(Matthew A. Brown) #3

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


(Shay Banon) #4

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


(Matthew A. Brown) #5

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


(Shay Banon) #6

ok, found the problem, opened an issue:
https://github.com/elasticsearch/elasticsearch/issues/1484.

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


(Matthew A. Brown) #7

Awesome, thanks!

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

ok, found the problem, opened an
issue: https://github.com/elasticsearch/elasticsearch/issues/1484.

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


(system) #8