Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge main into develop #1040

Merged
merged 10 commits into from
Dec 2, 2024
Merged

Merge main into develop #1040

merged 10 commits into from
Dec 2, 2024

Conversation

iamyulong
Copy link
Member

No description provided.

dhedey and others added 10 commits November 28, 2024 13:44
The equals() implementation of URL resolves the hostname into an IP address.
When multiple URLs are mapped into the same IP (especially with 1.1.1.1 DNS server),
it will cause the following exception:
```
java.lang.IllegalArgumentException: Multiple entries with same key
```
The equals() implementation of URL resolves the hostname into an IP
address. When multiple URLs are mapped into the same IP (especially with
1.1.1.1 DNS server), it will cause the following exception:

```
java.lang.IllegalArgumentException: Multiple entries with same key: https://ifconfig.co/ip=Success(x.x.x.x) and https://www.trackip.net/ip=Success(x.x.x.x)
        at com.google.common.collect.ImmutableMap.conflictException(ImmutableMap.java:377)
        at com.google.common.collect.ImmutableMap.checkNoConflict(ImmutableMap.java:371)
        at com.google.common.collect.RegularImmutableMap.checkNoConflictInKeyBucket(RegularImmutableMap.java:241)
        at com.google.common.collect.RegularImmutableMap.fromEntryArrayCheckingBucketOverflow(RegularImmutableMap.java:132)
        at com.google.common.collect.RegularImmutableMap.fromEntryArray(RegularImmutableMap.java:94)
        at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:573)
        at com.google.common.collect.ImmutableMap$Builder.buildOrThrow(ImmutableMap.java:601)
        at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:588)
        at com.radixdlt.p2p.hostip.NetworkQueryHostIp.get(NetworkQueryHostIp.java:191)
```
@iamyulong iamyulong merged commit 2057ecf into develop Dec 2, 2024
25 checks passed
Copy link

github-actions bot commented Dec 2, 2024

Phylum Report Link

Copy link

github-actions bot commented Dec 2, 2024

Docker tags
docker.io/radixdlt/private-babylon-node:pr-1040
docker.io/radixdlt/private-babylon-node:c8b6976800
docker.io/radixdlt/private-babylon-node:sha-c8b6976

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants