How to perform App Gateway Standard Checking
In the case of any issue with Safous App Gateway, Safous support team will require you to perform some standard checking in the App Gateway and collect the log files and screenshots.
Once collected, please compress it into zip file and attach it with your inquiry mail. These logs and screenshots will help the support team investigate the root cause and troubleshoot faster.
Before proceeding, please ensure that you have fulfilled the requirement for App Gateway written here.
This procedure is suitable only for non-China environments.
Checking on the App Gateway Sideโ
- Login via SSH to your App Gateway using an account with sudo privilege.
- Ensure that you set your favorite SSH client to record the output of the session
- Execute the following command to perform the standard checking.
-
Connectivity check
For "telnet" command, press "Ctrl + ']' " after the result shows, then type in "quit" and hit Enter.ping -c 10 repo.safous.comtelnet repo.safous.com 443dig tcp.ztna.safous.comopenssl s_client -connect <dig result of tcp.ztna.safous.com>:443 -servername tcp.ztna.safous.comยping -c 10 ubuntu.comtelnet ubuntu.com 443telnet cert-gen.ztna.safous.com 443 -
Operating system requirement check
cat /etc/\*release\*ufw statusdf -hlsblkfree -mcat /proc/cpuinfodatesudo crontab -lcat /var/log/cron.logntpq -pn -
Container check
For the "docker stats" command, press "Ctrl + C" after 5 seconds of running.docker ps -adocker imagescat /etc/cyolo/config/docker-compose.ymldocker logs config\_idac\_1ย , orยdocker logs config-idac-1docker stats config\_idac\_1, ordocker stats config-idac-1 -
SSL certificate check
ls -lha /etc/cyolo/certsls -lha /etc/safous/certsopenssl x509 -noout -in /etc/cyolo/certs/cert.pem -textopenssl x509 -noout -in /etc/cyolo/certs/cert.pem -subject -datesopenssl x509 -noout -in /etc/safous/certs/cert.pem -textopenssl x509 -noout -in /etc/safous/certs/cert.pem -subject -datescat /etc/safous/tools/certbot-renew.sh -
Files check
ls -lha /etc/cyolo/ls -lha /etc/safous/cat /etc/safous/.configcat /etc/safous/.serial
-
Checking on the Admin Portal Sideโ
- Login to https://portal.safous.com/ using your Safous Admin credentials
- Navigate to Settings > ZTNA > Configuration > Sites

- Expand installed sites configuration, it should show the App Gateway version.
Screenshot the screen.

After you have collected all relevant logs and screenshots, please compress them into a zip file, then attach it to your inquiry mail to the support team.