-
Notifications
You must be signed in to change notification settings - Fork 20
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
Allowlist constraint violation #1653
Comments
Can't reproduce it on both SQLite and MySQL. Can you reproduce it consistently? |
Yes, I just modified my host scanner code to test and this is crashing consistently. Im using the bus client at
|
@pcfreak30 what database are you using? If you are up for it you can run the queries manually with the keys that you know are failing to help us get to the bottom of this. The method is called |
Running this on SQLite, and sure, I have no issues debugging it for you. I did give this to AI though and will have to test, but it suggested it might be due to adding a host to the whitelist that doesn't exist in the |
Current Behavior
couldn't update allow-list entries: transaction failed (attempt 1): failed to join host allowlist entry: FOREIGN KEY constraint failed
Expected Behavior
No errors
Steps to Reproduce
Try to add a hostkey to the allow-list twice
Version
v1.0.8
What operating system did the problem occur on (e.g. Ubuntu 22.04, macOS 12.0, Windows 11)?
Ubuntu
Autopilot Config
n/a
Bus Config
n/a
Contract Set Contracts
n/a
Anything else?
No response
The text was updated successfully, but these errors were encountered: