Questions tagged [cheroot]
10 questions
3
votes
1 answer
How to run a Flask app on CherryPy WSGI server (Cheroot) using HTTPS?
I am running a Python 2.7 Flask app on CherryPy Cheroot WSGI server usinh HTTP now as below.
from cheroot.wsgi import Server as WSGIServer
from cheroot.wsgi import PathInfoDispatcher as WSGIPathInfoDispatcher
from MyFlaskApp import app
d =…

Kay
- 1,235
- 2
- 13
- 27
2
votes
0 answers
How to forward http to https in cherrypy native web server
I've a Cherrypy website that is running well on https, I can run the same server on http port without forward like this:
from cherrypy._cpserver import Server
server2 = Server()
server2.socket_host = "123.123.123.123"
server2.socket_port =…

uak
- 183
- 3
- 9
2
votes
1 answer
Trying to deploy a Flask app on CherryPy server
I was trying to deploy my Flask app on CherryPy server. I liked its simplistic and minimalistic nature.
So I PIP'ed CherryPy like below
pip install CherryPy-15.0.0-py2.py3-none-any.whl
and wrote script like below -very common suggested by many…

Kay
- 1,235
- 2
- 13
- 27
2
votes
1 answer
bottlepy throws TypeError after changing server to cheroot
When I tried to switching from the bottlepy standard server to cheroot with SSL and pass options I got:
Traceback (most recent call last):
File "C:/Users/kig0pkt12/PycharmProjects/dreadnought/main.py", line 9, in
run(app,…

Aoki Ahishatsu
- 495
- 1
- 6
- 15
1
vote
0 answers
Try to broadcast video to multiple clients using cheroot flask and opencv
I am trying to create a video streaming from my Raspberry Pi to multiple clients. Flask does not support WSGI server so i use the cheroot.wsgi Server. i have created a ddns server using noip in order to broadcast the video stream over the internet.…

Anagnostou John
- 498
- 5
- 14
0
votes
1 answer
cheerypy server is timing out
I am running a CherryPy Local server. But After sometime server is timing out. I am new to CherryPy server and I found in error.log this message and unable to solve this issue.
CherryPy==18.8.0
Cherrot==8.6.0
Python==3.8.1
Traceback (most recent…

OneTouchForHeight
- 121
- 2
- 10
0
votes
1 answer
Python Cherrypy DECRYPTION_FAILED_OR_BAD_RECORD_MAC
Good day,
I've an app that is uses Cherrypy to server a simple website. From time to time I get DECRYPTION_FAILED_OR_BAD_RECORD_MAC error. I've never seen an issue my self while testing, this only obvious in logs.
[26/Nov/2021:02:50:39] ENGINE Error…

uak
- 183
- 3
- 9
0
votes
1 answer
CherryPy performance tuning
CherryPy consumes about 15-20% CPU on a single-core Raspberry Pi 1st generation when idle, i.e. no requests being processed at all. To reduce this, I tried various configuration adjustments, but to no avail. How can I reduce this?
>>> import…

Blindfreddy
- 622
- 6
- 12
0
votes
1 answer
How to improve the performance of webdav
I am using WsgiDAV which is a generic and extendable WebDAV server based on WSGI which is using cheroot HTTP server.
The issue that i am facing is that the upload and download speed to/from the webdav is very slow. On windows it is about .33 mbps…

user1063760
- 39
- 7
0
votes
1 answer
Server Flask app with cheroot server results to error in HTTPServer.tick after each request
I'm trying to serve a Flask (v1.1.2) wsgi application using cheroot server of CherryPy (v18.6.0) and after each request executed via Postman or browser I'm getting the following exception in my console. I'm running python v3.8.5
Error in…

Panagiotis
- 201
- 3
- 16