aws-ia / cfn-ps-duo-mfa

Apache License 2.0
3 stars 7 forks source link

Invalid configuration error #16

Closed davmayd closed 10 months ago

davmayd commented 10 months ago

With the latest image updates, users are experiencing the following error in the ECS logs:

(UTC-6:00) Your configuration is not valid. Check the validation output for errors. (UTC-6:00) Failed to start duoauthproxy: exit status 1 (UTC-6:00) If the duoauthproxy failed to start for connectivity reasons, the connectivity tool located at /opt/duoauthproxy/bin/authproxy_connectivity_tool can be run independently to test for connectivity problems. (UTC-6:00) Unhandled Error (UTC-6:00) Traceback (most recent call last): (UTC-6:00) File "/opt/duoauthproxy/usr/local/lib/python3.8/site-packages/twisted/application/app.py", line 674, in run

krzysiek-4 commented 10 months ago

scripts/source/docker/Dockerfile is updated. But the Dockerfile inside scripts/packages/code_commit.zip is yet to be updated.

davmayd commented 10 months ago

According to the impacted customer, there are no longer any errors (confirmed with my account) but the function is no longer updating directory services to use the proxy

davmayd commented 10 months ago

Also, thank you @krzysiek-4 , updating the ZIP file did fix the issue (in the sense that the "configuration is not valid" error is no longer logged).

krzysiek-4 commented 10 months ago

According to the impacted customer, there are no longer any errors (confirmed with my account) but the function is no longer updating directory services to use the proxy

I notice this issue as well, this might cause the configuration not working as expected when the ECS Task being updated (Private IP change).

davmayd commented 10 months ago

This issue is resolved. The follow-up issue is being tracked at https://github.com/aws-ia/cfn-ps-duo-mfa/issues/18