I figured it out, I had to go under EC2 to Load Balancers and set the load balancer timeout to a higher value. Thanks for helping me troubleshoot!
MKuenzi
@MKuenzi
Posts made by MKuenzi
-
RE: 504 Gateway Time-out With Long Report (1000+ pageS)
-
RE: 504 Gateway Time-out With Long Report (1000+ pageS)
OK, I've tried it locally and you are right it works without any issues.
I am using Amazon Elastic Beanstalk and a modified jsreport Docker image.
-
RE: 504 Gateway Time-out With Long Report (1000+ pageS)
Hi Jan,
So I think this may be a JS Report problem actually. I ran through increasing all the nginx timeouts with no luck, so I disabled nginx and ran it straight through to jsreport. I got a 504 Gateway Timeout. But then, I went a step further and replaced my sample document data in the web interface with what I'm trying to render. Lo and behold, I get a 504 Gateway Timeout in the web interface
Any ideas?
Thanks,
Mike -
RE: 504 Gateway Time-out With Long Report (1000+ pageS)
Yes, I think you right, sorry!
UPDATE: So I am posting 2.4 MBs of data to nginx. I have my client_max_body_size set higher than that so that is not the problem.
Once I perform this post the server seems to go down on me. It takes a few minutes to happen, perhaps it's a RAM thing? I'll have to look into it more...
-
504 Gateway Time-out With Long Report (1000+ pageS)
Hi, I am getting a 504 Gateway Time-out error when sending a request with a large amount of data. As you can see I am posting to the JS Report Server using the .NET API. I tried using the Timeout property on RenderOptions, it didn't seem to help. I also tried to increase the reportTimeout as specified in my jsreport.config.json, that didn't seem to help either, any ideas?
jsreport.Client.JsReportException: 'Unable to render template. <html> <head><title>504 Gateway Time-out</title></head> <body> <center><h1>504 Gateway Time-out</h1></center> </body> </html> '
-
RE: HeadlessChrome error: ERROR: The requested object does not exist.
@vadnala I think this is when I ended up moving the jsreport server to Amazon EBS and it worked fine. So I never figured it out, I just moved to a new environment, I'm using Docker in conjunction with jsreport and deploying with EBS.
-
RE: Docker Web GUI broken in 2.10?
After a day of tinkering around with this I realize this is an issue I am running into with Amazon Elastic Beanstalk. I tried to do everything to invalidate the Dockerfile (I'm not pulling the image from a docker repository to avoid the additional complexity, I am simply uploading to EBS from my jsreport folder). I tried creating a new environment under my existing EBS application, that didn't work.
The best solution seems to be to just start a new application up from scratch in EBS, which did work on the first try.
Thanks Jan
-
Docker Web GUI broken in 2.10?
Hi I am deploying my jsreport server using docker and AWS Elastic Beanstalk and I am seeing this after updating to 2.10 in the Web GUI, which results in an infinite spinner:
My Dockerfile looks like this:
FROM jsreport/jsreport:2.9.0 COPY ["data", "data"] COPY ["jsreport.config.json", "jsreport.config.json"] # we want to preserve the chrome version of 2.7.1 and just update the jsreport RUN npm install jsreport@2.10.0 && npm cache clean -f USER root CMD ["bash", "/app/run.sh"] EXPOSE 80
Am I doing something wrong or is there an issue with jsreport?
Thanks,
Mike -
RE: Customizing nginx request size limit in docker image
I am using Amazon Elastic Beanstalk to host the jsreport docker image. I didn't realize Elastic Beanstalk itself was using nginx, so I will resolve it by looking at the Amazon documentation.
Thanks for pointing me in the right direction!
-
Customizing nginx request size limit in docker image
Hello,
Using Docker, I was wondering what the easiest way is to customize the nginx
client_max_body_size SIZE;
config, to allow for bigger requests when using the docker image.I assume I might have to use a COPY command or something to overwrite the nginx configuration inside of the docker image but I figured I would run it by you to see if I can do something easier.
Thanks,
Mike