403 Errors on some downloads
-
Hello, one of my clients is having an issue where some of the downloads will return a 403 error. Link attached. I suspect they may have other problems on their site causing this, but figured I should ask here if you have any suggestions on troubleshooting or if this is a known issue. Worth noting that only some downloads return a 403. E.g. the download with ID 105919 does not have this issue.
The page I need help with: [log in to see the link]
-
Hello @jamesgould,
Thank you for reaching out to us!
This is an issue we are aware of and it will be fixed in today’s update which will be released shortly. I’m sorry for the inconvenience!
Warm regards,
Beatrice.Hi,
may be my problem has something to do with the one mentioned here:
1. Call my site https://fam-goebel.eu
2. In the menu chose Noten -> Kanons
3. Bring the mouse over “Bona Nox …” (line 2, column 1, do not click!) and notice the link address which is shown: https://fam-goebel.eu/download/187/ It comes from the Download Monitor Plugin.
4. Click this link. You should get the 403 Error. Again: notice the URL: https://fam-goebel.eu.www464.your-server.de/wp-content/uploads/dlm_uploads/2021/05/BonaNoxAllesSchweiget.pdf There seems to be a “hidden redirection” to URLs like https://fam-goebel.eu.www464.your-server.de/wp-content… which is a link to build the site before my own URL fam-goebel.eu was avaliable.
5. The two links in line 1 don’t use the Download Monitor plugin but use the direct link to the files. One file was uploadet just by the WordPress Media, the other was uploadet using the Download Monitor plugin. One works, the other leads to the 403 Error. In both cases notice the link address when You bring the mouse over the link without clicking and compare it with the URL shown after click.Here ist the site report:
### wp-core ### version: 5.8.1 site_language: de_DE user_language: de_DE timezone: Europe/Berlin permalink: /%year%/%monthnum%/%day%/%postname%/ https_status: true multisite: false user_registration: 0 blog_public: 1 default_comment_status: open environment_type: production user_count: 1 dotorg_communication: true ### wp-paths-sizes ### wordpress_path: /usr/www/users/famhgo wordpress_size: 48,24 MB (50582765 bytes) uploads_path: /usr/www/users/famhgo/wp-content/uploads uploads_size: 14,09 MB (14773608 bytes) themes_path: /usr/www/users/famhgo/wp-content/themes themes_size: 9,15 MB (9595566 bytes) plugins_path: /usr/www/users/famhgo/wp-content/plugins plugins_size: 53,55 MB (56147014 bytes) database_size: 3,16 MB (3309568 bytes) total_size: 128,18 MB (134408521 bytes) ### wp-dropins (1) ### advanced-cache.php: true ### wp-active-theme ### name: GeneratePress (generatepress) version: 3.1.0 author: Tom Usborne author_website: https://tomusborne.com parent_theme: none theme_features: core-block-patterns, widgets-block-editor, automatic-feed-links, post-thumbnails, post-formats, woocommerce, title-tag, html5, customize-selective-refresh-widgets, align-wide, responsive-embeds, editor-color-palette, custom-logo, menus, editor-style, widgets theme_path: /usr/www/users/famhgo/wp-content/themes/generatepress auto_update: Deaktiviert ### wp-themes-inactive (1) ### Twenty Twenty-One: version: 1.4, author: WordPress-Team, Automatische Aktualisierungen deaktiviert ### wp-plugins-active (9) ### Cache Enabler: version: 1.8.7, author: KeyCDN, Automatische Aktualisierungen deaktiviert Classic Editor: version: 1.6.2, author: WordPress Contributors, Automatische Aktualisierungen deaktiviert Contact Form 7: version: 5.5.2, author: Takayuki Miyoshi, Automatische Aktualisierungen deaktiviert Cookie Notice & Compliance for GDPR / CCPA: version: 2.1.5, author: Hu-manity.co, Automatische Aktualisierungen deaktiviert Download Monitor: version: 4.4.11, author: WPChill, Automatische Aktualisierungen deaktiviert Honeypot for Contact Form 7: version: 2.1, author: Nocean, Automatische Aktualisierungen deaktiviert Podlove Podcast Publisher: version: 3.6.1, author: Podlove, Automatische Aktualisierungen deaktiviert Podlove Web Player: version: 5.4.14, author: Podlove, Automatische Aktualisierungen deaktiviert Shortcodes Ultimate: version: 5.11.0, author: Vladimir Anokhin, Automatische Aktualisierungen deaktiviert ### wp-plugins-inactive (1) ### WP Mail SMTP: version: 3.1.0, author: WPForms, Automatische Aktualisierungen deaktiviert ### wp-media ### image_editor: WP_Image_Editor_GD imagick_module_version: Nicht verfügbar imagemagick_version: Nicht verfügbar imagick_version: Nicht verfügbar file_uploads: File uploads is turned off post_max_size: 50M upload_max_filesize: 50M max_effective_size: 50 MB max_file_uploads: 20 gd_version: bundled (2.1.0 compatible) gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM ghostscript_version: 9.27 ### wp-server ### server_architecture: Linux 4.19.0-18-amd64 x86_64 httpd_software: Apache php_version: 7.4.25 64bit php_sapi: cgi-fcgi max_input_variables: 1000 time_limit: 60 memory_limit: 128M admin_memory_limit: 256M max_input_time: -1 upload_max_filesize: 50M php_post_max_size: 50M curl_version: 7.64.0 OpenSSL/1.1.1d suhosin: false imagick_availability: false pretty_permalinks: true htaccess_extra_rules: false ### wp-database ### extension: mysqli server_version: 5.7.35-1 client_version: mysqlnd 7.4.25 ### wp-constants ### WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /usr/www/users/famhgo/wp-content WP_PLUGIN_DIR: /usr/www/users/famhgo/wp-content/plugins WP_MEMORY_LIMIT: 40M WP_MAX_MEMORY_LIMIT: 256M WP_DEBUG: false WP_DEBUG_DISPLAY: true WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: true CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_LOCAL_DEV: undefined DB_CHARSET: utf8 DB_COLLATE: undefined ### wp-filesystem ### wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable
Any suggestions what to do? Or have I just to wait for the release update which is mentioned above?
Best regards
UlrichHello @ulrichgoebel ,
Regarding the links, could you please check the Download with the ID 187 and see what is the URL present in the “Downloadable File/Version” section? It should contain the URL to your current website and not the developing server and currently I think it contains the URL to the developing one.
Regarding the two links in line 1, that is the normal behavior as files uploaded with our plugin are sent to a special folder called
dlm_uploads
that contains a .htaccess with rules to deny access to it, rules added in order for us to prevent unwanted downloads.Hope this helps.
RazvanHi Razvan,
I had a look in the WordPress/DML backend and found:
The URL there is https://fam-goebel.eu/download/187/ (as shown while the mouse is over the Download link. It does not contain the URL to the developing server. To be sure You can find a screenshot here: https://cg-2022.org/nc/index.php/s/p3gDRXKLzCGrDH9
By the way: beside the download links You can see the counters which are not zero. Does that mean: once upon a time the DML has been working? In that case: Is it possible that on some update the error araises?
Best regards
UlrichHello Ulrich,
I was referring to the URL of the file, found in the
Downloadable File/Version
section and not the URL of the download ( can see here the section: https://imgur.com/a/ZBsqBMS ).Kind Regards!
RazvanHi Razvan,
well, there is the error, the URL is https://fam-goebel.eu.www464.your-server.de/wp-content/uploads/dlm_uploads/2021/05/BonaNoxAllesSchweiget.pdf
So it seems to be clear, that
1. my issue is missplaced in this topic here – sorry
2. I have manualy have to edit all these URLsIf there is an alternative way to the second it would be very nice to get any hint. I have dozens of downloads…
Thanks and best regards
UlrichHi Ulrich,
Glad you managed to find the problem and that there is a solution for this. Sadly, for point #2, I can’t think of a way to do this safely.
Kind Regards!
RazvanMarking this support thread as resolved due to inactivity. If you have any other questions or need further help please open a new thread.
- The topic ‘403 Errors on some downloads’ is closed to new replies.