Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wenn die geprüfte URL einen 404 Fehler ergibt, bekommt die Site trotzdem 12,5 Punkte #283

Open
1 task
marians opened this issue Oct 26, 2022 · 0 comments
Open
1 task
Labels
fehler Ewas funktioniert nicht so, wie es soll komponente:spider Der Spider sammelt Daten über Websites prio:hoch

Comments

@marians
Copy link
Member

marians commented Oct 26, 2022

Beispiel https://green-spider.netzbegruenung.de/sites/https%3A%2F%2Fgruene-coburg.de%2Fstart%2F

Punktzahl: 12,5 - Es wird jedoch angezeigt, dass die Site nicht erreichbar ist.

grafik

https://green-spider.netzbegruenung.de/api/v1/spider-results/site?url=https%3A%2F%2Fgruene-coburg.de%2Fstart%2F

{
    "url": "https://gruene-coburg.de/start/",
    "created": "2022-10-25T11:34:09.306673+00:00",
    "meta": {
        "city": null,
        "district": "Coburg-Stadt",
        "level": "DE:KREISVERBAND",
        "state": "Bayern",
        "type": "REGIONAL_CHAPTER"
    },
    "score": 12.5,
    "checks": {
        "dns_resolution": {
            "https://www.gruene-coburg.de/start/": {
                "ipv4_addresses": [
                    "92.204.55.93"
                ],
                "resolvable_ipv4": true,
                "aliases": [],
                "ipv6_addresses": [
                    "2a00:1158:5:45d::1"
                ],
                "resolvable_ipv6": true,
                "hostname": "www.gruene-coburg.de"
            },
            "https://gruene-coburg.de/start/": {
                "hostname": "gruene-coburg.de",
                "ipv4_addresses": [
                    "92.204.55.93"
                ],
                "resolvable_ipv4": true,
                "aliases": [],
                "ipv6_addresses": [
                    "2a00:1158:5:45d::1"
                ],
                "resolvable_ipv6": true
            },
            "http://www.gruene-coburg.de/start/": {
                "hostname": "www.gruene-coburg.de",
                "ipv4_addresses": [
                    "92.204.55.93"
                ],
                "resolvable_ipv4": true,
                "aliases": [],
                "ipv6_addresses": [
                    "2a00:1158:5:45d::1"
                ],
                "resolvable_ipv6": true
            },
            "http://gruene-coburg.de/start/": {
                "ipv4_addresses": [
                    "92.204.55.93"
                ],
                "resolvable_ipv4": true,
                "aliases": [],
                "ipv6_addresses": [
                    "2a00:1158:5:45d::1"
                ],
                "resolvable_ipv6": true,
                "hostname": "gruene-coburg.de"
            }
        },
        "load_in_browser": {
            "http://gruene-coburg.de/start/": {
                "cookies": [],
                "font_families": [
                    "\"pt sans caption\"",
                    "\"pt sans\"",
                    "\"times new roman\"",
                    "-apple-system, blinkmacsystemfont, arial, roboto, \"helvetica neue\", sans-serif",
                    "arvo",
                    "fontawesome",
                    "sow-fontawesome-brands",
                    "vantage-icons"
                ],
                "min_document_width": 345,
                "logs": [
                    {
                        "timestamp": 1666697615224,
                        "level": "SEVERE",
                        "message": "http://gruene-coburg.de/start/ - Failed to load resource: the server responded with a status of 404 (Not Found)",
                        "source": "network"
                    },
                    {
                        "message": "http://gruene-coburg.de/start/ - Access to font at 'https://gruene-coburg.de/wp-content/uploads/omgf/sow-google-font-pt-sans-caption/pt-sans-caption-normal-latin-700.woff2' from origin 'http://gruene-coburg.de' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.",
                        "source": "javascript",
                        "level": "SEVERE",
                        "timestamp": 1666697615610
                    },
                    {
                        "level": "SEVERE",
                        "timestamp": 1666697615611,
                        "message": "https://gruene-coburg.de/wp-content/uploads/omgf/sow-google-font-pt-sans-caption/pt-sans-caption-normal-latin-700.woff2 - Failed to load resource: net::ERR_FAILED",
                        "source": "network"
                    }
                ],
                "dom_size": 368,
                "sizes": [
                    {
                        "viewport_width": 1920,
                        "document_width": 1905
                    },
                    {
                        "viewport_width": 1500,
                        "document_width": 1500
                    },
                    {
                        "viewport_width": 1024,
                        "document_width": 1009
                    },
                    {
                        "viewport_width": 768,
                        "document_width": 753
                    },
                    {
                        "viewport_width": 360,
                        "document_width": 345
                    }
                ]
            },
            "https://gruene-coburg.de/start/": {
                "logs": [
                    {
                        "source": "network",
                        "timestamp": 1666697630655,
                        "level": "SEVERE",
                        "message": "https://gruene-coburg.de/start/ - Failed to load resource: the server responded with a status of 404 ()"
                    }
                ],
                "dom_size": 368,
                "sizes": [
                    {
                        "document_width": 1905,
                        "viewport_width": 1920
                    },
                    {
                        "viewport_width": 1500,
                        "document_width": 1500
                    },
                    {
                        "document_width": 1009,
                        "viewport_width": 1024
                    },
                    {
                        "viewport_width": 768,
                        "document_width": 753
                    },
                    {
                        "viewport_width": 360,
                        "document_width": 345
                    }
                ],
                "cookies": [],
                "font_families": [
                    "\"pt sans caption\"",
                    "\"pt sans\"",
                    "\"times new roman\"",
                    "-apple-system, blinkmacsystemfont, arial, roboto, \"helvetica neue\", sans-serif",
                    "arvo",
                    "fontawesome",
                    "sow-fontawesome-brands",
                    "vantage-icons"
                ],
                "min_document_width": 345
            }
        },
        "generator": {
            "http://gruene-coburg.de/start/": "wordpress",
            "https://gruene-coburg.de/start/": "wordpress"
        },
        "domain_variations": null,
        "load_favicons": {
            "https://gruene-coburg.de/start/": {
                "url": "https://gruene-coburg.de/favicon.ico"
            },
            "http://gruene-coburg.de/start/": {
                "url": "http://gruene-coburg.de/favicon.ico"
            }
        },
        "http_and_https": null,
        "url_canonicalization": [
            "http://gruene-coburg.de/start/",
            "https://gruene-coburg.de/start/"
        ],
        "html_head": {
            "https://gruene-coburg.de/start/": {
                "link_icon": "https://gruene-coburg.de/wp-content/uploads/2021/07/cropped-sonnenblume_favicon_aufgruen-32x32.png",
                "title": "Seite wurde nicht gefunden. - KV Coburg-Stadt",
                "generator": "WordPress 5.8.6",
                "link_canonical": null,
                "link_rss_atom": [
                    "https://gruene-coburg.de/feed/",
                    "https://gruene-coburg.de/comments/feed/"
                ],
                "viewport": "width=device-width, initial-scale=1",
                "opengraph": [
                    "og:locale",
                    "og:site_name",
                    "og:title"
                ]
            },
            "http://gruene-coburg.de/start/": {
                "generator": "WordPress 5.8.6",
                "link_canonical": null,
                "link_rss_atom": [
                    "https://gruene-coburg.de/feed/",
                    "https://gruene-coburg.de/comments/feed/"
                ],
                "opengraph": [
                    "og:locale",
                    "og:site_name",
                    "og:title"
                ],
                "viewport": "width=device-width, initial-scale=1",
                "title": "Seite wurde nicht gefunden. - KV Coburg-Stadt",
                "link_icon": "https://gruene-coburg.de/wp-content/uploads/2021/07/cropped-sonnenblume_favicon_aufgruen-32x32.png"
            }
        },
        "url_reachability": {
            "https://www.gruene-coburg.de/start/": {
                "exception": null,
                "redirect_history": [
                    {
                        "status": 301,
                        "redirect_to": "https://gruene-coburg.de/start/",
                        "duration": 519
                    }
                ],
                "status": 404,
                "duration": 355,
                "url": "https://www.gruene-coburg.de/start/"
            },
            "https://gruene-coburg.de/start/": {
                "redirect_history": [],
                "exception": null,
                "status": 404,
                "duration": 444,
                "url": "https://gruene-coburg.de/start/"
            },
            "http://www.gruene-coburg.de/start/": {
                "exception": null,
                "redirect_history": [
                    {
                        "redirect_to": "http://gruene-coburg.de/start/",
                        "status": 301,
                        "duration": 242
                    }
                ],
                "status": 404,
                "duration": 248,
                "url": "http://www.gruene-coburg.de/start/"
            },
            "http://gruene-coburg.de/start/": {
                "duration": 264,
                "url": "http://gruene-coburg.de/start/",
                "exception": null,
                "redirect_history": [],
                "status": 404
            }
        },
        "frameset": {
            "https://gruene-coburg.de/start/": {
                "frameset": false
            },
            "http://gruene-coburg.de/start/": {
                "frameset": false
            }
        },
        "certificate": {
            "https://gruene-coburg.de/start/": {
                "not_before": "2022-06-16T10:38:49+00:00",
                "subject": {
                    "CN": "gruene-coburg.de"
                },
                "serial_number": "5256780073748294046",
                "not_after": "2023-07-15T10:29:17+00:00",
                "issuer": {
                    "L": "Scottsdale",
                    "CN": "Starfield Secure Certificate Authority - G2",
                    "O": "Starfield Technologies, Inc.",
                    "OU": "http://certs.starfieldtech.com/repository/",
                    "ST": "Arizona",
                    "C": "US"
                },
                "exception": null
            }
        },
        "load_feeds": {
            "https://gruene-coburg.de/feed/": {
                "first_entry": "2022-06-04T05:30:13+00:00",
                "title": "KV Coburg-Stadt",
                "exception": "Server responded with status None",
                "average_interval": 1318209,
                "num_entries": 10,
                "latest_entry": "2022-10-19T13:01:36+00:00"
            },
            "https://gruene-coburg.de/comments/feed/": {
                "first_entry": null,
                "title": "Kommentare für KV Coburg-Stadt",
                "average_interval": null,
                "exception": "Server responded with status None",
                "num_entries": 0,
                "latest_entry": null
            }
        },
        "page_content": {
            "http://gruene-coburg.de/start/": {
                "exception": null,
                "url": "http://gruene-coburg.de/start/",
                "content_type": "text/html",
                "status_code": 404,
                "duration": 419,
                "content_length": 47741,
                "response_headers": {
                    "content-encoding": "gzip",
                    "x-tec-api-version": "v1",
                    "expires": "Wed, 11 Jan 1984 05:00:00 GMT",
                    "x-tec-api-root": "https://gruene-coburg.de/wp-json/tribe/events/v1/",
                    "vary": "Accept-Encoding",
                    "connection": "keep-alive",
                    "link": "<https://gruene-coburg.de/wp-json/>; rel=\"https://api.w.org/\"",
                    "cache-control": "no-cache, must-revalidate, max-age=0",
                    "content-type": "text/html; charset=UTF-8",
                    "date": "Tue, 25 Oct 2022 11:33:31 GMT",
                    "x-tec-api-origin": "https://gruene-coburg.de",
                    "server": "nginx",
                    "transfer-encoding": "chunked"
                }
            },
            "https://gruene-coburg.de/start/": {
                "response_headers": {
                    "x-tec-api-origin": "https://gruene-coburg.de",
                    "server": "nginx",
                    "transfer-encoding": "chunked",
                    "x-tec-api-version": "v1",
                    "content-encoding": "gzip",
                    "expires": "Wed, 11 Jan 1984 05:00:00 GMT",
                    "x-tec-api-root": "https://gruene-coburg.de/wp-json/tribe/events/v1/",
                    "vary": "Accept-Encoding",
                    "connection": "keep-alive",
                    "link": "<https://gruene-coburg.de/wp-json/>; rel=\"https://api.w.org/\"",
                    "content-type": "text/html; charset=UTF-8",
                    "cache-control": "no-cache, must-revalidate, max-age=0",
                    "date": "Tue, 25 Oct 2022 11:33:31 GMT"
                },
                "exception": null,
                "url": "https://gruene-coburg.de/start/",
                "content_type": "text/html",
                "status_code": 404,
                "duration": 567,
                "content_length": 47781
            }
        },
        "duplicate_content": {
            "http://gruene-coburg.de/start/ https://gruene-coburg.de/start/": {
                "similarity": 0.996875,
                "exception": null
            }
        },
        "charset": {
            "https://gruene-coburg.de/start/": {
                "exception": null,
                "meta_charset_tag": "utf-8",
                "valid": true,
                "content_type_header_charset": "utf-8",
                "charset": "utf-8"
            },
            "http://gruene-coburg.de/start/": {
                "content_type_header_charset": "utf-8",
                "charset": "utf-8",
                "exception": null,
                "meta_charset_tag": "utf-8",
                "valid": true
            }
        }
    },
    "rating": {
        "NETWORK_PAYLOAD": {
            "max_score": 1,
            "value": 557448,
            "score": 1,
            "type": "number"
        },
        "CONTACT_LINK": {
            "max_score": 1,
            "value": true,
            "score": 1,
            "type": "boolean"
        },
        "NO_NETWORK_ERRORS": {
            "score": 0,
            "type": "boolean",
            "value": false,
            "max_score": 1
        },
        "SITE_REACHABLE": {
            "type": "boolean",
            "value": false,
            "max_score": 1,
            "score": 0
        },
        "FEEDS": {
            "max_score": 1,
            "value": true,
            "score": 1,
            "type": "boolean"
        },
        "HTTP_RESPONSE_DURATION": {
            "max_score": 1,
            "value": 493,
            "score": 0.5,
            "type": "number"
        },
        "NETWORK_REQUESTS": {
            "max_score": 1,
            "value": 46,
            "score": 0,
            "type": "number"
        },
        "WWW_OPTIONAL": {
            "max_score": 1,
            "value": true,
            "score": 1,
            "type": "boolean"
        },
        "DNS_RESOLVABLE_IPV4": {
            "type": "boolean",
            "value": true,
            "max_score": 1,
            "score": 1
        },
        "HTTPS": {
            "score": 2,
            "type": "boolean",
            "value": true,
            "max_score": 2
        },
        "NO_SCRIPT_ERRORS": {
            "max_score": 1,
            "value": false,
            "score": 0,
            "type": "boolean"
        },
        "NO_THIRD_PARTY_COOKIES": {
            "value": true,
            "max_score": 1,
            "score": 1,
            "type": "boolean"
        },
        "RESPONSIVE": {
            "max_score": 1,
            "value": true,
            "score": 1,
            "type": "boolean"
        },
        "FAVICON": {
            "max_score": 1,
            "value": true,
            "score": 1,
            "type": "boolean"
        },
        "USE_SPECIFIC_FONTS": {
            "score": 1,
            "type": "boolean",
            "value": true,
            "max_score": 1
        },
        "CANONICAL_URL": {
            "value": false,
            "max_score": 1,
            "score": 0,
            "type": "boolean"
        },
        "SOCIAL_MEDIA_LINKS": {
            "score": 1,
            "type": "boolean",
            "value": true,
            "max_score": 1
        }
    }
}

TODO

  • Checks und Rating anpassen, so dass bei 404-Fehler bestimmte Checks nicht durchgeführt werden und ewntsprechend keine Punkte vergeben werden
@marians marians added fehler Ewas funktioniert nicht so, wie es soll komponente:spider Der Spider sammelt Daten über Websites prio:hoch labels Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fehler Ewas funktioniert nicht so, wie es soll komponente:spider Der Spider sammelt Daten über Websites prio:hoch
Projects
None yet
Development

No branches or pull requests

1 participant