dustin / gopro

Tools for making the most out of GoPro Plus.
http://dustin.sallings.org/2020/04/29/gopro-plus.html
BSD 3-Clause "New" or "Revised" License
91 stars 12 forks source link

Internal Server Error using Docker image #37

Closed qdii closed 2 months ago

qdii commented 2 months ago

Steps to reproduce:

$ docker run -it --entrypoint /bin/sh dustin/gopro:master
$ gopro auth
Enter email: victor.lavaud@gmail.com
Enter password:
# gopro sync -v
D: Reading auth token from DB
gopro: HttpExceptionRequest Request {
  host                 = "api.gopro.com"
  port                 = 443
  secure               = True
  requestHeaders       = [("Content-Type","application/json"),("Accept","application/vnd.gopro.jk.media+json; version=2.0.0"),("Authorization","<REDACTED>"),("Accept-Language","en-US,en;q=0.9"),("Origin","https://plus.gopro.com"),("Referer","https://plus.gopro.com/"),("User-Agent","github.com/dustin/gopro-plus 0.6.0.3")]
  path                 = "/media/search"
  queryString          = "?fields=captured_at,created_at,file_size,id,moments_count,ready_to_view,source_duration,type,token,width,height,camera_model&order_by=created_at&per_page=100&page=0"
  method               = "GET"
  proxy                = Nothing
  rawBody              = False
  redirectCount        = 10
  responseTimeout      = ResponseTimeoutDefault
  requestVersion       = HTTP/1.1
  proxySecureMode      = ProxySecureWithConnect
}
 (StatusCodeException (Response {responseStatus = Status {statusCode = 500, statusMessage = "Internal Server Error"}, responseVersion = HTTP/1.1, responseHeaders = [("Content-Type","application/json; charset=UTF-8"),("Content-Length","46"),("Connection","keep-alive"),("Date","Tue, 09 Apr 2024 21:06:59 GMT"),("Server","nginx"),("X-Request-Id","eac39c6e21170d95324ce85cb5d23f31"),("X-Runtime","0.021540"),("Vary","Accept-Encoding, Origin"),("Access-Control-Allow-Origin","https://plus.gopro.com"),("Access-Control-Allow-Credentials","true"),("Strict-Transport-Security","max-age=31536000; includeSubDomains"),("X-Cache","Error from cloudfront"),("Via","1.1 08c5e904e2f0226b2d9c1417f32b12f2.cloudfront.net (CloudFront)"),("X-Amz-Cf-Pop","ZRH50-C1"),("X-Amz-Cf-Id","u_3ctzxlejLhyrAsBAbk0FZpMYmGHtIHj1c9AbSwtgN7OO5pOQyEIg==")], responseBody = (), responseCookieJar = CJ {expose = []}, responseClose' = ResponseClose, responseOriginalRequest = Request {
  host                 = "api.gopro.com"
  port                 = 443
  secure               = True
  requestHeaders       = [("Content-Type","application/json"),("Accept","application/vnd.gopro.jk.media+json; version=2.0.0"),("Authorization","<REDACTED>"),("Accept-Language","en-US,en;q=0.9"),("Origin","https://plus.gopro.com"),("Referer","https://plus.gopro.com/"),("User-Agent","github.com/dustin/gopro-plus 0.6.0.3")]
  path                 = "/media/search"
  queryString          = "?fields=captured_at,created_at,file_size,id,moments_count,ready_to_view,source_duration,type,token,width,height,camera_model&order_by=created_at&per_page=100&page=0"
  method               = "GET"
  proxy                = Nothing
  rawBody              = False
  redirectCount        = 10
  responseTimeout      = ResponseTimeoutDefault
  requestVersion       = HTTP/1.1
  proxySecureMode      = ProxySecureWithConnect
}
}) "{\"status\":500,\"error\":\"Internal Server Error\"}")
dustin commented 2 months ago

Huh. 500 isn't super helpful. There might just be something broken on their end.

qdii commented 2 months ago

Indeed solved itself the next day, must have been a problem on their side.