Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
L
Log MatomNom
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Libre
  • Log MatomNom
  • Issues
  • #7

Closed
Open
Opened Nov 23, 2020 by Michał Woźniak@rysiekOwner

Fatal exceptions in threads not handled correctly

logwatch_1                | 2020-11-23 07:17:13,426: [INFO] Error when connecting to Matomo: HTTP Error 413: Request Entity Too Large
logwatch_1                | 2020-11-23 07:17:13,430: [INFO] Retrying request, attempt number 2
logwatch_1                | 2020-11-23 07:17:23,529: [INFO] Error when connecting to Matomo: HTTP Error 413: Request Entity Too Large
logwatch_1                | 2020-11-23 07:17:23,533: [INFO] Retrying request, attempt number 3
logwatch_1                | 2020-11-23 07:17:33,607: [INFO] Error when connecting to Matomo: HTTP Error 413: Request Entity Too Large
logwatch_1                | 2020-11-23 07:17:33,612: [INFO] Max number of attempts reached, server is unreachable!
logwatch_1                | Exception in thread Thread-2:
logwatch_1                | Traceback (most recent call last):
logwatch_1                |   File "/usr/local/lib/python2.7/threading.py", line 801, in __bootstrap_inner
logwatch_1                |     self.run()
logwatch_1                |   File "/usr/local/lib/python2.7/threading.py", line 754, in run
logwatch_1                |     self.__target(*self.__args, **self.__kwargs)
logwatch_1                |   File "/opt/matomo-log-analytics/import_logs.py", line 1876, in _run_bulk
logwatch_1                |     fatal_error(e, hits[0].filename, hits[0].lineno) # approximate location of error
logwatch_1                |   File "./logwatch.py", line 272, in non_fatal_error
logwatch_1                |     raise IngestionException(errmsg, filename, lineno)
logwatch_1                | IngestionException: ('HTTP Error 413 Request Entity Too Large, response: <html>\r\n<head><title>413 Request
                            Entity Too Large</title><script type="text/javascript" src="/ynh_portal.js"></script><link type="text/css" 
                            rel="stylesheet" href="/ynh_overlay.css"></link><script type="text/javascript" src="/ynhtheme/custom_portal.js">
                            </script><link type="text/css" rel="stylesheet" href="/ynhtheme/custom_overlay.css"></link></head>\r\n<body
                            bgcolor="white">\r\n<center><h1>413 Request Entity Too Large</h1></center>\r\n<hr><center>nginx</center>\r\n
                            </body>\r\n</html>\r\n\nIngesting \'/srv/logs/old/nginx/git.rys.io.access.log-2020.11.23-08:17:01.log.gz\' 
                            failed at line 0', '/srv/logs/old/nginx/git.rys.io.access.log-2020.11.23-08:17:01.log.gz', 0)
Assignee
Assign to
Beta
Milestone
Beta
Assign milestone
Time tracking
None
Due date
None
Reference: libre/log-matomnom#7