Page MenuHomePhabricator

Investigate and Resolve QS-Dev Tools Unavailability Issue
Closed, ResolvedPublic

Description

The QS-Dev Tools site (https://qs-dev.toolforge.org/) has been listed as unavailable for quite some time, despite being up and running. This issue needs to be investigated to determine the cause of the incorrect status reporting and implement a fix to ensure accurate availability monitoring.

See: https://tool-watch.toolforge.org/tools/2024

Event Timeline

This is because the site blocks HTTP HEAD requests.

See:

(.venv) /tmp/br -> curl --head https://qs-dev.toolforge.org/                                
HTTP/2 405 
server: nginx/1.22.1
date: Tue, 25 Mar 2025 16:30:15 GMT
content-type: text/html; charset=utf-8
content-length: 0
allow: GET
x-frame-options: DENY
vary: Cookie
x-content-type-options: nosniff
referrer-policy: same-origin
cross-origin-opener-policy: same-origin
strict-transport-security: max-age=31622400
x-clacks-overhead: GNU Terry Pratchett
permissions-policy: browsing-topics=()

It's throwing a 405 Method Not Allowed error, which toolwatch detects as an error. Ideally the fix for this (allowing HEAD requests) should be implemented on https://qs-dev.toolforge.org/ because if we switch to a GET request, it could slow down crawl times and I'm not too fond of the idea of adding an exception for 405 (it could lead to false positives later on)

@Hrideshmg thanks for the explanation. I'll add that to our backlog.

I would suggest to document the use of HEAD somewhere in the tool's page.

Best regards!