R Shiny: Error Pushing Repository 504 Status when deploying App to Shinyapps

情到浓时终转凉″ 提交于 2021-02-08 08:46:34

问题


When I run rsconnect::deployApp(), the process starts as usual, but it fails before it finishes deploying the app. The total size of the app is just below 1GB. Could it be possible that that is the cause?

I am sitting behind a corporate proxy, which seems like a plausible cause given the 504 error code, but I am able to upload other dashboards.

For that same reason I do not believe the issue to be related to the packages I am using, since I have uploaded dashboards using the same packages.

Uploading bundle for application: 216693...DONE
Deploying bundle: 989255 for application: 216693 ...
Waiting for task: 488988796
  building: Processing bundle: 989255
  building: Parsing manifest
  building: Building image: 987117
  building: Fetching packages
  building: Installing packages
  building: Installing files
  building: Pushing image: 987117
################################ Begin Task Log ################################ 
[2017-09-20T13:47:27.471530928+0000] Installing R package: viridisLite (0.2.0)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘viridisLite’ ...
* DONE (viridisLite)

TRUNCANTED FOR CLARITY

[2017-09-20T13:47:38.089874978+0000] Installing R package: reshape2 (1.4.2)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘reshape2’ ...
* DONE (reshape2)
[2017-09-20T13:47:38.310895197+0000] Installing R package: bindrcpp (0.2)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘bindrcpp’ ..################################# End Task Log ################################# 
Error: Unhandled Exception: Child Task 488988797 error: Unhandled Exception: Error pushing repository: Received HTTP code 504 while uploading layer: "<html>\r\n<head><title>504 Gateway Time-out</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>504 Gatewa

回答1:


I believe the issue was in the size of the upload, as soon as I reduced that, I was able to get my dashboard online.



来源:https://stackoverflow.com/questions/46324733/r-shiny-error-pushing-repository-504-status-when-deploying-app-to-shinyapps

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!