Comments (3)
@conectado I was able to replicate this with just a ping to github.com
and a reload of github.com on a slow network. I'm not sure how many DNS queries ping github.com
is supposed to generate, but if the underlying network is slow or dropping them (e.g. hotspot), then somehow this fills the buffer, and then we get log spammed with the error message in the title.
Questions:
- Why is
Too many DNS queries
printed in each iteration of the eventloop it seems? Shouldn't this correspond to when the actual DNS query was attempted? - Can we dedup the queries by host?
- Can we increase the buffer much higher? 1,000 or even 5,000 might be more appropriate if we're actually filling up the buffer with valid queries.
When I see this error, the peer is dropped, so we have to get a new resource_intent
for things to work again.
from firezone.
- Why is
Too many DNS queries
printed in each iteration of the eventloop it seems? Shouldn't this correspond to when the actual DNS query was attempted?
It should only be per query but if the browser generates many DNS queries, we will see it a lot.
- Can we dedup the queries by host?
Should be possible, we would need to buffer all incoming queries and answer them once the result comes back.
- Can we increase the buffer much higher? 1,000 or even 5,000 might be more appropriate if we're actually filling up the buffer with valid queries.
Definitely. It was set to a pretty arbitrary number. We should probably also decrease the timeout from 60s to something shorter. Even on a slow network, a DNS query should resolve within 5(?)s?
from firezone.
This seemed to be a weird bug --
Steps to reproduce:
- Connect firezone (macOS)
- Keep browser closed
- ping github.com
- roam networks judiciously
I seemed to be able to hit it with just those steps, which doesn't seem to make sense.
from firezone.
Related Issues (20)
- Add monitor alerts to Linux Client Monitor VM HOT 1
- Early access program -> Beta program
- bug(windows GUI): Everything that should say "Firezone" says "firezone-client-gui"
- bug(Linux GUI Client): Update notifications aren't shown because we don't have a way to show clickable notifications on Linux
- Disable "Traffic filtering" instead of hiding it entirely
- 04/24 update
- Attempt to order the `ASWebAuthenticationSession` window front on macOS
- linux Client: Network connectivity / DNS change events
- prod gateways can't connect to prod relays HOT 12
- GeoIP database broken? HOT 1
- Send emails for sync warnings / errors
- "Network unreachable" on Linux even when IPv6 address exists HOT 2
- Some apps on Android don't use Connlib DNS sentinels HOT 6
- Tune "Failed to decapsulate incoming packet" log
- doc(linux GUI): install script HOT 3
- bug(gui-client/linux): deep links acting strange in Ubuntu test VMs HOT 2
- bug(gui-client/linux): The Tauri GUI Client doesn't work on Ubuntu 24.04 HOT 3
- Wrong actor name is shown in confirmation dialog when adding to a manual group
- Send all info from portal onUpdateResources to clients
- bug(gui-client/linux): 2nd instance of the GUI opening sometimes HOT 1
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 firezone.