Connection could not be established with host “ssl://127.0.0.1:465”: stream_socket_client(): Unable to connect to ssl://127.0.0.1:465 (Connection refused)
(please share the FULL error message you see, if applicable)
Other Information
I used softaculous to install Wallabag
(other information and details relevant to your question)
A 500 code usually indicates an issue with the remote server or your internet connection. I replicated the issue myself, so its a server issue. My best guess is something went wrong during the setup process. You can refer to your log file for a detailed error message. The error log message will be displayed in WALLABAG_DIR/var/logs/prod.log .
A 500 error code has and always will be defined as an internal server error.
I could list the 3 other meanings behind it, but I assume you know that.
“My best guess is something went wrong during the setup process”
This is suggesting misconfiguration. You assumed yourself that I was speaking ill on the server itself, when in reality, I was referring to a user error.
Not sure about always, but that is the current definition, yes. I’m also not disputing that fact. The docs say “network error”, not “your internet connection”. If the docs were written by a knowledgeable person (and not the unpaid intern), they mean the network of the hosting platform, not the client network. 5xx is server, not client, the clients internet cannot trigger a 5xx unless something is incorrectly giving out error codes.
You keep saying 5xx, OP has referred it to 500, I have referred it to 500. Its been specified as a 500, because that is the error being thrown. You can replicate the same error when you attempt to register on the url provided. My opinion is that it’s misconfiguration during the setup process.
The 500 error serves as a broad catch-all for server issues, which makes it a staple in web communication, it has been like that for maybe 29 years now. That won’t change. That is why they introduced 502 or 503 codes for more clearer information. The definition of the 500 error code will not change.
I don’t think the OP’s accessing the database by the IP address; he was trying to connect to a supposed SMTP server (hence the port 465 for SSL/TLS connections) at localhost which doesn’t work as free hosting web servers don’t have any mail server on; plus SMTP connections to external mail services only work with STARTTLS and port 587.
@TIzzy01, since you were trying to configure a SMTP server, you might have to use an external one instead of an internal one; here’s a guide to use Gmail’s SMTP service:
To configure it with your software, there should already be a DSN for Gmail they already created for you to use; here is its documentation: