Error 500 connection refused

Website URL

(please specify the URL of the site on which you are experiencing the problem)
https://wallabagbookmarks.kesug.com

Error Message

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)

Hello there! Your website seems to be working, please try clearing browser cache.

5 Likes

I cleared the cache and tried multiple browsers and I get the login/register page and when I enter the info it still brings me to the error.

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 .

Almost certainly a code issue, not a server issue. If it was a server issue this forum would be a lot more crowded.

Also, 5xx errors are server-side, absolutely nothing to do with your internet connection

6 Likes

Literally word for word from Wallabags docs.

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.

5 Likes

Again, I just used the doc as reference.

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 have any control of the installation softaculous does it all. I have tried reinstalling it and end up with the same results.

What’s the exact page you’re seeing the error on? Your site’s homepage doesn’t seem to trigger it.

3 Likes

The registration page after entering the info. wallabagbookmarks.kesug.com/web/register


Ok I see what you mean. looking at theerror, are you trying to access the SQL database by IP address?

heres a thread that might help:

2 Likes

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:

7 Likes

That makes sense

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.