Comments (8)
To run, the "test" actually goes out onto the public Internet and requires that:
1. Your firewalls (Local & Corporate) allows TCP traffic on port 53.
2. The hsgincubator test BIND deployment that hosts the CERTS is up and
running. Or you alter the test to call an alternative BIND host. I typically
run the test against one I run locally.
The test should therefore only be run on demand... and was not part of the
default unit tests runs.
We still haven't figured out how (and where) to test this - open problem and
solutions are welcome. The unit test exists so that at least the developer who
changes the code can run some default test code...
Original comment by [email protected]
on 19 Aug 2010 at 2:56
from nhin-d.
Arien - could you check your ports etc, as noted in the comment above. Thanks.
Original comment by [email protected]
on 20 Aug 2010 at 12:46
from nhin-d.
No port issue. The problem is transient, and happens on random DNS lookups --
it's not specific to one test. I'd suspect it was timeout, but the tests
execute in 5 seconds, and the timeout is 10 seconds (10000).
Based on the stack trace (see below), the problem is in ValidateRequestID, but
the stack trace isn't more informative than that.
-----
Here's the stack trace:
DnsResolverTests.BasicResolverTests.ResolveCert("nhin.whinit.org.hsgincubator.co
m") [FAIL]
DnsResolver.DnsProtocolException : Exception of type 'DnsResolver.DnsProtocolException' was thrown.
Stack Trace:
c:\source\nhin-d\csharp\dns\DnsClient.cs(774,0): at DnsResolver.DnsClient.ExecuteTCP()
c:\source\nhin-d\csharp\dns\DnsClient.cs(346,0): at DnsResolver.DnsClient.Resolve(DnsRequest request)
c:\source\nhin-d\csharp\dns\DnsClient.cs(454,0): at DnsResolver.DnsClient.ResolveCERT(String domain)
c:\source\nhin-d\csharp\dns\DnsClient.cs(498,0): at DnsResolver.DnsClient.ResolveCERTFromNameServer(String domain,
IPAddress nameserver)
c:\source\nhin-d\csharp\dns\DnsClient.cs(486,0): at DnsResolver.DnsClient.ResolveCERTFromNameServer(String domain)
c:\source\nhin-d\csharp\unittests\dns\BasicResolverTests.cs(69,0): at DnsResolverTests.BasicResolverTests.ResolveC
ert(String domain)
Original comment by [email protected]
on 20 Aug 2010 at 5:19
from nhin-d.
Original comment by [email protected]
on 20 Aug 2010 at 5:19
from nhin-d.
Original comment by [email protected]
on 20 Aug 2010 at 5:20
- Added labels: Priority-Critical
- Removed labels: Priority-Medium
from nhin-d.
Cool. That helps!
I'll try to investigate this by Monday. Can't promise though - too much to get
done.
Original comment by [email protected]
on 20 Aug 2010 at 3:56
from nhin-d.
This should be fixed now (hopefully).
- Cleaned up the request ID and other handling
- Tested against several public DNS servers
Tests will continue to fail for some internal firewalls, which block TCP Port
53. There, you will get a "connection refused" type of error.
Please bounce this back if you continue to see issues.
Original comment by [email protected]
on 23 Aug 2010 at 8:18
- Changed state: Fixed
from nhin-d.
Original comment by [email protected]
on 23 Aug 2010 at 9:13
from nhin-d.
Related Issues (20)
- Unknown error occurred while processing DATA. While using James 3Beta 4(direct-project-stock-3.0.1.tar.gz) with default config
- Error while dalivery maily when recived/send from/to external domain HOT 8
- Error while dalivery maily when recived from local/external domain Unable to access inbox
- Can't add trust bundle using Oracle as DB backend
- Java RI does not support p7c extensions from the AIA extension HOT 4
- Add support for DNS sub-zone delegation.
- How can we use domain.com instead of using sub-domain for sending and receiving emails by using direct project. HOT 1
- Java RI monitoring not matching final-recipeint field HOT 1
- LDAP resolver does not respect Priority during sort HOT 3
- config-service: Use build-helper-maven-plugin to set classpath to java files generated by jaxws-maven-plugin.
- Ignore IntelliJ configuration files and war directories
- Java RI failing DCDTv3 discovery testcase: D16 - Certificate discovery in LDAP based on SRV weight value HOT 2
- If a certificate issuer is the anchor certificate, resolveIntermediateIssuers will run anyway, causing unnecessary delays
- Memory Leak when using AddressManager configuration and EnableDomainSearch equal to true
- MDN Monitor can send DSN messages days after
- Add SRV management to DNS Responder in .NET RI
- XD fails with multiple recipients
- XDR Web Service is picking up multiple recipients from previous messages on the same thread HOT 3
- log out function of config-ui does not word HOT 1
- "Message Vanished" notification for all the receipts if the email is failed to deliver to some of the receipts. And there are many duplication notifications.
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 nhin-d.