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 Vignan Malyala <ds...@gmail.com> on 2019/11/25 11:09:07 UTC

Production Issue: cannot connect to solr server suddenly

I don't get this error always. At certain times, I get this error with my
Solr suddenly.
However, If I check my Solr url, it will be working but. When I want to
update via code, it will not work.
Please help me out with this.

ERROR:
*Failed to connect to server at
'http://127.0.0.1:8983/solr/my_core/update/?commit=true
<https://www.google.com/url?q=http://solradmin:Red8891@127.0.0.1:8983/solr/tenant_311/update/?commit%3Dtrue&sa=D&source=hangouts&ust=1574765671451000&usg=AFQjCNGE326wW7hZNwLUH2dEw8scCTyEXw>',
are you sure that URL is correct? Checking it in a browser might help:
HTTPConnectionPool(host='127.0.0.1', port=8983): Max retries exceeded with
url: /solr/my_core/update/?commit=true (Caused by
NewConnectionError('<urllib3.connection.HTTPConnection object at
0x7efd7be78a98>: Failed to establish a new connection: [Errno 111]
Connection refused',))*




Regards,
Sai Vignan

Re: Production Issue: cannot connect to solr server suddenly

Posted by Vignan Malyala <ds...@gmail.com>.
Sure!

Error:
Failed to connect to server at '
http://127.0.0.1:8983/solr/my_core/update/?commit=true
<https://www.google.com/url?q=http://solradmin:Red8891@127.0.0.1:8983/solr/tenant_311/update/?commit%3Dtrue&sa=D&source=hangouts&ust=1574921899950000&usg=AFQjCNFYp6NcfnmMNwEZxoY3WjXJXH_Q6g>',
are you sure that URL is correct? Checking it in a browser might help:
HTTPConnectionPool(host='127.0.0.1', port=8983): Max retries exceeded with
url: /solr/my_core/update/?commit=true (Caused by
NewConnectionError('<urllib3.connection.HTTPConnection object at
0x7efd7beXXXX>: Failed to establish a new connection: [Errno 111]
Connection refused',))

I'm using python with pysolr to connect to Solr Instance.
In my production server, I get this issue at certain times in my python
logs while it tries to connect to solr to index data or search results.
When I check the solr UI, it will be working fine, but this issue of solr
refusing to connect at certain times occurs and so my users are not able to
index documents or search data.
Please help with this issue.

Should I increase threads and how to increase threads ? Should I increase
physical memory ?
whats the solution?

On Tue, Nov 26, 2019 at 3:51 PM Paras Lehana <pa...@indiamart.com>
wrote:

> Hi Sai,
>
> Please elaborate. What language is the code written in? Why is there
> google.com in the query?
>
> Max retries exceeded with url
>
>
> This happens when you make too many requests on a server than allowed.
> Check with server at solradmin in case you have DoS or related policy
> preventing this.
>
> On Mon, 25 Nov 2019 at 16:39, Vignan Malyala <ds...@gmail.com> wrote:
>
> > I don't get this error always. At certain times, I get this error with my
> > Solr suddenly.
> > However, If I check my Solr url, it will be working but. When I want to
> > update via code, it will not work.
> > Please help me out with this.
> >
> > ERROR:
> > *Failed to connect to server at
> > 'http://127.0.0.1:8983/solr/my_core/update/?commit=true
> > <
> >
> https://www.google.com/url?q=http://solradmin:Red8891@127.0.0.1:8983/solr/tenant_311/update/?commit%3Dtrue&sa=D&source=hangouts&ust=1574765671451000&usg=AFQjCNGE326wW7hZNwLUH2dEw8scCTyEXw
> > >',
> > are you sure that URL is correct? Checking it in a browser might help:
> > HTTPConnectionPool(host='127.0.0.1', port=8983): Max retries exceeded
> with
> > url: /solr/my_core/update/?commit=true (Caused by
> > NewConnectionError('<urllib3.connection.HTTPConnection object at
> > 0x7efd7be78a98>: Failed to establish a new connection: [Errno 111]
> > Connection refused',))*
> >
> >
> >
> >
> > Regards,
> > Sai Vignan
> >
>
>
> --
> --
> Regards,
>
> *Paras Lehana* [65871]
> Development Engineer, Auto-Suggest,
> IndiaMART Intermesh Ltd.
>
> 8th Floor, Tower A, Advant-Navis Business Park, Sector 142,
> Noida, UP, IN - 201303
>
> Mob.: +91-9560911996
> Work: 01203916600 | Extn:  *8173*
>
> --
> IMPORTANT:
> NEVER share your IndiaMART OTP/ Password with anyone.
>

Re: Production Issue: cannot connect to solr server suddenly

Posted by Paras Lehana <pa...@indiamart.com>.
Hi Sai,

Please elaborate. What language is the code written in? Why is there
google.com in the query?

Max retries exceeded with url


This happens when you make too many requests on a server than allowed.
Check with server at solradmin in case you have DoS or related policy
preventing this.

On Mon, 25 Nov 2019 at 16:39, Vignan Malyala <ds...@gmail.com> wrote:

> I don't get this error always. At certain times, I get this error with my
> Solr suddenly.
> However, If I check my Solr url, it will be working but. When I want to
> update via code, it will not work.
> Please help me out with this.
>
> ERROR:
> *Failed to connect to server at
> 'http://127.0.0.1:8983/solr/my_core/update/?commit=true
> <
> https://www.google.com/url?q=http://solradmin:Red8891@127.0.0.1:8983/solr/tenant_311/update/?commit%3Dtrue&sa=D&source=hangouts&ust=1574765671451000&usg=AFQjCNGE326wW7hZNwLUH2dEw8scCTyEXw
> >',
> are you sure that URL is correct? Checking it in a browser might help:
> HTTPConnectionPool(host='127.0.0.1', port=8983): Max retries exceeded with
> url: /solr/my_core/update/?commit=true (Caused by
> NewConnectionError('<urllib3.connection.HTTPConnection object at
> 0x7efd7be78a98>: Failed to establish a new connection: [Errno 111]
> Connection refused',))*
>
>
>
>
> Regards,
> Sai Vignan
>


-- 
-- 
Regards,

*Paras Lehana* [65871]
Development Engineer, Auto-Suggest,
IndiaMART Intermesh Ltd.

8th Floor, Tower A, Advant-Navis Business Park, Sector 142,
Noida, UP, IN - 201303

Mob.: +91-9560911996
Work: 01203916600 | Extn:  *8173*

-- 
IMPORTANT: 
NEVER share your IndiaMART OTP/ Password with anyone.