title: shinyapps deployment; Error: Unhandled Exception: Child Task
body: <p>Smashing my head against a brick wall trying to deploy a shiny app on a new laptop. I am testing things out with the template app in Rstudio (File|New Project|New Directory|Shiny Web Application for the Old Faithful Geyser Data (so very simple and requires no additional packages).</p>
  
  <p>I have tried on different networks, updated RStudio (to 0.99.896) and R (to 3.2.5). Persistently get this message... </p>
  
  <pre><code>Preparing to deploy application...DONE
  Uploading bundle for application: 96234...DONE
  Deploying bundle: 427331 for application: 96234 ...
  Waiting for task: 180491371
    building: Building image: 420289
    building: Building package: digest
  ################################ Begin Task Log ################################ 
  ################################# End Task Log ################################# 
  Error: Unhandled Exception: Child Task 180491373 error: Unhandled Exception: HTTP 599: Connection closed
  Execution halted
  </code></pre>
  
  <p>Following suggestions from <a href="https://stackoverflow.com/a/30033208/513463">here</a> I tried to change my adminstrative language to US English (through the control panel in Windows). However, despite uninstalling/reinstalling R and Rstudio, restatrting the computor, R seems to be fixed on <code>English_United Kingdom</code>...</p>
  
  <pre><code>R version 3.2.5 (2016-04-14)
  Platform: i386-w64-mingw32/i386 (32-bit)
  Running under: Windows &gt;= 8 (build 9200)
  
  locale:
  [1] LC_COLLATE=English_United Kingdom.1252  LC_CTYPE=English_United Kingdom.1252   
  [3] LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C                           
  [5] LC_TIME=English_United Kingdom.1252    
  
  attached base packages:
  [1] stats     graphics  grDevices utils     datasets  methods   base     
  
  loaded via a namespace (and not attached):
  [1] rsconnect_0.4.2.2 tools_3.2.5       RCurl_1.95-4.8    RJSONIO_1.3-0    
  [5] digest_0.6.9      bitops_1.0-6 
  </code></pre>
  
  <p>I then tried to set the locale in R directly:</p>
  
  <pre><code>&gt; Sys.setlocale("LC_ALL","English")
  [1] "LC_COLLATE=English_United States.1252;LC_CTYPE=English_United States.1252;LC_MONETARY=English_United States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252"
  </code></pre>
  
  <p>which works but <code>shinyapps:::systemLocale</code> seems unmoved...</p>
  
  <pre><code>&gt; options(shinyapps.locale.cache=FALSE)
  &gt; 
  &gt; shinyapps:::systemLocale()
  Detecting system locale ... en_GB
  [1] "en_GB" 
  </code></pre>
  
  <p>and I still cannot get the app deployed to shinyapps.io. I have a few students with the same problems when trying to deploy on the shinyapps site with their PCs. Any suggestions appreciated.</p>