• Resolved narururu

    (@narururu)


    I’m not sure when this happened, but the following logs are recorded in the Apache access log. The accesses are from various sources.
    What does this log mean?
    Why is a 403 error being recorded?

    “GET /index.php?rest_route=%2Fwp-statistics%2Fv2%2Fhit&wp_statistics_hit=1&source_type=post&source_id=101278&search_query&page_uri=LzAaPTEwMTI3Ed=&signature=71872c0ae1e0d1cb97e0949c1db9acff&referred=&_=1121376000000 HTTP/1.1” 403 39 “https://www.example.com/?p=101278”

    “GET /index.php?rest_route=%2Fwp-statistics%2Fv2%2Fonline&wp_statistics_hit_rest=yes&current_page_type=post&current_page_id=90063&search_query&page_uri=LzAaPTEwMTI3Ed&nonce=f0aaca60&referred=https%3A%2F%2Fwww.example.com%2F%3Fp%3D89916&_=1421216880000 HTTP/2.0” 403 77 “https://www.example.com/?p=90063”

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mostafa Soufi

    (@mostafas1990)

    Hello,

    Thank you for bringing this to our attention. The logs indicate that some requests to your site are resulting in 403 Forbidden errors in WP Statistics.

    The 403 errors in WP Statistics can occur due to:

    • Exclusions
    • Invalid signature

    For more details, please refer to troubleshooting guide.

    However, I’m thinking maybe we can return 200 for exclusions and only return 403 for invalid requests with an incorrect signature.

    Please let me know if you need further assistance.

    Best

    Plugin Author Mostafa Soufi

    (@mostafas1990)

    Done in development and will be released in the next version.

    https://github.com/wp-statistics/wp-statistics/commit/a9c9db6946d29689e47d629b5a78a718561b825f

    Best

    Thread Starter narururu

    (@narururu)

    Thank you for your quick reply!
    The signature is correct, so it may be that you are returning a 403 response to the exclusion instead of a 200.
    I’ll wait for the next version to be released.
    Thank you

    Plugin Author Mostafa Soufi

    (@mostafas1990)

    Your welcome ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.