404 Not Found comment
yegor256 opened this issue · 31 comments
I keep getting this 10-50 times a day in the log:
java.lang.AssertionError: HTTP response status is not equal to 200:
404 Not Found [https://api.github.com/repos/Harvest-foundation/core/issues/185/comments]
Server: GitHub.com
Date: Mon, 15 Oct 2018 11:15:44 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Status: 404 Not Found
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4991
X-RateLimit-Reset: 1539605620
X-OAuth-Scopes: notifications
X-Accepted-OAuth-Scopes:
X-GitHub-Media-Type: github.v3
Access-Control-Expose-Headers: ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
Access-Control-Allow-Origin: *
Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
X-Frame-Options: deny
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Referrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin
Content-Security-Policy: default-src 'none'
X-GitHub-Request-Id: BDBC:740F:15106FC:2CA2220:5BC476E0
{"message":"Not Found","documentation_url":"https://developer.github.com/v3/issues/comments/#list-comments-on-an-issue"}
Expected: HTTP response with status 200
but: was <404 Not Found [https://api.github.com/repos/Harvest-foundation/core/issues/185/comments]
Server: GitHub.com
Date: Mon, 15 Oct 2018 11:15:44 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Status: 404 Not Found
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4991
X-RateLimit-Reset: 1539605620
X-OAuth-Scopes: notifications
X-Accepted-OAuth-Scopes:
X-GitHub-Media-Type: github.v3
Access-Control-Expose-Headers: ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
Access-Control-Allow-Origin: *
Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
X-Frame-Options: deny
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Referrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin
Content-Security-Policy: default-src 'none'
X-GitHub-Request-Id: BDBC:740F:15106FC:2CA2220:5BC476E0
{"message":"Not Found","documentation_url":"https://developer.github.com/v3/issues/comments/#list-comments-on-an-issue"}>
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at com.jcabi.http.response.RestResponse.assertStatus(RestResponse.java:111)
at com.jcabi.github.RtValuePagination$Items.fetch(RtValuePagination.java:193)
at com.jcabi.github.RtValuePagination$Items.hasNext(RtValuePagination.java:179)
at com.jcabi.github.Smarts$1.hasNext(Smarts.java:87)
at io.wring.agents.github.BoIssue.text(BoIssue.java:126)
at io.wring.agents.github.BoIssue.push(BoIssue.java:79)
at io.wring.agents.github.Subject.push(Subject.java:130)
at io.wring.agents.github.AgGithub.push(AgGithub.java:172)
at io.wring.agents.github.AgGithub.push(AgGithub.java:110)
at io.wring.agents.JsonAgent.push(JsonAgent.java:97)
at io.wring.agents.Exec.log(Exec.java:188)
at io.wring.agents.Exec.body(Exec.java:161)
at io.wring.agents.Exec.lambda$run$0(Exec.java:98)
at org.cactoos.func.FuncWithFallback.apply(FuncWithFallback.java:84)
at org.cactoos.func.UncheckedFunc.lambda$apply$0(UncheckedFunc.java:58)
at org.cactoos.scalar.IoCheckedScalar.value(IoCheckedScalar.java:70)
at org.cactoos.scalar.UncheckedScalar.value(UncheckedScalar.java:58)
at org.cactoos.func.UncheckedFunc.apply(UncheckedFunc.java:59)
at io.wring.agents.Exec.run(Exec.java:142)
at io.wring.agents.Cycle.lambda$exec$2(Cycle.java:96)
at org.cactoos.func.FuncWithFallback.apply(FuncWithFallback.java:92)
at org.cactoos.func.UncheckedFunc.lambda$apply$0(UncheckedFunc.java:58)
at org.cactoos.scalar.IoCheckedScalar.value(IoCheckedScalar.java:70)
at org.cactoos.scalar.UncheckedScalar.value(UncheckedScalar.java:58)
at org.cactoos.func.UncheckedFunc.apply(UncheckedFunc.java:59)
at io.wring.agents.Cycle.exec(Cycle.java:101)
at io.wring.agents.Cycle.exec(Cycle.java:54)
at org.cactoos.func.FuncOf.lambda$new$3(FuncOf.java:88)
at org.cactoos.func.FuncOf.apply(FuncOf.java:104)
at org.cactoos.func.FuncWithFallback.apply(FuncWithFallback.java:84)
at org.cactoos.func.UncheckedFunc.lambda$apply$0(UncheckedFunc.java:58)
at org.cactoos.scalar.IoCheckedScalar.value(IoCheckedScalar.java:70)
at org.cactoos.scalar.UncheckedScalar.value(UncheckedScalar.java:58)
at org.cactoos.func.UncheckedFunc.apply(UncheckedFunc.java:59)
at org.cactoos.func.RunnableOf.run(RunnableOf.java:89)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at com.jcabi.log.VerboseThreads$Wrap.run(VerboseThreads.java:220)
at java.lang.Thread.run(Thread.java:748)
@carlosmiranda/z please, pay attention to this issue
@g4s8 Would you please check if wring have access to Harvest-foundation/core
repository? Looks like a permission problem to me.
@paulodamaso no it doesn't
@paulodamaso why? Actually it was not intended to add wring to this repo.
@g4s8 Right, I thought that you was trying to use wring, sorry.
@carlosmiranda Looks like we have a problem with user authentication; maybe user token is not valid, and its not used for accessing public repos, so it just complains when accessing private repos. To solve this issue I need to know how wring must behave when this problem happens.
@paulodamaso/z this job was assigned to you 5days ago. It will be taken away from you soon, unless you close it, see §8. Read this and this, please.
@paulodamaso we should be able to notify the users who configured the repo of any errors, somehow. Perhaps within "inbox", but maybe better to have a new "errors" page.
@paulodamaso The impediment for #72 was registered successfully by @paulodamaso/z
@yegor256 done and merged, please close
@yegor256 ping
@yegor256 ping
@yegor256 ping
@yegor256 please close this issue, it was merged almost one month ago
@paulodamaso thanks!
@ypshenychka/z please review this job completed by @paulodamaso/z, as in §30; the job will be fully closed and all payments will be made when the quality review is completed
@0crat quality good
Order was finished, quality is "good": +35 point(s) just awarded to @paulodamaso/z
Quality review completed: +8 point(s) just awarded to @ypshenychka/z