Old revisions Add to book Export to PDF Fold/unfold all Table of Contents Troubleshooting: Cannot Access the "Time Attendance" Server via Hostname Since v2.9.9 Overview Problem Scenario Example) Forbidden error occurs Workaround Book Creator Add this page to your book Book Creator Remove this page from your book Manage book (0 page(s)) Help Troubleshooting: Cannot Access the "Time Attendance" Server via Hostname Since v2.9.9 Overview Starting from BioStar 2 v2.9.9, several security vulnerabilities in the Time Attendance module has been improved, especially concerning external service interactions over HTTP. Due to these enhancements, accessing the BioStar 2 Time Attendance server using a hostname (instead of the BioStar 2 server's IP address) may result in a 403 Forbidden error. For details and to know the workaround, refer to the following content. Problem Scenario If you access the BioStar 2 server using the hostname and attempt to open the BioStar 2 Time Attendance function, you will encounter the 403 Forbidden error, as shown in the picture below. Example) Forbidden error occurs Workaround You need to properly whitelist hostnames in the server_url file so that the TA service can be accessed via hostname:port(TA), according to the following steps. 1. Open the server_url file located in C:\Program Files\BioStar 2(x64). 2. Add the line for the hostname:TA_port below the BioStar 2 IP address and save the file. For example, if the used hostname is ABC and the TA port has been set as 3002, you need to fill in ABC:3002 in the server_url file and save the file. 3. Restart the BioStar 2 Time Attendance service. After that, the BioStar 2 Time Attendance function should work normally, even when accessing BioStar 2 using the hostname.