Github Remote I/O Error
When adding a comment to a specific line in a file, it shows me an error: Remote GitHub operation failed: I/O error occurred
I just installed Upsource. I had similar issues with Gitlab in the past, and was told this wasn't supported by the Gitlab API. What I'm experiencing now with Github is surely a configuration error, right?
EDIT: This also happens when adding a label.
Please sign in to leave a comment.
I'm also having this issue, i can add labels but cant delete them without that message.
body={"created_at":null,"updated_at":null,"body":"githubd","body_html":null,"body_text":null,"id":0,"url":null,"user":null} response=422 api-requests=4880/5000
[2020-04-16 01:42:44,977] WARN 7 @coroutine#3862330 egration.github.GithubExporter - Invalid request.
"body_html", "body_text", "created_at", "id", "updated_at", "url", "user" are not permitted keys. (422)
org.eclipse.egit.github.core.client.RequestException: Invalid request.
"body_html", "body_text", "created_at", "id", "updated_at", "url", "user" are not permitted keys. (422)
at com.jetbrains.upsource.backend.server.integration.github.GithubApiClient.a(GithubApiClient.java:316)
at com.jetbrains.upsource.backend.server.integration.github.GithubApiClient.updateComment(GithubApiClient.java:120)
at com.jetbrains.upsource.backend.server.integration.github.GithubExporter.updateComment(GithubExporter.kt:108)
at com.jetbrains.upsource.backend.server.integration.github.GithubExporter$updateComment$1.invokeSuspend(GithubExporter.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:32)
at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:236)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at com.jetbrains.upsource.util.NamedDaemonThreadFactory.a(NamedDaemonThreadFactory.java:34)
at java.lang.Thread.run(Thread.java:748)
GitHub request: POST https://api.github.com/repos/test/upsource-test/pulls/3/comments body={"line":0,"position":5,"commit_id":"cf8153eebed7aba2f16c81627c230cfe3e714924","path":"README.md","created_at":null,"updated_at":null,"body":"|`line 8`|\n|---|\ny","body_html":null,"body_text":null,"id":0,"url":null,"user":null} response=422 api-requests=4980/5000
[2020-04-16 01:53:37,823] WARN 4 @coroutine#3881531 egration.github.GithubExporter - Validation Failed (422): line required and an integer greater than zero
org.eclipse.egit.github.core.client.RequestException: Validation Failed (422): line required and an integer greater than zero
at org.eclipse.egit.github.core.client.GitHubClient.createException(GitHubClient.java:552)
at org.eclipse.egit.github.core.client.GitHubClient.sendJson(GitHubClient.java:643)
at org.eclipse.egit.github.core.client.GitHubClient.post(GitHubClient.java:757)
at com.jetbrains.upsource.backend.server.integration.github.GithubApiClient.addComment(GithubApiClient.java:113)
at com.jetbrains.upsource.backend.server.integration.github.GithubExporter.addComment(GithubExporter.kt:394)
at com.jetbrains.upsource.backend.server.integration.github.GithubExporter$addComment$2.invokeSuspend(GithubExporter.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:32)
at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:236)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at com.jetbrains.upsource.util.NamedDaemonThreadFactory.a(NamedDaemonThreadFactory.java:34)