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 release/cuttlefish into main #1039

Merged
merged 3 commits into from
Dec 2, 2024
Merged

Merge release/cuttlefish into main #1039

merged 3 commits into from
Dec 2, 2024

Conversation

iamyulong
Copy link
Member

No description provided.

iamyulong and others added 3 commits November 29, 2024 12:55
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 4498e16 into main Dec 2, 2024
22 checks passed
Copy link

github-actions bot commented Dec 2, 2024

Phylum Report Link

Copy link

sonarqubecloud bot commented Dec 2, 2024

Copy link

github-actions bot commented Dec 2, 2024

Docker tags
docker.io/radixdlt/private-babylon-node:pr-1039
docker.io/radixdlt/private-babylon-node:4a4fd07565
docker.io/radixdlt/private-babylon-node:sha-4a4fd07

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.

1 participant