Comments (12)
Yeah sorry, it seems it never happened again.
from dnsbl_exporter.
@lapo-luchini again, sorry for the delay. I made a branch and hopefully included a fix, not sure if you want/can test: #119
I will merge it later and release a new version. If you happen to run into other issues, please run the process with --log.debug
. It should help me catch what the problem is. My guess here is that some kind of (temporary?) failure in DNS resolution or record lookup made it crash.
from dnsbl_exporter.
I'm testing 9088e8b, thanks!
Will report if I find bugs (or it crashes again).
from dnsbl_exporter.
Whops, sorry, you said to try the branch and I was trying head… switching now to this:
% git checkout origin/fix-nil-pointer
% git describe
v0.6.0-alpha3
% dist/dnsbl_exporter_freebsd_amd64/dnsbl-exporter --log.debug
from dnsbl_exporter.
Can you share your config?
from dnsbl_exporter.
I used the full file from matteocorti as rbls.ini
and I have two servers in my targets.ini
.
from dnsbl_exporter.
@lapo-luchini looking at this again too. I am assuming the crash still happens. I'll see if I can re-do the code and make it more easier to handle failures.
from dnsbl_exporter.
https://github.com/Luzilla/dnsbl_exporter/releases/tag/v0.6.0-alpha1
from dnsbl_exporter.
Happened again (after quite a few straight days of running):
ERRO[430346]
ERRO[431246]
ERRO[431846]
ERRO[432147]
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x465473]
goroutine 257028 [running]:
github.com/Luzilla/dnsbl_exporter/collector.(*Rbl).lookup(0xc0001f76e0, {0xc00002a5d0, 0x12}, {0xc0000293d0, 0xc})
/home/andxor/dnsbl_exporter/collector/rbl.go:163 +0x36f
github.com/Luzilla/dnsbl_exporter/collector.(*Rbl).Update.func1({0xc00002a5d0, 0x12}, {0xc0000293d0, 0xc})
/home/andxor/dnsbl_exporter/collector/rbl.go:181 +0x12f
created by github.com/Luzilla/dnsbl_exporter/collector.(*Rbl).Update
/home/andxor/dnsbl_exporter/collector/rbl.go:176 +0x18a
% git describe
0.5.0-53-g9088e8b
from dnsbl_exporter.
@lapo-luchini Appreciate the persistence! 💪
from dnsbl_exporter.
@lapo-luchini Hope no news is good news? 😅
from dnsbl_exporter.
Yeah sorry, it seems it never happened again.
Thank you!
from dnsbl_exporter.
Related Issues (20)
- Stray "foo" HOT 4
- Support multi-target exporter pattern HOT 4
- Release v0.6.0 HOT 1
- remove logrus (for slog)
- update urfav/cli v2
- roadmap HOT 3
- Exporter suddenly stop working. HOT 33
- Ability to use list with many resolvers in --config.dns-resolver HOT 20
- Is there any chance that we could get more information about the block reason? HOT 8
- Add an ability to use the certain black list to query only domain names HOT 1
- Helm Chart HOT 5
- scraping metrics with a dockerized prometheus HOT 8
- Registry broken HOT 2
- run as non-root HOT 1
- helm repo needs authentication HOT 5
- BC: replace `blacklisted` with `blocklisted` or similar
- Support modules configuration HOT 18
- Support IPv6 HOT 5
- Chart not built 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 dnsbl_exporter.