Comments (7)
Hm it doesn't do that for me, could you try to compile bjoern using make debug
and paste the debug output here?
Maybe also try wget/curl/whatever.
Could also try some of the other example script, for instance tests/hello.py
and tests/filewrapper.py
.
Thanks!
from bjoern.
Hello Jonas,
I tested the others files but I receive the same.
I can't do any kind of wget/curl because i'm without Internet connection in my notebook right now. I'm using one smartphone right now.
Setup.py build: http://bpaste.net/show/21839/
Make debug: http://bpaste.net/show/21840/
Tree: http://bpaste.net/show/21841/
Thank you
from bjoern.
Okay you seem to have a pretty bad Python installation (no python2-config
?!)
Try this
rm -r build
CFLAGS='-D DEBUG' python setup.py install
That's equivalent to make debug
. Then try again with the browser. Which browser(s) did you test?
(btw I'm off to bed now so don't expect an answer for the next 10 hours or so)
from bjoern.
My python 2.7.1+ is default from Ubunto 10.04
There aren't any python2-config
I get the same infinity wait
Cya!
from bjoern.
CFLAGS=...
must be on the very same line as setup.py install
, just like in my previous post. It sets the CFLAGS
environment variable for the setup.py
call.
If that works, you should get a
Listening on 0.0.0.0:8080...
line after starting bjoern. Then send your requests from the browser. I need to see that log (everything from the Listening on ...
line).
from bjoern.
I'm having the same issue, and here's what I see after compiling with the Debug flag:
% python tests/hello.py
Listening on 0.0.0.0:8080...
[DEBUG Req 0] Accepted client 127.0.0.1:51942 on fd 6
It hangs forever, here's the output from curl -v
% curl http://localhost:8080 -v
* About to connect() to localhost port 8080 (#0)
* Trying ::1... Connection refused
* Trying 127.0.0.1... connected
* Connected to localhost (127.0.0.1) port 8080 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.21.4 (universal-apple-darwin11.0) libcurl/7.21.4 OpenSSL/0.9.8r zlib/1.2.5
> Host: localhost:8080
> Accept: */*
>
from bjoern.
That's really weird. Could you try out some of the other test cases as well? empy.py
and keep-alive-behaviour.py
in particular, but you can also try out other tests.
from bjoern.
Related Issues (20)
- Bjoern 200-300 rps vs gunicorn 500/600 rps HOT 1
- site don't work
- pip install fails - missing http_parser.h HOT 2
- How to trigger server restart on source file changes? HOT 1
- Build fails on M1 Mac using Homebrew HOT 9
- calling from command line like gunicorn in Profcfile HOT 2
- Build bjoern error in mac m1 with command `pip3 install --global-option=build_ext --global-option="-I/opt/homebrew/include" bjoern` HOT 6
- Production use HOT 1
- Remove flask example HOT 5
- pip install not working on ubuntu 20.04 HOT 5
- Compilation terminated - fatal error: http_parser.h: No such file or directory HOT 1
- Extending to asgi HOT 7
- pip install error HOT 1
- Autostart after changes HOT 1
- broken pipe after running for a while HOT 3
- symbol not found in flat namespace '_ev_cleanup_start'
- pip installation fails (bjoern/request.h:4:10: fatal error: 'ev.h' file not found) HOT 2
- Apple Silicon build not supported. HOT 7
- ev.h not found; command /usr/bin/gcc exit failed with exit code 1 HOT 3
- Processed request response stuck when workers are not available HOT 20
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bjoern.