matomo-org / matomo-org/plugin-QueuedTracking

During log importing with queuedtracking enabled bulk tracking returned invalid JSON

Open
#34 12 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
87
Forks
41
Avg merge
2d 18h
Merged PRs (30d)
7

Description

errors occurs so often that it is hard to see anything else

```
2016-01-28 13:29:11,952: [INFO] bulk tracking returned invalid JSON
2016-01-28 13:29:11,953: [INFO] tracker response:
GIF89a�!�,D;
```

Log importer command

```
python misc/log-analytics/import_logs.py access.log --url=http://testurl.com --replay-tracking --token-auth=** --recorders=6 --disable-bulk-tracking
```

the same situation with bulk tracking enabled

@mattab probably related to #5

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with misc/log-analytics/import_logs.py and the bulk-tracking path used by the provided command, then inspect the tracker response shown in the issue. Reproduce the import with bulk tracking enabled and determine why a GIF response is being treated as JSON; done means the importer receives valid JSON or reports the underlying response clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, python
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.