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
Otherwise, I get the following on a server reboot:
Nov 13 12:35:20 git git-as-svn[144]: 2019-11-13T12:35:20,108 INFO [main] (Main.java:42) - git-as-svn version: 1.21.7, f6e194fc3c1daf0bb03d14aaa07deb483470dc28
Nov 13 12:35:24 git git-as-svn[144]: 2019-11-13T12:35:24,404 INFO [main] (Log.java:193) - Logging initialized @16972ms to org.eclipse.jetty.util.log.Slf4jLog
Nov 13 12:35:24 git git-as-svn[144]: 2019-11-13T12:35:24,991 INFO [main] (Server.java:370) - jetty-9.4.19.v20190610; built: 2019-06-10T16:30:51.723Z; git: afc
f563148970e98786327af5e07c261fda175d3; jvm 1.8.0_201-b09
Nov 13 12:35:25 git git-as-svn[144]: 2019-11-13T12:35:25,404 INFO [main] (ContextHandler.java:857) - Started o.e.j.s.ServletContextHandler@225129c{/,null,AVAI
LABLE}
Nov 13 12:35:25 git git-as-svn[144]: 2019-11-13T12:35:25,596 INFO [main] (AbstractConnector.java:292) - Started ServerConnector@1890516e{HTTP/1.1,[http/1.1]}{
localhost:8123}
Nov 13 12:35:25 git git-as-svn[144]: 2019-11-13T12:35:25,597 INFO [main] (Server.java:410) - Started @18166ms
Nov 13 12:35:26 git git-as-svn[144]: Exception in thread "main" java.lang.RuntimeException: org.gitlab.api.GitlabAPIException: GitLab is not responding
Nov 13 12:35:26 git git-as-svn[144]: at org.gitlab.api.http.GitlabHTTPRequestor$1.fetch(GitlabHTTPRequestor.java:243)
Nov 13 12:35:26 git git-as-svn[144]: at org.gitlab.api.http.GitlabHTTPRequestor$1.hasNext(GitlabHTTPRequestor.java:197)
Nov 13 12:35:26 git git-as-svn[144]: at org.gitlab.api.http.GitlabHTTPRequestor.getAll(GitlabHTTPRequestor.java:165)
Nov 13 12:35:26 git git-as-svn[144]: at org.gitlab.api.GitlabAPI.getProjects(GitlabAPI.java:813)
Nov 13 12:35:26 git git-as-svn[144]: at svnserver.ext.gitlab.mapping.GitLabMappingConfig.create(GitLabMappingConfig.java:79)
Nov 13 12:35:26 git git-as-svn[144]: at svnserver.server.SvnServer.<init>(SvnServer.java:149)
Nov 13 12:35:26 git git-as-svn[144]: at svnserver.server.Main.main(Main.java:65)
Nov 13 12:35:26 git git-as-svn[144]: Caused by: org.gitlab.api.GitlabAPIException: GitLab is not responding
Nov 13 12:35:26 git git-as-svn[144]: at org.gitlab.api.http.GitlabHTTPRequestor.handleAPIError(GitlabHTTPRequestor.java:408)
Nov 13 12:35:26 git git-as-svn[144]: at org.gitlab.api.http.GitlabHTTPRequestor.access$300(GitlabHTTPRequestor.java:38)
Nov 13 12:35:26 git git-as-svn[144]: at org.gitlab.api.http.GitlabHTTPRequestor$1.fetch(GitlabHTTPRequestor.java:240)
Nov 13 12:35:26 git git-as-svn[144]: ... 6 more
Nov 13 12:35:26 git git-as-svn[144]: Caused by: java.io.IOException: Server returned HTTP response code: 502 for URL: http://xxx.local/api/v4/projects?per_p
age=100
Nov 13 12:35:26 git git-as-svn[144]: at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1894)
Nov 13 12:35:26 git git-as-svn[144]: at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
Nov 13 12:35:26 git git-as-svn[144]: at org.gitlab.api.http.GitlabHTTPRequestor.parse(GitlabHTTPRequestor.java:363)
Nov 13 12:35:26 git git-as-svn[144]: at org.gitlab.api.http.GitlabHTTPRequestor.access$200(GitlabHTTPRequestor.java:38)
Nov 13 12:35:26 git git-as-svn[144]: at org.gitlab.api.http.GitlabHTTPRequestor$1.fetch(GitlabHTTPRequestor.java:236)
Nov 13 12:35:26 git git-as-svn[144]: ... 6 more
And no service until manual restart of git-as-svn.service
The text was updated successfully, but these errors were encountered:
The following git-as-svn.service works for me. Not an ideal solution as it doesn't try to detect that the Gitlab startup sequence is completed and just uses a delay, but that's better than nothing.
don't know why, buy above mechanism using After=gitlab-runsvdir.service puts my git-as-svn.service to status enabled but inactive(dead). here my little adjusted one.
by the way my os is ubuntu 22.04 lts
Otherwise, I get the following on a server reboot:
And no service until manual restart of
git-as-svn.service
The text was updated successfully, but these errors were encountered: