Uploading a file > 1GB using the RStudio Server IDE (tested on Debian stretch) gives an error message: Unexpected response from server
Smaller files just work fine.
Looking into /var/log/syslog gives the following message:
Tested also on previous versions of RStudio (1.2, 1.0.153) on either the Docker rocker containers or the AMIs from http://www.louisaslett.com/RStudio_AMI.
For the free service, there's a 1GB hard limit on the total of all resources, including both data and packages which would produce this. See sean post.
This is true for RStudio Cloud service, but I think the OP is talking about rstudio-server installed on a AWS EC2 instance.
@mannau are you using a reverse proxy like nginx or apache? (i.e. do you access RStudio using something like http://your.domain:8787 or http://your.domain/rstudio/?)
This issue happens also without a reverse proxy on ec2/localhost so I do not think the connection/proxy has anything to do with it.
The problem is definitely on the RStudio side and can be reproduced using the public docker/rocker container (eg rocker/rstudio) and the AWS AMI by louis aslett.
On the browser side I tested everything with Chrome (v. 74.0.3729.169) on a Mac.