Questions tagged [tornado]
26 questions
15
votes
2 answers
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 similar to this application.settings = {"Debug":…
![](../../users/profiles/53975.webp)
Sergei Basharov
- 379
- 2
- 3
- 13
5
votes
2 answers
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 the connection isn't broken by the server.
Is it…
![](../../users/profiles/79357.webp)
Paul
- 153
- 1
- 3
3
votes
1 answer
Why do I need Nginx to run Tornado Web Server (python)
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 can be started in, for instance, port 8000 and…
![](../../users/profiles/57658.webp)
Jacob
- 197
- 9
3
votes
1 answer
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. The problem is that several is only in the…
![](../../users/profiles/90078.webp)
PlaidFan
- 131
- 3
2
votes
1 answer
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 it directly accessible on ports 80 and 443. Is…
![](../../users/profiles/164661.webp)
Marius Bjørnstad
- 173
- 6
2
votes
0 answers
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 on "127.0.0.1:9999/ipython" that I cannot configure…
![](../../users/profiles/309721.webp)
user309721
- 21
- 2
2
votes
1 answer
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 ?
![](../../users/profiles/50451.webp)
Vamsi Krishna B
- 203
- 3
- 9
1
vote
1 answer
Site being accessed with wrong protocol?
I'm running a Tornado web server that only accepts SSL connections, and only listens on port 443. Connecting to it in a browser over HTTPS works well.
I'm seeing messages like this in my logs:
ERROR [tornado.general] Uncaught exception
[...]
File…
![](../../users/profiles/76090.webp)
z0r
- 165
- 2
- 9
1
vote
0 answers
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 the page, the content is displayed and everything…
![](../../users/profiles/349601.webp)
user3335011
- 21
- 2
1
vote
1 answer
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 account the 8080 port. I get a redirect to 80 port,…
![](../../users/profiles/40428.webp)
facha
- 1,298
- 2
- 16
- 26
1
vote
1 answer
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 was concerned to see that, ever so slowly, my…
![](../../users/profiles/55973.webp)
DizzyDoo
- 145
- 1
- 5
1
vote
1 answer
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 location of my tornado app:…
![](../../users/profiles/66544.webp)
DjangoRocks
- 201
- 1
- 2
- 6
1
vote
3 answers
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 tornado with nginx as a reverse proxy and load…
![](../../users/profiles/69738.webp)
Marconi
- 199
- 3
- 14
0
votes
1 answer
Tornado configuration for self signed certification authentication
I'm going to implement a web app which requires clients to authenticate by client certificates. The web app is running behind a load balancer which talks to internal services on none https way.
I've configured my tornado with the following:
if…
![](../../users/profiles/225723.webp)
Super Hornet
- 103
- 7
0
votes
0 answers
websocketserver behind nginx and apache
How is it possible to establish a websocket connection through nginx and apache, where both act as reverse proxies.
The system is setup with apache on the main host and a tornado webapplication in a container.
My apache config d is as…
![](../../users/profiles/229494.webp)
eatdas
- 1
- 1