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

aws: smithy connection was poisoned #19

Closed
ghazninattarshah opened this issue Oct 21, 2024 · 5 comments
Closed

aws: smithy connection was poisoned #19

ghazninattarshah opened this issue Oct 21, 2024 · 5 comments

Comments

@ghazninattarshah
Copy link

agent-picus-2-1 | [2024-10-21T08:49:08Z INFO picus::strategy] Agent is not running. 5 pending job(s) for that agent
agent-picus-2-1 | [2024-10-21T08:49:08Z INFO picus::strategy] 5 pending jobs. Starting agent.
agent-picus-2-1 | [2024-10-21T08:49:08Z INFO picus::aws] Starting instance ...
agent-picus-2-1 | [2024-10-21T08:49:08Z INFO aws_smithy_runtime_api::client::connection] smithy connection was poisoned
agent-picus-2-1 | [2024-10-21T08:49:09Z INFO aws_smithy_runtime_api::client::connection] smithy connection was poisoned
agent-picus-2-1 | [2024-10-21T08:49:11Z INFO aws_smithy_runtime_api::client::connection] smithy connection was poisoned
agent-picus-2-1 | [2024-10-21T08:49:11Z ERROR picus::strategy] AgentProvider could not start server: service error

windsource added a commit that referenced this issue Oct 21, 2024
@windsource
Copy link
Owner

This seems to be similar to awslabs/aws-sdk-rust#1154. I have updated all packages and now aws-smithy-runtime is on version 1.7.2. @ghazninattarshah Could please try with ghcr.io/windsource/picus:latest and check if that works? You probably need to pull the image before in order to get the fixed version.

@ghazninattarshah
Copy link
Author

I do not see the issue anymore. That fixes it. thanks, @windsource

is there a way to set the logger level to error? or just log when starting and stopping instance, I do not want log when the picus poll the woodpecker API like every 10s.

@windsource
Copy link
Owner

@ghazninattarshah when you set an environment variable RUST_LOG=warn you should see only warning and error messages. You can also do that just for picus with RUST_LOG="picus=warn".

@ghazninattarshah
Copy link
Author

I don't see the connectivity issue anymore, hence this issue shall be closed.

@windsource
Copy link
Owner

To log just starting and stopping instances but not the API calls and the remaining idle time

RUST_LOG="info,picus::strategy=warn"

should work.

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

No branches or pull requests

2 participants