We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am using solr 8.11. behingd a nginx server at digitalocean on ubuntu 20.00.
trying to run the code:
// Use var solr = require('solr-client') in your code var solr = require('solr-client');
var solr = require('solr-client')
var client = solr.createClient({ host : 'XXXX', path:"/solr", protocol: 'https', core : 'XXXXXX', secure: true
});
client.basicAuth('XXXXX','XXXXXXX');
// Use client.unauth if you want to remove credentials previously set. //client.unauth(); const query2 = client.query().q({ description: 'rice' }).start(0).rows(10); const obj2 = client.search(query2, ()=> { console.log(obj2); });
client.unauth
and i getting the error:
{ library: 'SSL routines', function: 'ssl3_get_record', reason: 'wrong version number', code: 'ERR_SSL_WRONG_VERSION_NUMBER' }
I dont know whether the error is on the solr-client, on my code or on nginx ..
Please advice me,
Regards
Julio
The text was updated successfully, but these errors were encountered:
See nodejs/undici#267
Sorry, something went wrong.
No branches or pull requests
I am using solr 8.11. behingd a nginx server at digitalocean on ubuntu 20.00.
trying to run the code:
// Use
var solr = require('solr-client')
in your codevar solr = require('solr-client');
var client = solr.createClient({
host : 'XXXX',
path:"/solr",
protocol: 'https',
core : 'XXXXXX',
secure: true
});
// Use
client.unauth
if you want to remove credentials previously set.//client.unauth();
const query2 = client.query().q({ description: 'rice' }).start(0).rows(10);
const obj2 = client.search(query2, ()=> {
console.log(obj2);
});
and i getting the error:
{
library: 'SSL routines',
function: 'ssl3_get_record',
reason: 'wrong version number',
code: 'ERR_SSL_WRONG_VERSION_NUMBER'
}
I dont know whether the error is on the solr-client, on my code or on nginx ..
Please advice me,
Regards
Julio
The text was updated successfully, but these errors were encountered: