Advertisement

Cannot save URLs (503 Service unavailable) Topic is solved

Need help with the Administration of your Joomla! 5.x site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
rplcBeta
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Wed Feb 12, 2025 4:29 am

Cannot save URLs (503 Service unavailable)

Post by rplcBeta » Wed Feb 12, 2025 5:05 am

Hi,
I've got an interesting bug(?).
If I try to insert certain URLs (they don't have to be wrapped in an anchor tag) into an article Joomla prohibits saving this article until I removed the URL.
e.g. given the following article content:

Code: Select all

<p>
https://google.com<br>
https://maps.app.goo-gl/xReGmqGrPCJHGkSj6<br>
https://goo-gl/maps/iXNaXb44kwPd89zt6<br>
https://bit-ly/s213rf
</p>
I had to replace the dots in the goo-gl/bit-ly URLs with hyphens, otherwise the forum would block the urls.
With only the google.com link I can save the article. As soon as I insert the (shortened) google maps or bit-ly URLs the POST request that tries to save the article answers with a 200 status code and the browser downloads an index.php with the following content, article is not saved.

Code: Select all

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>503 Service Unavailable</title>
</head><body>
<h1>Service Unavailable</h1>
<p>The server is temporarily unable to service your
request due to maintenance downtime or capacity
problems. Please try again later.</p>
</body></html>
Joomla and all plugins/extensions are up-to-date (Joomla version 5.2.3), PHP 8.2.27, MySQL (PDO) 8.0.36.
I've tried this at different times of day (if the site should really be overburdened), tried with TinyMCE and without any WYSIWYG editor. Disabled all content filtering for my user group (global configuration -> text filters -> no filtering). I instructed TinyMCE to use Joomla Text filtering (plugins -> TinyMCE -> Use Joomla Text Filter).
I told joomla to log anything (all levels, even deprecated APIs and so on) but there is just nothing of interest in the logs.
Currently I'm lost and have no clue what to do.

To me it seems that Joomla has some kind of (wrong configured) spam/URL shortener protection when saving an article. I've discovered the same problem with [youtube] share URLs (e.g. https://youtu.be/qyYmS_iBcy4). Any ideas what I can do/check?

This seems to be a long standing problem... See viewtopic.php?t=973967

Advertisement
User avatar
ceford
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3103
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: Cannot save URLs (503 Service unavailable)

Post by ceford » Wed Feb 12, 2025 6:39 am

This could be mod_security blocking submission of the form. Some hosting services allow you to disable it via cPanel. Ask your hosting service?

rplcBeta
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Wed Feb 12, 2025 4:29 am

Re: Cannot save URLs (503 Service unavailable)

Post by rplcBeta » Wed Feb 19, 2025 6:02 am

Thanks in advance for the tips.

Current status:
1.) Filtering: Even for custom modules shortened URLs are blocked.
2.) No Security Extensions are installed
4.) Sadly no access to the php/fpm logs
6.) SEO URLs disabling did not change anything
7.) Replacing the Dots did not change anything, which reinforces the assumption that the hoster/DB is blocking/filtering something
9.) I've debugged the system but there was nothing of interest. The POST network request just returned a 200

I've contacted my hoster. It was their security setting...
In their admin panel I can uncheck an option "Guestbook spam settings"... Disabling this setting allows shortened URLs... I don't know why they worded this setting in this way, since I don't have any of their building blocks/guestbook BS but anyway...

Thank you all for your help in troubleshooting this issue.

Greetings Alex

rplcBeta
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Wed Feb 12, 2025 4:29 am

Re: Cannot save URLs (503 Service unavailable)

Post by rplcBeta » Wed Feb 19, 2025 6:22 am

Yeah it must have been something like that, since all URL shorteners I've tried are blocked as well.

And yes at last peace of mind ;)

Advertisement

Post Reply

Return to “Administration Joomla! 5.x”