Project

General

Profile

Bug #11973

ERROR: canceling statement due to user request

Added by Nicolas CHARLES 8 months ago. Updated 7 months ago.

Status:
Released
Priority:
N/A
Category:
Architecture - Dependencies
Target version:
Target version (plugin):
Severity:
Critical - prevents main use of Rudder | no workaround | data loss | security
User visibility:
Effort required:
Priority:
0

Description

This error message has been spotted in the wild for Rudder

[2018-01-10 21:26:02] ERROR report - An error occured when trying to update the cache for compliance <- ERROR: canceling statement due to user request
[2018-01-10 21:26:02] ERROR report - Root exception was:
org.postgresql.util.PSQLException: ERROR: canceling statement due to user request

Look at https://github.com/brettwooldridge/HikariCP/issues/477 for more details

It seems we are using a too old version of JDBC Postgresql, which causes some connection to fail (and impact can be quite catastrophic in this case). We used to stick to old version because of https://github.com/tminglei/slick-pg/issues/220 , but it seems that now version newer than 9.4.1209 are not impacted by this issue

Associated revisions

Revision 775129c1 (diff)
Added by François ARMAND 8 months ago

Fixes #11973: ERROR: canceling statement due to user request

Revision 81802a70 (diff)
Added by François ARMAND 8 months ago

Fixes #11973: ERROR: canceling statement due to user request

History

#1 Updated by François ARMAND 8 months ago

  • Status changed from New to In progress
  • Assignee set to François ARMAND

#2 Updated by François ARMAND 8 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/1840

#3 Updated by Normation Quality Assistant 8 months ago

  • Assignee changed from Vincent MEMBRÉ to François ARMAND

#4 Updated by François ARMAND 8 months ago

  • Status changed from Pending technical review to Pending release

#5 Updated by Vincent MEMBRÉ 7 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.10 and 4.2.4 which were released today.

Also available in: Atom PDF