Test response said Gitlab through the CAs login is slow, the first time you log in to take about 30 seconds to log in
Gitlab's log has the time to process each request, look at the log, each recorded request is returned within 50 milliseconds, so should not be the cause of Gitlab itself
Through the tracking log, found that the Gitlab log will be in such a sentence on the card for some time:
" /gitlab/users/auth/cas3/callback?url=http%3a%2f%2fdev.test.***.cn%2f1&ticket= st-1516-qkqpe636hnmgruetwxlr-cas01.example.org"for10.1. 5.121 $-: +0800
So the suspicion may be the cause of CAS slow, but see the relevant information of CAs, processing requests will be in a relatively short period of time to return
After the gaze shifted to the network, the Gitlab server is configured with the URL of the CAs, the communication will go outside the network address, try to modify the Gitlab server's host file, the CAS server address as the address of the intranet, and then tested, so, the problem solved.
Keep a record of gitlab. Slow through CAS login