Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i can't get time spent per commit #99

Open
lokize opened this issue Jun 23, 2024 · 0 comments
Open

i can't get time spent per commit #99

lokize opened this issue Jun 23, 2024 · 0 comments

Comments

@lokize
Copy link

lokize commented Jun 23, 2024

Hi guys, I can't use this feature of Hakatime because I have an authorization error. I am using Personal Access Tokens (classic).

2024-06-23 19:24:12  (StatusCodeException (Response {responseStatus = Status {statusCode = 404, statusMessage = "Not Found"}, responseVersion = HTTP/1.1, responseHeaders = [("Server","github.com"),("Date","Sun, 23 Jun 2024 22:25:22 GMT"),("Content-Type","application/json; charset=utf-8"),("Transfer-Encoding","chunked"),("X-GitHub-Media-Type","github.v3"),("x-github-api-version-selected","2022-11-28"),("X-RateLimit-Limit","60"),("X-RateLimit-Remaining","32"),("X-RateLimit-Reset","1719182604"),("X-RateLimit-Used","28"),("X-RateLimit-Resource","core"),("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"),("Access-Control-Allow-Origin","*"),("Strict-Transport-Security","max-age=31536000; includeSubdomains; preload"),("X-Frame-Options","deny"),("X-Content-Type-Options","nosniff"),("X-XSS-Protection","0"),("Referrer-Policy","origin-when-cross-origin, strict-origin-when-cross-origin"),("Content-Security-Policy","default-src 'none'"),("Vary","Accept-Encoding, Accept, X-Requested-With"),("Content-Encoding","gzip"),("X-GitHub-Request-Id","E26B:B8A1E:7796BAF:791B8C3:6678A0D2")], responseBody = (), responseCookieJar = CJ {expose = []}, responseClose' = ResponseClose, responseOriginalRequest = Request {
2024-06-23 19:24:12   host                 = "api.github.com"
2024-06-23 19:24:12   port                 = 443
2024-06-23 19:24:12   secure               = True
2024-06-23 19:24:12   requestHeaders       = [("Authorization","<REDACTED>"),("User-Agent","Hakatime Server"),("Accept","application/json")]
2024-06-23 19:24:12   path                 = "/repos/lokize/myproject/commits"
2024-06-23 19:24:12   queryString          = "?per_page=81"
2024-06-23 19:24:12   method               = "GET"
2024-06-23 19:24:12   proxy                = Nothing
2024-06-23 19:24:12   rawBody              = False
2024-06-23 19:24:12   redirectCount        = 10
2024-06-23 19:24:12   responseTimeout      = ResponseTimeoutDefault
2024-06-23 19:24:12   requestVersion       = HTTP/1.1
2024-06-23 19:24:12   proxySecureMode      = ProxySecureWithConnect
2024-06-23 19:24:12 }
2024-06-23 19:24:12 }) "{\"message\":\"Not Found\",\"documentation_url\":\"https://docs.github.com/rest/commits/commits#list-commits\",\"status\":\"404\"}") 
2024-06-23 19:24:12 172.20.0.1 - - [23/Jun/2024:22:24:12 +0000] "GET /api/v1/commits/myproject/report?repoName=myproject&repoOwner=lokize&user=lokize&limit=80 HTTP/1.1" 500 - "http://localhost:8080/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
2024-06-23 19:24:13 172.20.0.1 - - [23/Jun/2024:22:24:12 +0000] "GET /nunito-latin-400italic.831dc305.woff2 HTTP/1.1" 200 - "http://localhost:8080/index.3978c52b.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant