Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.6.4] Investigate unable to update bouncer 'X' #3338

Open
LaurenceJJones opened this issue Nov 20, 2024 · 3 comments
Open

[1.6.4] Investigate unable to update bouncer 'X' #3338

LaurenceJJones opened this issue Nov 20, 2024 · 3 comments

Comments

@LaurenceJJones
Copy link
Contributor

LaurenceJJones commented Nov 20, 2024

We need to investigate the following log calls:

time="2024-11-20T16:08:01Z" level=error msg="unable to update bouncer 'FirewallBouncer-1650280536' pull: unable to update machine last pull in database: context canceled: sql: transaction has already been committed or rolled back"
time="2024-11-20T16:08:11Z" level=error msg="unable to update bouncer 'FirewallBouncer-1650280536' pull: unable to update machine last pull in database: context canceled"

Since we now propagate the request context to the database call it will cancel if the request is cancelled by the client.

I am proactively opening an issue so users can report their own experience below and log statements to help us debug.

@LaurenceJJones LaurenceJJones changed the title [1.6.4] unable to update bouncer 'X' [1.6.4] Investigate unable to update bouncer 'X' Nov 20, 2024
Copy link

@LaurenceJJones: Thanks for opening an issue, it is currently awaiting triage.

In the meantime, you can:

  1. Check Crowdsec Documentation to see if your issue can be self resolved.
  2. You can also join our Discord.
  3. Check Releases to make sure your agent is on the latest version.
Details

I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

Copy link

@LaurenceJJones: There are no 'kind' label on this issue. You need a 'kind' label to start the triage process.

  • /kind feature
  • /kind enhancement
  • /kind refactoring
  • /kind bug
  • /kind packaging
Details

I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

@blotus blotus added this to the 1.6.5 milestone Nov 25, 2024
@J-a-x-u
Copy link

J-a-x-u commented Nov 27, 2024

Well, what log statements or info do you need?

level=error msg="unable to update bouncer 'name' pull: unable to update machine last pull in database: context canceled: sql: transaction has already been committed or rolled back"

DB backend is mariadb.
Crowdsec is crowdsec-1.6.4-1.el9.x86_64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants