You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.
i'm getting below issue
It's trying to fetch the gitlab details form default gitlab url not for my specified ipaddress url. If i give gitlab.host in gitlab.properties i'm getting message java.lang.IllegalArgumentException: Invalid character ':' for HOST_IPV4 in "http://66.228.26.201:8282/".But if try with gitlab.server in gitlab.properties file its started but fetching form default not mine.
gitlab.properties file:
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)
2016-11-25 06:05:32,575 INFO o.s.j.e.a.AnnotationMBeanExporter - Registering beans for JMX exposure on startup
2016-11-25 06:05:32,590 INFO com.capitalone.dashboard.Application - Started Application in 6.15 seconds (JVM running for 7.234)
2016-11-25 06:06:00,000 INFO c.c.d.collector.CollectorTask - Running Collector: Gitlab
2016-11-25 06:06:00,006 INFO c.c.d.collector.CollectorTask - -----------------------------------
2016-11-25 06:06:00,006 INFO c.c.d.collector.CollectorTask - Starting...
2016-11-25 06:06:00,006 INFO c.c.d.collector.CollectorTask - -----------------------------------
2016-11-25 06:06:00,749 INFO c.c.d.c.DefaultGitlabGitClient - Failed to retrieve data from: https://gitlab.com/api/v3/projects/vetrivelan%2FTest/repository/commits/?ref_name=master&since=2016-11-25T05:56:00Z&per_page=100
2016-11-25 06:06:00,851 INFO c.c.d.c.DefaultGitlabGitClient - Failed to retrieve data from: https://gitlab.com/api/v3/projects/repository/commits/?ref_name=master&since=2016-11-25T05:56:00Z&per_page=100
2016-11-25 06:06:00,852 INFO c.c.d.collector.CollectorTask - Repo Count 2 0s
2016-11-25 06:06:00,853 INFO c.c.d.collector.CollectorTask - New Commits 0 0s
2016-11-25 06:06:00,853 INFO c.c.d.collector.CollectorTask - Finished 0s
The text was updated successfully, but these errors were encountered:
i'm getting below issue
It's trying to fetch the gitlab details form default gitlab url not for my specified ipaddress url. If i give gitlab.host in gitlab.properties i'm getting message java.lang.IllegalArgumentException: Invalid character ':' for HOST_IPV4 in "http://66.228.26.201:8282/".But if try with gitlab.server in gitlab.properties file its started but fetching form default not mine.
gitlab.properties file:
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)
2016-11-25 06:05:32,575 INFO o.s.j.e.a.AnnotationMBeanExporter - Registering beans for JMX exposure on startup
2016-11-25 06:05:32,590 INFO com.capitalone.dashboard.Application - Started Application in 6.15 seconds (JVM running for 7.234)
2016-11-25 06:06:00,000 INFO c.c.d.collector.CollectorTask - Running Collector: Gitlab
2016-11-25 06:06:00,006 INFO c.c.d.collector.CollectorTask - -----------------------------------
2016-11-25 06:06:00,006 INFO c.c.d.collector.CollectorTask - Starting...
2016-11-25 06:06:00,006 INFO c.c.d.collector.CollectorTask - -----------------------------------
2016-11-25 06:06:00,749 INFO c.c.d.c.DefaultGitlabGitClient - Failed to retrieve data from: https://gitlab.com/api/v3/projects/vetrivelan%2FTest/repository/commits/?ref_name=master&since=2016-11-25T05:56:00Z&per_page=100
2016-11-25 06:06:00,851 INFO c.c.d.c.DefaultGitlabGitClient - Failed to retrieve data from: https://gitlab.com/api/v3/projects/repository/commits/?ref_name=master&since=2016-11-25T05:56:00Z&per_page=100
2016-11-25 06:06:00,852 INFO c.c.d.collector.CollectorTask - Repo Count 2 0s
2016-11-25 06:06:00,853 INFO c.c.d.collector.CollectorTask - New Commits 0 0s
2016-11-25 06:06:00,853 INFO c.c.d.collector.CollectorTask - Finished 0s
The text was updated successfully, but these errors were encountered: