Gitlab unable to sync merge requests discussions

hi, my upsource is set up to work with gitlab. everything other than merge requests discussions are fine. 

what works:

  • sync branches from gitlab
  • sync merge requests from gitlab
  • oauth2 login with gitlab

what don't work:

  • sync discussions(of merge requests) from gitlab

some info:

  • upsource version: Build 2018.2.1291
  • Trusted SSL Certificates of my gitlab site is added
  • in the general tab. access token and private access token are both tried. none working
  • gitlab version: gitlab community edition 11.0.4
  • gitlab site is ssh only
  • rest apis regarding merge requests discussions are tested, they work well

 

some error log:

* Starting Upsource Frontend
2019/5/17 下午8:15:48 upsource-frontend: Starting Upsource Frontend...
2019/5/17 下午8:15:49 upsource-frontend: Loading Upsource properties file: /opt/upsource/conf/upsource-frontend/upsource.properties
2019/5/17 下午8:15:49 upsource-frontend: Upsource properties file /opt/upsource/conf/upsource.user.properties not found!
2019/5/17 下午8:15:49 upsource-frontend: Writing logs to /opt/upsource/logs/upsource-frontend
2019/5/17 下午8:15:49 upsource-frontend: Using logs configuration from /opt/upsource/conf/upsource-frontend/log4j.xml.dist
2019/5/17 下午8:16:26 upsource-frontend: [Upsource Frontend Error] [2019-05-17 12:16:26,222] WARN 162-b12-1~deb9u1-b12 ring.ClusterStatisticsReporter - Statistics reporting disabled by upsource.statistics.upload property
2019/5/17 下午8:16:30 upsource-frontend: [Upsource Frontend Error] [2019-05-17 12:16:30,909] WARN 162-b12-1~deb9u1-b12 ing.MonitoringNettyInitializer - Monitoring port is not defined - monitoring server is disabled
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] [2019-05-17 12:16:31,662] WARN gitlab-sync-1 ion.gitlab.GitlabImportService - Import failed: extplugins
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] com.jetbrains.upsource.UpsourceException: Import failed: extplugins
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at com.jetbrains.upsource.backend.server.integration.gitlab.GitlabImporter.importAll(GitlabImporter.kt:85)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at com.jetbrains.upsource.backend.server.integration.gitlab.GitlabImportService$sync$1.invoke(GitlabImportService.kt:115)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at com.jetbrains.upsource.backend.server.integration.gitlab.GitlabImportService$sync$1.invoke(GitlabImportService.kt:28)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at com.jetbrains.upsource.backend.server.core.db.ProjectHolder.with(ProjectHolder.kt:68)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at com.jetbrains.upsource.backend.server.integration.gitlab.GitlabImportService.a(GitlabImportService.kt:113)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at com.jetbrains.upsource.backend.server.integration.gitlab.GitlabImportService.a(GitlabImportService.kt:80)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at com.jetbrains.upsource.backend.server.integration.gitlab.GitlabImportService.access$syncNow(GitlabImportService.kt:28)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at com.jetbrains.upsource.backend.server.integration.gitlab.GitlabImportService$2.run(GitlabImportService.kt:49)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at com.jetbrains.upsource.util.NamedDaemonThreadFactory.a(NamedDaemonThreadFactory.java:34)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at java.lang.Thread.run(Thread.java:748)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] Caused by: java.lang.Error: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at com.jetbrains.upsource.backend.server.integration.gitlab.GitlabHttp$1.b(GitlabHttp.java:169)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at com.jetbrains.upsource.backend.server.integration.gitlab.GitlabHttp$1.hasNext(GitlabHttp.java:127)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at com.jetbrains.upsource.backend.server.integration.gitlab.GitlabHttp.getAll(GitlabHttp.java:107)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at com.jetbrains.upsource.backend.server.integration.gitlab.GitlabApiClient.getMergeRequests(GitlabApiClient.java:37)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at com.jetbrains.upsource.backend.server.integration.gitlab.GitlabImporter.importMergeRequests(GitlabImporter.kt:95)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at com.jetbrains.upsource.backend.server.integration.gitlab.GitlabImporter$importAll$1.doResume(GitlabImporter.kt:82)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at kotlin.coroutines.experimental.jvm.internal.CoroutineImpl.resume(CoroutineImpl.kt:42)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at kotlinx.coroutines.experimental.DispatchedTask$DefaultImpls.run(Dispatched.kt:149)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at kotlinx.coroutines.experimental.DispatchedContinuation.run(Dispatched.kt:13)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at kotlinx.coroutines.experimental.EventLoopBase.processNextEvent(EventLoop.kt:140)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at kotlinx.coroutines.experimental.BlockingCoroutine.joinBlocking(Builders.kt:70)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at kotlinx.coroutines.experimental.BuildersKt__BuildersKt.runBlocking(Builders.kt:46)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at kotlinx.coroutines.experimental.BuildersKt.runBlocking(Unknown Source)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at kotlinx.coroutines.experimental.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:36)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at kotlinx.coroutines.experimental.BuildersKt.runBlocking$default(Unknown Source)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at com.jetbrains.upsource.backend.server.integration.gitlab.GitlabImporter.importAll(GitlabImporter.kt:81)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] ... 15 more
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at sun.security.ssl.InputRecord.handleUnknownRecord(InputRecord.java:710)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at sun.security.ssl.InputRecord.read(InputRecord.java:527)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:983)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at com.jetbrains.upsource.backend.server.integration.gitlab.GitlabHttp.a(GitlabHttp.java:231)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at com.jetbrains.upsource.backend.server.integration.gitlab.GitlabHttp.access$100(GitlabHttp.java:28)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] at com.jetbrains.upsource.backend.server.integration.gitlab.GitlabHttp$1.b(GitlabHttp.java:165)
2019/5/17 下午8:16:31 upsource-frontend: [Upsource Frontend Error] ... 30 more

 

 

 

Please sign in to leave a comment.