pacbot icon indicating copy to clipboard operation
pacbot copied to clipboard

PackBot Dashboard not able to access by External IP

Open click2cloud-jyoti opened this issue 7 years ago • 3 comments

❔ Question

I am unable to access PackBot Dashboard UI by the External IP.

🔦 Context

I have Build Packbot source code on the Amazon centos 7 machines. Its build successfully but Not able to access it outside. Below images show the code build successfully and application deploys on the localhost. But, I want to access the PacBot application publically. pacbot_code_build_success

created Inbound rules: pacbotInboudRule

Trying to access publically notabletoaccess

Please help me.

Aha! Link: https://t-mobile1t-mobile.aha.io/features/PM-533

click2cloud-jyoti avatar Nov 20 '19 06:11 click2cloud-jyoti

Hi @c2c-engg-20170105

By default PacBot installation creates load balancer which is internal and can be accessed only within the VPC network. But you can also create an internet-facing load balancer by adding the below line in your local.py MAKE_ALB_INTERNAL = False

But if you make the ALB internet-facing then either you have to enable port 80 publically in pacbot security group or add inbound hits from the IPs of all the ECS tasks containers.

sajeer-nooh avatar Nov 21 '19 10:11 sajeer-nooh

Hi, I have followed all the below steps Steps to debug:

  1. Go to ECS-> Pacbot-> Tasks
  2. Click on Config and go to the bottom of the page to see the container details
  3. Click on Cloud-watch log and check if there is any error (You can also directly go to the CW log streams /pacbot/apis, and check config and auth tasks log) If you are not finding any error in the logs, please take the url in the browser http://{ALB domain}/api/admin/api.html and check if you can access it or not. There is no error found in the ECS Task definition

using ALB the pacbot site is not able to load test

using public IP I can view the pacbot dashboard but not able to log in.

pacbot_dashboard

click2cloud-jyoti avatar Dec 05 '19 09:12 click2cloud-jyoti

@c2c-engg-20170105

If this is the same issue of https://github.com/tmobile/pacbot/issues/377, please close this. We can handle this in one issue, multiple issues will become difficult to manage.

sajeer-nooh avatar Dec 09 '19 03:12 sajeer-nooh