farm icon indicating copy to clipboard operation
farm copied to clipboard

Unable to login at 0crat.com

Open mialkin opened this issue 2 years ago • 3 comments

1.0-SNAPSHOT, 953fcb0d2

Please, report it here. We will do our best to fix it as soon as possible. We're very sorry.

java.lang.IllegalStateException: [GET https://www.0crat.com/?PsByFlag=PsGithub&code=872cfa351fb989d03524] failed in 227ms: HTTP response status is not equal to 200: 400 Bad Request [https://api.github.com/user?access_token=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] X-RateLimit-Resource: core Server: GitHub.com Access-Control-Allow-Origin: * X-RateLimit-Used: 2 X-Content-Type-Options: nosniff X-RateLimit-Reset: 1679871364 Date: Sun, 26 Mar 2023 21:56:54 GMT Referrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin X-Frame-Options: deny Strict-Transport-Security: max-age=31536000; includeSubdomains; preload Access-Control-Expose-Headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset X-RateLimit-Remaining: 58 X-GitHub-Media-Type: github.v3 Content-Security-Policy: default-src 'none' Vary: Accept-Encoding, Accept, X-Requested-With X-RateLimit-Limit: 60 X-XSS-Protection: 0 Content-Length: 230 X-GitHub-Request-Id: 8558:2D54:4C33A76:9DF0E66:6420BFA6 Content-Type: application/json; charset=utf-8

{"message":"Must specify access token via Authorization header. https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param","documentation_url":"https://docs.github.com/v3/#oauth2-token-sent-in-a-header"} Expected: HTTP response with status 200 but: was <400 Bad Request [https://api.github.com/user?access_token=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] X-RateLimit-Resource: core Server: GitHub.com Access-Control-Allow-Origin: * X-RateLimit-Used: 2 X-Content-Type-Options: nosniff X-RateLimit-Reset: 1679871364 Date: Sun, 26 Mar 2023 21:56:54 GMT Referrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin X-Frame-Options: deny Strict-Transport-Security: max-age=31536000; includeSubdomains; preload Access-Control-Expose-Headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset X-RateLimit-Remaining: 58 X-GitHub-Media-Type: github.v3 Content-Security-Policy: default-src 'none' Vary: Accept-Encoding, Accept, X-Requested-With X-RateLimit-Limit: 60 X-XSS-Protection: 0 Content-Length: 230 X-GitHub-Request-Id: 8558:2D54:4C33A76:9DF0E66:6420BFA6 Content-Type: application/json; charset=utf-8

{"message":"Must specify access token via Authorization header. https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param","documentation_url":"https://docs.github.com/v3/#oauth2-token-sent-in-a-header"}> at org.takes.facets.fallback.TkFallback.error(TkFallback.java:234) at org.takes.facets.fallback.TkFallback.route(TkFallback.java:115) at org.takes.facets.fallback.TkFallback.access$000(TkFallback.java:54) at org.takes.facets.fallback.TkFallback$1.act(TkFallback.java:66) at org.takes.tk.TkWrap.act(TkWrap.java:61) at org.takes.tk.TkSslOnly.act(TkSslOnly.java:71) at org.takes.tk.TkWrap.act(TkWrap.java:61) at org.takes.http.BkBasic.print(BkBasic.java:108) at org.takes.http.BkBasic.accept(BkBasic.java:84) at org.takes.http.BkSafe$1.accept(BkSafe.java:51) at org.takes.http.BkWrap.accept(BkWrap.java:52) at org.takes.http.BkTimeable.accept(BkTimeable.java:89) at org.takes.http.BkParallel$1$1.run(BkParallel.java:89) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750) Caused by: java.lang.AssertionError: HTTP response status is not equal to 200: 400 Bad Request [https://api.github.com/user?access_token=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] X-RateLimit-Resource: core Server: GitHub.com Access-Control-Allow-Origin: * X-RateLimit-Used: 2 X-Content-Type-Options: nosniff X-RateLimit-Reset: 1679871364 Date: Sun, 26 Mar 2023 21:56:54 GMT Referrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin X-Frame-Options: deny Strict-Transport-Security: max-age=31536000; includeSubdomains; preload Access-Control-Expose-Headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset X-RateLimit-Remaining: 58 X-GitHub-Media-Type: github.v3 Content-Security-Policy: default-src 'none' Vary: Accept-Encoding, Accept, X-Requested-With X-RateLimit-Limit: 60 X-XSS-Protection: 0 Content-Length: 230 X-GitHub-Request-Id: 8558:2D54:4C33A76:9DF0E66:6420BFA6 Content-Type: application/json; charset=utf-8

{"message":"Must specify access token via Authorization header. https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param","documentation_url":"https://docs.github.com/v3/#oauth2-token-sent-in-a-header"} Expected: HTTP response with status 200 but: was <400 Bad Request [https://api.github.com/user?access_token=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] X-RateLimit-Resource: core Server: GitHub.com Access-Control-Allow-Origin: * X-RateLimit-Used: 2 X-Content-Type-Options: nosniff X-RateLimit-Reset: 1679871364 Date: Sun, 26 Mar 2023 21:56:54 GMT Referrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin X-Frame-Options: deny Strict-Transport-Security: max-age=31536000; includeSubdomains; preload Access-Control-Expose-Headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset X-RateLimit-Remaining: 58 X-GitHub-Media-Type: github.v3 Content-Security-Policy: default-src 'none' Vary: Accept-Encoding, Accept, X-Requested-With X-RateLimit-Limit: 60 X-XSS-Protection: 0 Content-Length: 230 X-GitHub-Request-Id: 8558:2D54:4C33A76:9DF0E66:6420BFA6 Content-Type: application/json; charset=utf-8

{"message":"Must specify access token via Authorization header. at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) at com.jcabi.http.response.RestResponse.assertStatus(RestResponse.java:111) at org.takes.facets.auth.social.PsGithub.fetch(PsGithub.java:154) at org.takes.facets.auth.social.PsGithub.enter(PsGithub.java:131) at org.takes.facets.auth.PsByFlag.enter(PsByFlag.java:107) at org.takes.facets.auth.PsChain.enter(PsChain.java:70) at org.takes.facets.auth.TkAuth.act(TkAuth.java:86) at org.takes.tk.TkWrap.act(TkWrap.java:61) at org.takes.facets.flash.TkFlash.act(TkFlash.java:108) at org.takes.tk.TkGzip$1.act(TkGzip.java:58) at org.takes.tk.TkWrap.act(TkWrap.java:61) at org.takes.tk.TkMeasured$1.act(TkMeasured.java:67) at org.takes.tk.TkWrap.act(TkWrap.java:61) at org.takes.tk.TkVersioned$1.act(TkVersioned.java:73) at org.takes.tk.TkWrap.act(TkWrap.java:61) at org.takes.tk.TkWithHeaders$1.act(TkWithHeaders.java:71) at org.takes.tk.TkWrap.act(TkWrap.java:61) at org.takes.facets.fallback.TkFallback.route(TkFallback.java:86) ... 14 more

mialkin avatar Mar 26 '23 22:03 mialkin

I have same problem too

lambdajon avatar Apr 03 '23 09:04 lambdajon

The same here

java.lang.IllegalStateException: [GET https://www.0crat.com/?PsByFlag=PsGithub&code=0bbc4460f0928c3e4bf1] failed in 347ms: HTTP response status is not equal to 200:
400 Bad Request [https://api.github.com/user?access_token=...]
X-RateLimit-Resource: core
Server: GitHub.com
Access-Control-Allow-Origin: *
X-RateLimit-Used: 1
X-Content-Type-Options: nosniff
X-RateLimit-Reset: 1681866638
Date: Wed, 19 Apr 2023 00:10:38 GMT
Referrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin
X-Frame-Options: deny
Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
Access-Control-Expose-Headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset
X-RateLimit-Remaining: 59
X-GitHub-Media-Type: github.v3
Content-Security-Policy: default-src 'none'
Vary: Accept-Encoding, Accept, X-Requested-With
X-RateLimit-Limit: 60
X-XSS-Protection: 0
Content-Length: 230
X-GitHub-Request-Id: 936E:9087:01E1:053B:643F317E
Content-Type: application/json; charset=utf-8

{"message":"Must specify access token via Authorization header. https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param","documentation_url":"https://docs.github.com/v3/#oauth2-token-sent-in-a-header"}
Expected: HTTP response with status 200
     but: was <400 Bad Request [https://api.github.com/user?access_token=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]
X-RateLimit-Resource: core
Server: GitHub.com
Access-Control-Allow-Origin: *
X-RateLimit-Used: 1
X-Content-Type-Options: nosniff
X-RateLimit-Reset: 1681866638
Date: Wed, 19 Apr 2023 00:10:38 GMT
Referrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin
X-Frame-Options: deny
Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
Access-Control-Expose-Headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset
X-RateLimit-Remaining: 59
X-GitHub-Media-Type: github.v3
Content-Security-Policy: default-src 'none'
Vary: Accept-Encoding, Accept, X-Requested-With
X-RateLimit-Limit: 60
X-XSS-Protection: 0
Content-Length: 230
X-GitHub-Request-Id: 936E:9087:01E1:053B:643F317E
Content-Type: application/json; charset=utf-8

{"message":"Must specify access token via Authorization header. https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param","documentation_url":"https://docs.github.com/v3/#oauth2-token-sent-in-a-header"}>
	at org.takes.facets.fallback.TkFallback.error(TkFallback.java:234)
	at org.takes.facets.fallback.TkFallback.route(TkFallback.java:115)
	at org.takes.facets.fallback.TkFallback.access$000(TkFallback.java:54)
	at org.takes.facets.fallback.TkFallback$1.act(TkFallback.java:66)
	at org.takes.tk.TkWrap.act(TkWrap.java:61)
	at org.takes.tk.TkSslOnly.act(TkSslOnly.java:71)
	at org.takes.tk.TkWrap.act(TkWrap.java:61)
	at org.takes.http.BkBasic.print(BkBasic.java:108)
	at org.takes.http.BkBasic.accept(BkBasic.java:84)
	at org.takes.http.BkSafe$1.accept(BkSafe.java:51)
	at org.takes.http.BkWrap.accept(BkWrap.java:52)
	at org.takes.http.BkTimeable.accept(BkTimeable.java:89)
	at org.takes.http.BkParallel$1$1.run(BkParallel.java:89)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:750)
Caused by: java.lang.AssertionError: HTTP response status is not equal to 200:
400 Bad Request [https://api.github.com/user?access_token=...]
X-RateLimit-Resource: core
Server: GitHub.com
Access-Control-Allow-Origin: *
X-RateLimit-Used: 1
X-Content-Type-Options: nosniff
X-RateLimit-Reset: 1681866638
Date: Wed, 19 Apr 2023 00:10:38 GMT
Referrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin
X-Frame-Options: deny
Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
Access-Control-Expose-Headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset
X-RateLimit-Remaining: 59
X-GitHub-Media-Type: github.v3
Content-Security-Policy: default-src 'none'
Vary: Accept-Encoding, Accept, X-Requested-With
X-RateLimit-Limit: 60
X-XSS-Protection: 0
Content-Length: 230
X-GitHub-Request-Id: 936E:9087:01E1:053B:643F317E
Content-Type: application/json; charset=utf-8

{"message":"Must specify access token via Authorization header. https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param","documentation_url":"https://docs.github.com/v3/#oauth2-token-sent-in-a-header"}
Expected: HTTP response with status 200
     but: was <400 Bad Request [https://api.github.com/user?access_token=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]
X-RateLimit-Resource: core
Server: GitHub.com
Access-Control-Allow-Origin: *
X-RateLimit-Used: 1
X-Content-Type-Options: nosniff
X-RateLimit-Reset: 1681866638
Date: Wed, 19 Apr 2023 00:10:38 GMT
Referrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin
X-Frame-Options: deny
Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
Access-Control-Expose-Headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset
X-RateLimit-Remaining: 59
X-GitHub-Media-Type: github.v3
Content-Security-Policy: default-src 'none'
Vary: Accept-Encoding, Accept, X-Requested-With
X-RateLimit-Limit: 60
X-XSS-Protection: 0
Content-Length: 230
X-GitHub-Request-Id: 936E:9087:01E1:053B:643F317E
Content-Type: application/json; charset=utf-8

{"message":"Must specify access token via Authorization header. https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param","documentation_url":"https://docs.github.com/v3/#oauth2-token-sent-in-a-header"}>
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at com.jcabi.http.response.RestResponse.assertStatus(RestResponse.java:111)
	at org.takes.facets.auth.social.PsGithub.fetch(PsGithub.java:154)
	at org.takes.facets.auth.social.PsGithub.enter(PsGithub.java:131)
	at org.takes.facets.auth.PsByFlag.enter(PsByFlag.java:107)
	at org.takes.facets.auth.PsChain.enter(PsChain.java:70)
	at org.takes.facets.auth.TkAuth.act(TkAuth.java:86)
	at org.takes.tk.TkWrap.act(TkWrap.java:61)
	at org.takes.facets.flash.TkFlash.act(TkFlash.java:108)
	at org.takes.tk.TkGzip$1.act(TkGzip.java:58)
	at org.takes.tk.TkWrap.act(TkWrap.java:61)
	at org.takes.tk.TkMeasured$1.act(TkMeasured.java:67)
	at org.takes.tk.TkWrap.act(TkWrap.java:61)
	at org.takes.tk.TkVersioned$1.act(TkVersioned.java:73)
	at org.takes.tk.TkWrap.act(TkWrap.java:61)
	at org.takes.tk.TkWithHeaders$1.act(TkWithHeaders.java:71)
	at org.takes.tk.TkWrap.act(TkWrap.java:61)
	at org.takes.facets.fallback.TkFallback.route(TkFallback.java:86)
	... 14 more

konstantin-agafonov avatar Apr 19 '23 00:04 konstantin-agafonov

I have the same issue,

ahkijimbi avatar May 12 '23 14:05 ahkijimbi