Skip to content

Instantly share code, notes, and snippets.

@matstani
Created July 11, 2018 04:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matstani/febf123ff35d0c7ce6c207037795dee4 to your computer and use it in GitHub Desktop.
Save matstani/febf123ff35d0c7ce6c207037795dee4 to your computer and use it in GitHub Desktop.
codedeploy-agent.logのエラー

ログを読んだだけではわからなかったものをメモ

Error validating the SSL configuration

2018-07-11 00:33:16 ERROR [codedeploy-agent(4374)]: Error validating the SSL configuration: Invalid server certificate
2018-07-11 00:33:16 ERROR [codedeploy-agent(4374)]: booting child: error during start or run: SystemExit - Stopping CodeDeploy agent due to SSL validation error. - /opt/codedeploy-agent/lib/instance_agent/plugins/codedeploy/command_poller.rb:64:in `abort

SSL証明書がどうとか書いてあるが、ネットワーク不通でも出る

NetworkingError end of file reached

2018-07-11 12:25:50 INFO  [codedeploy-agent(21035)]: [Aws::CodeDeployCommand::Client 0 240.175208 3 retries] poll_host_command(host_identifier:"arn:aws:ec2:ap-northeast-1:xxxxxxxxx:instance/i-xxxxxx") Seahorse::Client::NetworkingError end of file reached

これは途中に挟んでいた内部ロードバランサー(CLB)がタイムアウトして接続を切っていた時に出た

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