The tag has no usage guidance.

learn more… | top users | synonyms

9
votes
1answer
7k views

How to set Debug mode in Tornado?

I googled and found a hint that I should set debug mode in Tornado so that it could reload files automatically on update. But I didn't find an exact string to insert. I tried different combinations ...
3
votes
2answers
3k views

HTTP streaming server behind nginx?

I'm trying to set up a HTTP streaming server I wrote with Tornado and python. Basically, it keeps the connection alive and occasionally flushes information out. It's a bit like long polling, except ...
2
votes
1answer
1k views

Why do I need Nginx to run Tornado Web Server (python) [closed]

Maybe this is a stupid question. So stupid that I can't find the answer in tutorials or documentation. I want to make some tests with Tornado Web Server. As far as I can see in the examples, Tornado ...
2
votes
1answer
584 views

can I use Tornado without any proxy?

I am using Tornado for a small blog which may get around 500-1k visits / day , is it ok to use tornado without any proxy in front of it ?
2
votes
1answer
1k views

Nginx Tornado Combination Causing 502 Bad Gateway Errors

We are facing a problem with inconsistent 502 errors and tracking down the reasons has been a very frustrating exercise. We can reproduce the problem by sending several simultaneous requests quickly. ...
2
votes
0answers
87 views

Nginx and Cross Subdomain Cookies

TLDR: How to share cookies between subdomains for a backend application sever that I cannot "configure" using nginx as a proxy - some magical combination of proxy_*? A tornado web server is running ...
1
vote
1answer
1k views

nginx as proxy to tornado: 301 redirect

I have nginx working as a frontend to tornado (which is running an app based on Flask framework). Nginx is running on 8080 port. However when Flask generates a "301 redirect" it does not take into ...
1
vote
1answer
622 views

Windows Server Running Python Web App Slowly Draining Memory

I'm running Windows Server 2008 RC2, and upon it only running a Python Flask web app through Tornado, with static files served by nginx. That's it. I did recently install Server Density though, and ...
1
vote
1answer
1k views

Starting Tornado App on a domain name ( without the port number )

May I know how do I start a Tornado app on a production server ( ubuntu 10.04 ) and access it on a domain name without the port number in the domain name? Here's the background information The ...
0
votes
2answers
891 views

How can I serve static files with nginx but use a slightly different url for tornado?

I have a directory structure I want to serve, that contains files as binary and some meta-information about them as json. for some directories, I need to compute some things on the fly and serve that. ...
0
votes
3answers
2k views

Is it better to serve a django site using nginx + apache or nginx + tornado?

I have a django site which is ajax intensive currently running on apache mod_wsgi with nginx as a reverse proxy. Now is it better to retain my current setup or is it better to run my django site on ...
0
votes
1answer
622 views

Can't get basic web servers working on EC2 RedHat

I'm trying to get some basic Python web servers (Flask, Tornado) turned up on the EC2. On the Amazon-flavored Linux AMI (Amazon Linux AMI 2013.03.1) they work no problem, but the same web servers ...
0
votes
1answer
250 views

Gittornado with Nginx fails to push and pull

I'm making a simple website to host git repositories, much like github. I'm using Gittornado to handle git Smart HTTP requests, and it works perfectly locally; I can clone, push, pull, etc... But ...
0
votes
1answer
453 views

Scalability problem (Tornado). Can't figure it out, holding up launch

Thanks guys, any ideas/insight are appreciated b/c this is driving me crazy. Problem: Only about 3 or 4 users can use the server simultaneously before app grinds to a halt. Currently we see massive ...
0
votes
0answers
19 views

Initial page load slow using Tornado server and Apache2 for SSL reverse proxy

I'm experiencing long delays (generally minutes, but sometimes the page never loads) for my website (en-real.com) if the site is being accessed by a new user (browser). If the new browser refreshes ...
0
votes
0answers
19 views

How can I run websocket server on Virtual Private Server that use apache?

I am trying to implement a websocket server on a virtual private server that uses apache. This websocket socket server is tornado which is written in python Testing websocket on my local machine I ...
0
votes
0answers
16 views

Tornado server on port 80/443, any issues?

I would like to run an application based on the Tornado web server in a production environment. The performance requirements are low. Since I don't need a load balancer, I wonder if it is OK to have ...
0
votes
0answers
79 views

tmux permission denied error

I have got ubuntu 12.04 server with python tornado http application server. Tornado server started in tmux('python server.py'). It works fine with tmux session from my laptop. After disconnecting ...
0
votes
1answer
951 views

How to redirect nginx to tornado backend running https

I have nginx running as my main web server but I also have a tornado server running https at 127.0.0.1:8888 (same machine as the nginx server). I would like to redirect traffic to my tornado server ...
0
votes
1answer
328 views

Supervisord, Flask, Tornado (exit status 1; not expected)

Having some issues getting supervisor to run my tornado apps. I have a REST API built with Flask, using Tornado to try and serve it. Problem I am having is that when I try to run with supervisor it ...
0
votes
1answer
409 views

nginx high response time when used as reverse proxy

I have a news site which is run by 4 tornado instances and nginx as reverse proxy in front of them. Pages are rendered and cached in memcached so generally the response time is less than 3 ms ...
0
votes
1answer
734 views

Uninstall Tornado Web Server?

I'm new to installing server frameworks but I don't see anywhere in the documentation of http://www.tornadoweb.org/ of how to uninstall this. Do I just remove the build folder?
0
votes
1answer
399 views

Tornado Startup Management

I have an application written to run in Tornado server.. The application should start on boot, and if it fails ( be restarted ) Currently I am using supervisord, but i wanted to see what else is ...