Comments (5)
Hi @bol-van
Would you have any logs that jobs some exceptions? When that happen, can you use doh-client to test if the server is still functional?
What version of doh-proxy are you using?
from doh-proxy.
- firefox works fine with https://github.com/jedisct1/rust-doh indefinitely long
- with this proxy firefox stop resolving in 5..10 minutes
- when problem occurs connection to doh-proxy is still established but looks like its unable to serve any more queries
- doh-client works. i guess its because it creates new connection. old connection is hang, new connections work
- even with --debug paremeter doh-proxy does not output anything useful
- version 0.0.9
from doh-proxy.
Thanks @bol-van
I suppose you are using doh-proxy directly, without nginx or anything in front?
I would recommend you front it with nginx, I did not find any great HTTP2 library for python back in the days. There is something that does work for a PoC (which this project is), but not really great (albeit this may have changed).
from doh-proxy.
Yes, i was using it directly.
I guess http2 is not mandatory.
My current config is lighttpd+rust-doh
lighttpd terminates tls, then proxy to rust-doh
lighttpd does not support http2 at all
from doh-proxy.
Firefox will try HTTP2 for sure, but yeah, the HTTP2.0 server that comes with doh-proxy is definitely not production grade :D.
Put it behind your favorite web server, spin multiple services and proxy the traffic to them :)
Thanks for reporting, but given the current state of HTTP2 libraries in python, it is not worth it to fix. I think having doh-proxy behind a proxy makes more sense, you can also run the service totally unprivileged this way.
from doh-proxy.
Related Issues (20)
- Enhancement to support ECH standard for SNI HOT 1
- [httpproxy] Exception in callback _SelectorDatagramTransport._read_ready() HOT 3
- [httpproxy] loglevel (--level) is ignored in some parts of the code HOT 3
- [client] query google's doh failed HOT 1
- Unhandled exception ConnectionResetError: Cannot write to closing transport HOT 3
- Cannot run doh-stub on ArchLinux, NPN extension not supported HOT 5
- Python 3.7 support? HOT 4
- ValueError: IPv6 addresses are 16 bytes long HOT 2
- Too many open files HOT 5
- [doh-httpproxy] logging to a file option? HOT 2
- doh-stub & doh-client crash on Debian 10 HOT 2
- asyncio.async invalid syntax error HOT 2
- doh-stub does not work on Windows 10 HOT 3
- Cannot bind if no --listen-address parameter HOT 2
- Connection leak if asyncio TimeoutError happens HOT 5
- 'NoneType' object is not subscriptable HOT 1
- aioh2 not compatible with Python 3.7 HOT 2
- Queries made with doh-client lack accept header? HOT 1
- connection timeout for TCP queries HOT 3
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 doh-proxy.