Service name duplication in widget when running several services on the same port #392
Open
2 tasks done
Labels
bug
Something isn't working
Is there an existing issue for this?
Are you sure that this bug is related to this DDEV Integration Plugin?
Enter your error report ID (If available)
No response
Describe the bug
When running several services within one DDEV project, using the same port, the names in the widget are being duplicated.
The issue is caused by URL.hashCode(), which resolves the host name to an IP address which in turn is then being used for the hash, resulting in the same hash for both hostnames.
Migrating the code, or at the very last the hash calculation, to URI would resolve the issue.
See https://bugs.java.com/bugdatabase/view_bug.do?bug_id=4434494 for reference.
Steps to reproduce
ddev add-on get ddev/ddev-solr
ddev start
Additional context
No response
The text was updated successfully, but these errors were encountered: