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

gcs_copy_object returns 503 error #180

Open
TJLSmith0831 opened this issue Aug 7, 2023 · 2 comments
Open

gcs_copy_object returns 503 error #180

TJLSmith0831 opened this issue Aug 7, 2023 · 2 comments

Comments

@TJLSmith0831
Copy link

Attempting to use gcs_copy_object and it returns a 503 error. Every other function works smoothly and I'm on googleCloudStorageR version 0.7.0.9000. Here are the inputs:

gcs_copy_object(
        source_object         = "XXXX/XXXX_log.json",
        destination_object  = "XXXX/XXXX_log_temp.json",
        source_bucket        = "model-logs",
        destination_bucket = "model-logs"
    )

This is the exact console output:

Request failed [503]. Retrying in 1 seconds...
Request failed [503]. Retrying in 1.3 seconds...
ℹ 2023-08-07 12:19:51 > Request Status Code:  503
ℹ 2023-08-07 12:19:52 > Trying again:  1  of  5
ℹ 2023-08-07 12:19:54 > Trying again:  2  of  5
ℹ 2023-08-07 12:19:58 > Trying again:  3  of  5
ℹ 2023-08-07 12:20:07 > Trying again:  4  of  5
ℹ 2023-08-07 12:20:24 > Trying again:  5  of  5
ℹ 2023-08-07 12:20:56 > All attempts failed.
Error in abort_http(status_code, error) : 
  http_503 We encountered an internal error. Please try again.
@MarkEdmondson1234
Copy link
Collaborator

MarkEdmondson1234 commented Aug 24, 2023

Is this a repeatable error or happens every time? It may be a temporary thing? If its consistent may I see your sessionInfo()

@joranE
Copy link

joranE commented Jun 12, 2024

I'm seeing the same behavior. I'm using a service account with the role of Owner. My session info is:

R version 4.4.0 (2024-04-24)
Platform: aarch64-apple-darwin20
Running under: macOS Sonoma 14.2.1

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib 
LAPACK: /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libRlapack.dylib;  LAPACK version 3.12.0

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

time zone: America/Denver
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] reactablefmtr_2.0.0       lubridate_1.9.3           forcats_1.0.0             purrr_1.0.2               tidyr_1.3.1              
 [6] tibble_3.2.1              tidyverse_2.0.0           googleCloudStorageR_0.7.0 stringr_1.5.1             rvest_1.0.4              
[11] fs_1.6.4                  readr_2.1.5               ggplot2_3.5.1             htmltools_0.5.8.1         sparkline_2.0            
[16] reactable_0.4.4           dplyr_1.1.4               qs_0.26.3                 arrow_16.1.0              here_1.0.1               
[21] shinycssloaders_1.0.0     bslib_0.7.0               shiny_1.8.1.1            

loaded via a namespace (and not attached):
 [1] tidyselect_1.2.1    farver_2.1.2        fastmap_1.2.0       janitor_2.2.0       promises_1.3.0      stringfish_0.16.0   digest_0.6.35      
 [8] timechange_0.3.0    mime_0.12           lifecycle_1.0.4     magrittr_2.0.3      googleAuthR_2.0.2   compiler_4.4.0      rlang_1.1.3        
[15] sass_0.4.9          tools_4.4.0         utf8_1.2.4          yaml_2.3.8          dataui_0.0.1        askpass_1.2.0       labeling_0.4.3     
[22] htmlwidgets_1.6.4   bit_4.0.5           curl_5.2.1          xml2_1.3.6          pkgload_1.3.4       withr_3.0.0         grid_4.4.0         
[29] fansi_1.0.6         xtable_1.8-4        colorspace_2.1-0    scales_1.3.0        cli_3.6.2           crayon_1.5.2        ragg_1.3.2         
[36] generics_0.1.3      RcppParallel_5.1.7  rstudioapi_0.16.0   httr_1.4.7          tzdb_0.4.0          commonmark_1.9.1    cachem_1.1.0       
[43] RApiSerialize_0.1.3 parallel_4.4.0      assertthat_0.2.1    vctrs_0.6.5         jsonlite_1.8.8      hms_1.1.3           bit64_4.0.5        
[50] systemfonts_1.1.0   crosstalk_1.2.1     jquerylib_0.1.4     glue_1.7.0          reactR_0.5.0        stringi_1.8.4       gtable_0.3.5       
[57] later_1.3.2         munsell_0.5.1       pillar_1.9.0        rappdirs_0.3.3      openssl_2.2.0       R6_2.5.1            textshaping_0.4.0  
[64] rprojroot_2.0.4     vroom_1.6.5         memoise_2.0.1       snakecase_0.11.1    gargle_1.5.2        httpuv_1.6.15       Rcpp_1.0.12        
[71] zip_2.3.1           usethis_2.2.3       pkgconfig_2.0.3    ```

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

3 participants