Keep a record of gitlab. Slow through CAS login

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.