Giter Club home page Giter Club logo

Comments (9)

abutaha avatar abutaha commented on May 31, 2024

Try passing '-no-sign-reqs' and see if that works.

from aws-es-proxy.

nikhilo avatar nikhilo commented on May 31, 2024

Nope, that's a quick 401. Equivalent to me doing,
curl https://vpc-mydomain-randomcharacters.us-east-1.es.amazonaws.com/_cat/indices from the ec2 instance.

from aws-es-proxy.

abutaha avatar abutaha commented on May 31, 2024

ok, is the policy open to public or it is open to specific IP?

from aws-es-proxy.

nikhilo avatar nikhilo commented on May 31, 2024

The policy is allowing "*" to the IAM role of the instance, on which I'm running the proxy from

from aws-es-proxy.

DustinKLo avatar DustinKLo commented on May 31, 2024

I'm getting the same issue
did you ever find a workaround @nikhilo ? thanks 👍

from aws-es-proxy.

DustinKLo avatar DustinKLo commented on May 31, 2024

i made a fix for in my org's fork of this repo: hysds@c656b87

looks like the proxy parses the endpoint variable to get the values of region and service and region was being set to an empty string

the AWS Elasticsearch endpoint that we're using isn't what the code is expecting:
https://vpce-########-######vpce-#####-######.us-west-#.vpce.amazonaws.com

so i removed that logic and added an additional flag region to set it explicitly

from aws-es-proxy.

spicoflorin avatar spicoflorin commented on May 31, 2024

@DustinKLo Thank you very much for the fix! Can you please merge your changes in this repository?
@abutaha it will be very helpful for the community to include this fix into the releases.
Thanks

from aws-es-proxy.

abutaha avatar abutaha commented on May 31, 2024

i made a fix for in my org's fork of this repo: hysds@c656b87

looks like the proxy parses the endpoint variable to get the values of region and service and region was being set to an empty string

the AWS Elasticsearch endpoint that we're using isn't what the code is expecting:
https://vpce-########-######vpce-#####-######.us-west-#.vpce.amazonaws.com

so i removed that logic and added an additional flag region to set it explicitly

Thanks for pointing it out. Can you please submit a merge request?

from aws-es-proxy.

DustinKLo avatar DustinKLo commented on May 31, 2024

sure thing @abutaha
#84

from aws-es-proxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.