Gitlab collector failed #973
Comments
Based on that section of the stack trace, my guess is you didn't include a cron sequence in your properties file, or an invalid one. Makes sure you having something like the line below in your application properties file. |
Thanks for you help after i changed my gitlab.cron i didn't that issue but i'm getting below issue dbname=dashboarddb
dbusername=dashboarduser
dbpassword=dbpassword
dbhost=127.0.0.1
dbport=27017
gitlab.cron=0 0/1 * * * *
gitlab.server=http://66.228.26.201:8282/ (Sample one not exact ip address)
gitlab.branche=master
gitlab.apiToken=CAvxoN_MByFws4MQKxZ2
gitlab.saveLog=true gitlab jar Command: sudo java -jar gitlab-git-collector-2.0.4-SNAPSHOT.jar --spring.config.name=gitlab --spring.config.location=/home/ubuntu/Hygieia-master/collectors/scm/gitlab/target/gitlab.properties Issue: (Its fetching the data form some other url not for our specified gitlab ip address)
|
Think you are now at the same point as #957 , I will be working on a fix for that this week. Your properties file does need to be updated however. Server, branche, and saveLog are no longer properties. Instead use the properties below. I will be adding two new properties for port and protocol to support the issue in 957. gitlab.cron=0 0/3 * * * *
gitlab.apiToken={token}
gitlab.host={host}
gitlab.selfSignedCertificate=false
gitlab.commitThresholdDays=15 |
Kindly inform once gitlab the issue is fixed |
The text was updated successfully, but these errors were encountered: