-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
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
SSL error appear #508
Comments
First of all, I would suggest if you are trying to add your own features to any codebase that doesn't natively support them then you probably won't receive much help since the problem has nothing to do with the project and has everything to do with the new code that you introduced. That being said, I would recommend looking at the following potential issues with your code:
It's also important to note that this explorer has been abandoned for years now and doesn't support SSL which is why you are needing to add your own SSL code. Instead of trying to hack together the SSL feature, I might suggest you use my updated explorer instead which is a clone of this explorer with full SSL support built-in and 100's of additional fixes and changes to overall improve the explorer security and functionality: https://github.com/team-exor/eiquidus |
the problem after i change db and user cannot connect. any settings for this? Mongodb 5.0 |
Hard to say what is wrong without more info, but you mention changing the db so my guess is that you might have added the new user to a different db. You need to make sure you have the db you intend to use selected first and then add the new user to that database. For example:
And then obviously make sure the settings.json has the same database name and username/password combination you specified. |
Here is a solution for you if you are willing to run a fastapi server in python, which is what I do to run a chatgpt plugin as it requires SSL. once you have a fastapi server up and running with SSL, just add these paths to your fast api (adjust my domains as need. this needs some improvement, but it will make iquidus fully functional. I might be running liquidus though, I can't remember lol... I hope this helps, but I would have to agree with joeuhren to maybe just upgrade, but if your like me and don't want to move on just yet. this works quite dandy :) Here is the code:If you need any help running a fastapi server I put up this guide to running a chatgpt plugin which you can literally just dump the code above into. all you need to do is get your ssl cert and combine the 2 files into one so you have a valid cert |
Error code: SSL_ERROR_RX_RECORD_TOO_LONG
added this
// Add this section code to here
var forceSSL = require('express-force-ssl');
var https = require('https');
var fs = require('fs');
var ssl_options = {
key: fs.readFileSync('localhost.decrypted.key'),
cert: fs.readFileSync('localhost.crt')
};
// Add this section code to here
var app = express();
// Add this section code to here
var secureServer = https.createServer(ssl_options, app);
// Add this section code to here
with below
// Add below line here
secureServer.listen(445);
The text was updated successfully, but these errors were encountered: