Questions tagged [tornado]
27 questions
14
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":…

Sergei Basharov
- 379
- 2
- 4
- 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…

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…

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…

PlaidFan
- 131
- 1
- 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…

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…

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 ?

Vamsi Krishna B
- 213
- 3
- 9
2
votes
1 answer
How to configure streamlit to serve an app to www?
streamlit app is running in a centOS stream 8 virtual machine. Access from intranet is fine but fails with "streamlit please wait.. page" when accessed from www via subDomain.companyDomain.com
Tested R shiny app and a static page from same virtual…

384X21
- 121
- 6
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…

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…

user3335011
- 21
- 2
1
vote
1 answer
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 appears to be failing on import of other…

Michael
- 61
- 1
- 8
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,…

facha
- 1,368
- 2
- 18
- 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…

DizzyDoo
- 145
- 1
- 6
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:…

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…

Marconi
- 199
- 3
- 14