can't create collection using solrcloud

2017-05-30 Thread BrianMaltzan
Hi,

I have a fresh install with 3 zookeepers(3.4.6), and 1 solr(6.5.0) instance.
They are running and talking to one another, but I can not create a
collection. I can connect to zk and get files, upconfig, etc. My config
works locally with the built in zk.

I'm currently using a similar setup, with solr 5.2.

Any ideas?

Eg: bin/solr create_collection -c collection1 -d basic_configs
Creating new collection 'collection1' using command:
https://solr.test.x.org:8983/solr/admin/collections?action=CREATE&name=collection1&numShards=1&replicationFactor=1&maxShardsPerNode=1&collection.configName=basic_configs
ERROR: Failed to create collection 'collection1' due to:
{solr.test.x.org:8983_solr=org.apache.solr.client.solrj.SolrServerException:IOException
occured when talking to server at: http://solr.test.x.org:8983/solr}

And in logs:
Timed out waiting for new collection's replicas to become ACTIVE

CollectionsHandler Timed out waiting for new collection's replicas to become
ACTIVE with timeout=30
org.apache.solr.client.solrj.SolrServerException: IOException occured when
talking to server at: http://solr.test.x.org:8983/solr
hjjjCaused by: org.apache.http.client.ClientProtocolExceptionk
Caused by: org.apache.http.ProtocolException: The server failed to respond
with a valid HTTP response

Thanks,
Brian






--
View this message in context: 
http://lucene.472066.n3.nabble.com/can-t-create-collection-using-solrcloud-tp4338092.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: can't create collection using solrcloud

2017-05-31 Thread BrianMaltzan
Hi,

I disabled SSL/TLS- now creating a collection works.
 
To re-enable ssl, I've tried upgrading Zookeeper's java from 7 to 8. Solr
was already java8. Now I'm thinking there's a solr.in.sh parameter that's
new, since solr 5, that I'm still missing,
or the certificate has some issue, maybe the SNI verification is failing.

The java exception I'm seeing is unusual, in that I'm connecting to solr
with http*s*, but the log shows http:
  org.apache.solr.client.solrj.SolrServerException: IOException ocurred when
talking to server at:
  http://solr2.test.x.org:8983/solr

Thanks for the post Mangesh and Susheel, and email from Bernd! You're ideas
were helpful in narrowing down the cause. When using the
gui/terminal/web-api to create a collection, each give me the same error. I
did open iptables to eliminate a blocked connection.

Thanks,
Brian





--
View this message in context: 
http://lucene.472066.n3.nabble.com/can-t-create-collection-using-solrcloud-tp4338092p4338219.html
Sent from the Solr - User mailing list archive at Nabble.com.