That is because you are trying yo use solr without running the solr's 
server you must run the command java -jar start.jar in the 
background.Follow the docs Here 
<https://django-oscar.readthedocs.io/en/latest/howto/how_to_setup_solr.html>
.

On Monday, April 8, 2019 at 5:15:45 AM UTC+5:30, Fendy Pierre wrote:
>
> Whenever I try to view the products, they're not being displayed. Getting 
> the error: 
>
> Failed to query Solr using '*:*': Failed to connect to server at '
> http://127.0.0.1:8983/solr/select/?q=%2A%3A%2A&fl=%2A+score&df=text&start=0&rows=1&spe
>
> llcheck=true&spellcheck.collate=true&spellcheck.count=1&facet=on&facet.field=product_class_exact&facet.field=rating_exact&facet.query=price_exact%3A%5B0
>
> +TO+20%5D&facet.query=price_exact%3A%5B20+TO+40%5D&facet.query=price_exact%3A%5B40+TO+60%5D&facet.query=price_exact%3A%5B60+TO+%2A%5D&fq=django_ct%3A%28
> catalogue.product%29&wt=json', are you sure that URL is correct? Checking 
> it in a browser might help: HTTPConnectionPool(host='127.0.0.1', 
> port=8983): M
> ax retries exceeded with url: 
> /solr/select/?q=%2A%3A%2A&fl=%2A+score&df=text&start=0&rows=1&spellcheck=true&spellcheck.collate=true&spellcheck.count=1&f
>
> acet=on&facet.field=product_class_exact&facet.field=rating_exact&facet.query=price_exact%3A%5B0+TO+20%5D&facet.query=price_exact%3A%5B20+TO+40%5D&facet.
> query=price_exact%3A%5B40+TO+60%5D&facet.query=price_exact%3A%5B60+TO+%2A%5D&fq=django_ct%3A%28catalogue.product%29&wt=json
>  
> (Caused by NewConnectionErro
> r('<urllib3.connection.HTTPConnection object at 0x000001FF5C6048D0>: 
> Failed to establish a new connection: [WinError 10061] No connection could 
> be made
> because the target machine actively refused it'))
>
> Any idea? 
>

-- 
https://github.com/django-oscar/django-oscar
http://django-oscar.readthedocs.org/en/latest/
https://twitter.com/django_oscar
--- 
You received this message because you are subscribed to the Google Groups 
"django-oscar" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-oscar+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-oscar.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/django-oscar/affd4cd2-783f-4e5e-82c4-7b4aaddf25ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to