The following warnings occurred:
Warning [2] Undefined array key "extra" - Line: 100 - File: inc/plugins/google_seo/url.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo/url.php 100 errorHandler->error_callback
/inc/plugins/google_seo.php 317 require_once
/inc/class_plugins.php 38 require_once
/inc/init.php 263 pluginSystem->load
/global.php 20 require_once
/showthread.php 28 require_once
Warning [2] Undefined array key "google_seo_thread" - Line: 1128 - File: inc/plugins/google_seo/url.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo/url.php 1128 errorHandler->error_callback
/inc/plugins/google_seo/url.php 174 google_seo_url_hook
/inc/plugins/google_seo.php 317 require_once
/inc/class_plugins.php 38 require_once
/inc/init.php 263 pluginSystem->load
/global.php 20 require_once
/showthread.php 28 require_once
Warning [2] Undefined array key 1 - Line: 261 - File: inc/plugins/google_seo.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo.php 261 errorHandler->error_callback
/inc/plugins/google_seo/url.php 1080 google_seo_dynamic
/inc/plugins/google_seo/url.php 1128 google_seo_url_dynamic
/inc/plugins/google_seo/url.php 174 google_seo_url_hook
/inc/plugins/google_seo.php 317 require_once
/inc/class_plugins.php 38 require_once
/inc/init.php 263 pluginSystem->load
/global.php 20 require_once
/showthread.php 28 require_once
Warning [2] Undefined array key "parent" - Line: 447 - File: inc/plugins/google_seo/url.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo/url.php 447 errorHandler->error_callback
/inc/plugins/google_seo/url.php 1144 google_seo_url_create
/inc/plugins/google_seo/url.php 174 google_seo_url_hook
/inc/plugins/google_seo.php 317 require_once
/inc/class_plugins.php 38 require_once
/inc/init.php 263 pluginSystem->load
/global.php 20 require_once
/showthread.php 28 require_once
Warning [2] Undefined variable $location - Line: 1250 - File: inc/plugins/google_seo/url.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo/url.php 1250 errorHandler->error_callback
/inc/plugins/google_seo/url.php 174 google_seo_url_hook
/inc/plugins/google_seo.php 317 require_once
/inc/class_plugins.php 38 require_once
/inc/init.php 263 pluginSystem->load
/global.php 20 require_once
/showthread.php 28 require_once
Warning [2] Trying to access array offset on null - Line: 198 - File: inc/plugins/google_seo.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo.php 198 errorHandler->error_callback
/inc/plugins/google_seo/redirect.php 131 google_seo_tid
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined array key "oa_social_login_custom_caption" - Line: 356 - File: inc/plugins/oa_social_login.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/oa_social_login.php 356 errorHandler->error_callback
/inc/plugins/oa_social_login.php 197 oa_social_login_load_plugin
/inc/class_plugins.php 142 oa_social_login_load_plugin_hook_any
/global.php 498 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined variable $unreadreports - Line: 44 - File: global.php(961) : eval()'d code PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/global.php(961) : eval()'d code 44 errorHandler->error_callback
/global.php 961 eval
/showthread.php 28 require_once




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Target group health check failed
#1
Folks we are facing the below issue , can anyone help me here? 

Issue: Target group health check failing .

We configured blue green ecs deployment . When we have a single ec2 instance in the cluster and when we create ECS service with desired task count as 1 - the task will place a container on port 8080. 

Next time when we do a deployment - the service fails since the port 8080 is already in use in the container instance . So we decided to use the dynamic port mapping in task definition but in that case the target group health check is failing with the settings like in the image.


Attached Files Image(s)
   
Reply
#2
Few question to add some context here.

1. So, with just the initial deployment, the target groups works and only when you do additional deployments its failing? Or does the target group never work?
2. Is the inbound from the LB SG allowed on the EC2 SG?
3. In ECS, what network mode are you using?

Also, please confirm if all instruction on this link was follwed correctly including the exceptions to watch out for: https://aws.amazon.com/premiumsupport/kn...pping-ecs/
Reply
#3
Yes first time when we deploy after giving host and container port the same i.e. 8080 it gets deployed and runs fine(only one ec2 instance exists at that time). When we increase the desired count to 2, the new one fails saying port is already in use(obvious).
We have allowed the inbound traffic for all ports on EC2 SG from ALB SG
We have not mentioned any network mode so its automatically taking bridge mode. other modes have some issues with dynamic port mapping so we are not specifying any network modes.

We rechecked the article and found that all the recommend settings are already in place as specified in the link.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)