Comments (11)
Hi, WanIP entry is supposed to work transparently in such cases (personally verified).
It's more likely your VPN administrators preventing outgoing DNS requests. It's known to be blocked in some private networks (see #81).
Could you try to disable DNS requests in configuration (set dns_query
fields to false
for instance) and check the behavior again ?
PS : in the future, please fill an issue template out, at least very minimally, this could help debugging process.
Bye 👋
from archey4.
See this documentation section :
/* ... */
{
"type": "WAN_IP",
// ...
//
// Below are settings relative to IPv4/IPv6 public addresses retrieval.
// I hope options are self-explanatory.
// You may set `dns_query` (or `http_url`) to `false` to disable them.
// You may directly set `ipv4` or `ipv6` fields to `false` to completely disable them.
//
// ...
"ipv4": {
"dns_query": "myip.opendns.com",
"dns_resolver": "resolver1.opendns.com",
"dns_timeout": 1,
"http_url": "https://v4.ident.me/",
"http_timeout": 1
},
"ipv6": {
"dns_query": "myip.opendns.com",
"dns_resolver": "resolver1.opendns.com",
"dns_timeout": 1,
"http_url": "https://v6.ident.me/",
"http_timeout": 1
}
}
],
/* ... */
from archey4.
Apologies! I will use the issue template in the future
I have changed the config as follows with the same behavior
{
"type": "WAN_IP",
"ipv4": {
"dns_query": false,
"dns_resolver": "resolver1.opendns.com",
"dns_timeout": 1,
"http_url": "https://v4.ident.me/",
"http_timeout": 1
},
"ipv6": {
"dns_query": false,
"dns_resolver": "resolver1.opendns.com",
"dns_timeout": 1,
"http_url": "https://v6.ident.me/",
"http_timeout": 1
}
}
from archey4.
Fair enough, I would then bet on a SOCKS proxy required to access Internet from the network you are connected to.
Do you configure your Web browser in any way once connected ?
Could you run curl https://ident.me/
in a terminal and paste the error output here ?
Have you already tried some things around http_proxy
environment variable for instance ?
BR
from archey4.
I do not configure my web browser to connect to any proxy, nor have i messed with the http_proxy environment variable. My VPN is with Mullvad with their client app. using the curl command gives me this output
curl: (7) Failed to connect to ident.me port 443: Connection refused
from archey4.
Well with these details I'd opt for a Mullvad's IP blacklist from ident.me provider, maybe some guys abused it and now it's blocked.
Could you try against ifconfig.co for instance ?
from archey4.
If urllib
standard library allows us to catch such an error as a ConnectionRefused
or something maybe we'd be able to properly handle it in Archey so as to not show "No Address" in such cases.
from archey4.
gotcha, ill see what I can do with the blacklist on that end. doing a curl command with ifconfig.co does correctly output my external IP address
from archey4.
Glad we sorted this out. I'll close here as it's not an issue related to Archey itself. Maybe we should be asking @pcarrier for Ident.ME's hardening solutions (maybe a Fail2Ban HTTP jail) ?
Bye 👋
from archey4.
FWIW none, it’s a tiny nginx service running on a single instance for the longest time without many issues. Some client IPs burst because it’s used in the data center, for configuration management I assume. I don’t retain logs and I don’t think about it often.
from archey4.
Well thanks for your quick feedback ! Maybe something blocked on Mullvad side then ? I fear we won't know for sure. Have you recently tried again @Ian-Polito ?
from archey4.
Related Issues (20)
- [BUG] Can't get value of subfeature in0_input: Can't read HOT 3
- [BUG] ERROR: archey.test.entries.test_archey_packages (unittest.loader._FailedTest) HOT 5
- [BUG] archey4 can't handle filesystems with spaces HOT 3
- [BUG] [GPU] Avoid multiple `system_profiler` log display HOT 2
- [BUG] Uptime reported incorrectly on macOS HOT 2
- [BUG] in README HOT 1
- Temperature invalid on AMD platform HOT 5
- [FEATURE] Change the Color from the Output HOT 5
- [BUG] Very verbose GPU output HOT 5
- [BUG] On macOS, total disk size is reported incorrectly for APFS drives HOT 9
- [BUG]: In a WSL environment, Ubuntu is reported as Windows HOT 3
- [BUG] Nonfatal warning "WARNING: [root] One entry (misses or) uses an invalid `type` field ('command')." HOT 7
- [BUG] `CPU` not detected on Raspberry Pi 4 HOT 4
- [BUG] `logo_style` ignored from configuration HOT 3
- [Question] What do you means with "iStats" for Highly recommended packages on macOS ? HOT 2
- [BUG] `GPU` not detected on Raspberry Pi 4 HOT 33
- [BUG] uptime: /dev/ttys010: No such file or directory HOT 3
- [FEATURE] An option to disable link local IPv6 addresses (fe80::) in LAN IP output HOT 2
- [BUG] critical error on macOS today HOT 5
- [macOS] ASCII art and entries aren't colored HOT 10
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 archey4.