You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by yriveiro <ya...@gmail.com> on 2013/03/14 19:04:13 UTC
Solr 4.2 mechanism proxy request error
Hi,
I think that in solr 4.2 the new feature to proxy a request if the
collection is not in the requested node has a bug.
If I do a query with the parameter rows=0 and the node doesn't have the
collection. If the parameter is rows=4 or superior then the search works as
expected
the curl returns
The output of wget is:
Connecting to 192.168.20.48:8983... connected.
HTTP request sent, awaiting response... 200 OK
Length: 210 [application/xml]
Saving to: ‘select?q=*:*&rows=0’
0% [
] 0 --.-K/s in 0s
2013-03-14 18:01:04 (0.00 B/s) - Connection closed at byte 0. Retrying.
Curl says:
curl
"http://192.168.20.48:8983/solr/ST-3A856BBCA3_12/select?q=*%3A*&rows=0"
curl: (56) Problem (2) in the Chunked-Encoded data
Chrome says:
This webpage is not available
The webpage at
http://192.168.20.48:8983/solr/ST-3A856BBCA3_12/select?q=*%3A*&rows=0&wt=xml&indent=true
might be temporarily down or it may have moved permanently to a new web
address.
Error 321 (net::ERR_INVALID_CHUNKED_ENCODING): Unknown error.
Someone have the same issue?
-----
Best regards
--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-4-2-mechanism-proxy-request-error-tp4047433.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr 4.2 mechanism proxy request error
Posted by Mark Miller <ma...@gmail.com>.
Well, it wouldn't have because I forgot about it. But now that you have reminded me and we have a day or two for 4.2.1 because hossman has asked for a reprieve, I think we can fix this.
- Mark
On Mar 19, 2013, at 6:25 PM, yriveiro <ya...@gmail.com> wrote:
> Solr 4.2.1 will solve this issue?
>
>
>
> -----
> Best regards
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Solr-4-2-mechanism-proxy-request-error-tp4047433p4049127.html
> Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr 4.2 mechanism proxy request error
Posted by yriveiro <ya...@gmail.com>.
Solr 4.2.1 will solve this issue?
-----
Best regards
--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-4-2-mechanism-proxy-request-error-tp4047433p4049127.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr 4.2 mechanism proxy request error
Posted by yriveiro <ya...@gmail.com>.
The log of the UI
null:org.apache.solr.common.SolrException: Error trying to proxy request for
url: http://192.168.20.47:8983/solr/ST-3A856BBCA3_12/select
I will open the issue in Jira.
Thanks
-----
Best regards
--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-4-2-mechanism-proxy-request-error-tp4047433p4047440.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr 4.2 mechanism proxy request error
Posted by Mark Miller <ma...@gmail.com>.
I'll add a test with rows = 0 and see how easy it is to replicate.
Looks to me like you should file a JIRA issue in any case.
- Mark
On Mar 14, 2013, at 2:04 PM, yriveiro <ya...@gmail.com> wrote:
> Hi,
>
> I think that in solr 4.2 the new feature to proxy a request if the
> collection is not in the requested node has a bug.
>
> If I do a query with the parameter rows=0 and the node doesn't have the
> collection. If the parameter is rows=4 or superior then the search works as
> expected
>
> the curl returns
>
> The output of wget is:
>
> Connecting to 192.168.20.48:8983... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 210 [application/xml]
> Saving to: ‘select?q=*:*&rows=0’
>
> 0% [
> ] 0 --.-K/s in 0s
>
> 2013-03-14 18:01:04 (0.00 B/s) - Connection closed at byte 0. Retrying.
>
> Curl says:
>
> curl
> "http://192.168.20.48:8983/solr/ST-3A856BBCA3_12/select?q=*%3A*&rows=0"
> curl: (56) Problem (2) in the Chunked-Encoded data
>
> Chrome says:
>
> This webpage is not available
> The webpage at
> http://192.168.20.48:8983/solr/ST-3A856BBCA3_12/select?q=*%3A*&rows=0&wt=xml&indent=true
> might be temporarily down or it may have moved permanently to a new web
> address.
> Error 321 (net::ERR_INVALID_CHUNKED_ENCODING): Unknown error.
>
> Someone have the same issue?
>
>
>
>
>
> -----
> Best regards
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Solr-4-2-mechanism-proxy-request-error-tp4047433.html
> Sent from the Solr - User mailing list archive at Nabble.com.