Skip to main content

Questions tagged [tornado]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
14 votes
2 answers
18k 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 ...
Sergei Basharov's user avatar
5 votes
2 answers
7k 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 ...
Paul's user avatar
  • 153
3 votes
1 answer
2k 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 ...
Jacob's user avatar
  • 197
3 votes
1 answer
3k 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. ...
PlaidFan's user avatar
  • 131
3 votes
1 answer
2k views

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....
384X21's user avatar
  • 131
2 votes
1 answer
837 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 ?
Vamsi Krishna B's user avatar
2 votes
1 answer
1k 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 ...
Marius Bjørnstad's user avatar
2 votes
0 answers
2k 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 ...
user309721's user avatar
1 vote
3 answers
4k 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 ...
Marconi's user avatar
  • 199
1 vote
1 answer
2k 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 ...
facha's user avatar
  • 1,408
1 vote
1 answer
1k 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 ...
DizzyDoo's user avatar
  • 145
1 vote
1 answer
358 views

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 ...
z0r's user avatar
  • 165
1 vote
1 answer
1k 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 ...
Michael's user avatar
  • 61
1 vote
1 answer
2k 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 ...
DjangoRocks's user avatar
1 vote
0 answers
154 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 ...
user3335011's user avatar
0 votes
2 answers
2k 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. ...
AME's user avatar
  • 135
0 votes
1 answer
843 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 ...
Yarin's user avatar
  • 1,376
0 votes
1 answer
360 views

Two proxypass applications behind apache

I am running two web applications, one is tornado-based and the other one is cherrypy based, behind apache on an opensuse server. Both run on different domains pointing to the same IP. The two ...
Alexander's user avatar
0 votes
1 answer
3k 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 ...
b10hazard's user avatar
  • 101
0 votes
1 answer
463 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 ...
Josh Buell's user avatar
0 votes
1 answer
563 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 ...
Phil W's user avatar
  • 1
0 votes
1 answer
2k views

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 ...
Super Hornet's user avatar
0 votes
0 answers
379 views

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 ...
eatdas's user avatar
  • 1
0 votes
1 answer
962 views

Nginx load balance with multi server and multi application instance

I use nginx to load balance my tornado app. There are 3 instances of the same application(listen on different port) on server_A. Below are my configuration. http { upstream myapp1 { ...
Song's user avatar
  • 3
0 votes
1 answer
2k 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 ...
laltin's user avatar
  • 51
0 votes
2 answers
4k 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?
ninjaneer's user avatar
  • 103
0 votes
1 answer
427 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 ...
Arenstar's user avatar
  • 3,610