- Issue created by @sah62
- πΊπΈUnited States bluegeek9
What was the previous version installed?
Have you cleared the cache? The error is, No route found. It is referring to the path/route Visitors logs the visit. The data is sent as a POST
Does the site have a path prefix? https://www.mysite.com/test
- πΊπΈUnited States sah62 US
Thanks for such a quick reply!
What was the previous version installed?
8.x-2.16 was previously installed. I had uninstalled that version (using "drush pmu") while waiting for this new release, so this was basically a fresh installation.
Have you cleared the cache? The error is, No route found. It is referring to the path/route Visitors logs the visit. The data is sent as a POST
Yes, after using composer to install the update I ran both "drush updb" and "drush cr". I've since flushed all caches again, and the errors still appear.
Does the site have a path prefix? https://www.mysite.com/test
No, there's no path prefix like that. If it helps, here's the complete location given for one of the logged errors (with minor edits to redact the actual site name):
https://www.mysite.com/visitors/_track?_cvar=%7B%227%22%3A%5B%22route%22...
- πΊπΈUnited States sah62 US
I've noticed that the errors are all associated with Microsoft Bing bot IP addresses. Could a crawler be doing something unexpected?
- πΊπΈUnited States bluegeek9
I think it is using a GET, which would explain the error. The route does not support the GET method.
I am unsure why the bot is doing this. Are visits from Bing logged in visitors? By default, visitors will ignore visits from bots.
It uses a POST to prevent caching and issues with proxies.
- πΊπΈUnited States sah62 US
It's definitely using an HTTP GET. I just confirmed that by looking at a sample in my nginx log:
40.77.190.63 - - [03/Jun/2024:08:14:10 -0400] "GET /visitors/_track?action_name=...
I guess this means that there's no visitors error here. No, I don't see it being logged by the module. Thanks for the help, @bluegeek9.
- πΊπΈUnited States bluegeek9
We could add GET support. All the data is in the URL query.
- Assigned to bluegeek9
- Merge request !129Issue #3451364 by bluegeek9: Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException β (Merged) created by bluegeek9
-
bluegeek9 β
committed ea88561a on 8.x-2.x
Issue #3451364: Symfony\Component\HttpKernel\Exception\...
-
bluegeek9 β
committed ea88561a on 8.x-2.x
- Issue was unassigned.
- Status changed to Fixed
6 months ago 8:52pm 3 June 2024 Automatically closed - issue fixed for 2 weeks with no activity.