Elastica: Trailing slash in host causes issues
When i use elastica, and configure my host to be elastic.dev everything is fine, but if i use elastic.dev/ i’m unable to connect.
Maybe this normal for elastic, but it wasn’t something i expected. My best guess would be that an rtrim on the host could fix this.
About this issue
- Original URL
- State: open
- Created 4 years ago
- Comments: 16 (14 by maintainers)
Thanks for taking a stab at it @jhuebner79 ! Left a comment / question there.
The Dockerfile seems indeed to be an other issue. Happy to discuss further in a separate issue or PR 😉
@ruflin I have no idea if I’m able to do that, would be my first look into the code altogether, and I’m more of a ops person. But I’ll try, maybe with the help of a colleague.
Trailing dots in hostnames, very well a valid choice, also cause 403 from the remote end, when using signed requests towards AWS ElasticSearch domains.
Why is it a valid choice? To reduce DNS load in busy clusters as described here: https://medium.com/cloutive/production-ready-eks-coredns-configuration-6fea830606f8 - Solution 3
Should I create a separate issue? @ruflin