joona / aws-es-proxy Goto Github PK
View Code? Open in Web Editor NEWSimple Local AWS ElasticSearch Service proxy
Simple Local AWS ElasticSearch Service proxy
Hello
My AWS config file is setup with 2 profiles, one of then is "assumeRole" and "MFA":
[default]
output = json
region = eu-west-1
[profile dev]
role_arn = arn:aws:iam::xxxxxxxxx:role/admin
source_profile = default
output = json
region = eu-west-1
mfa_serial = arn:aws:iam::xxxxxxxxxxx:mfa/[email protected]
[profile prod]
output = json
region = eu-west-1
When using the --profile dev, it crashes:
Error while getting AWS Credentials.
{ Error: connect ENETUNREACH 169.254.169.254:80
at Object._errnoException (util.js:1022:11)
at _exceptionWithHostPort (util.js:1044:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
code: 'ENETUNREACH',
errno: 'ENETUNREACH',
syscall: 'connect',
address: '169.254.169.254',
port: 80 }
Can we have an option to not display request into the console ?
I use this component to migrate data from one source to a target (2 instances of the proxy launched on 2 different ports), and using Elasticdump tool, but it slows down as it has to write both requests in terminal (GET/POST)...
I get timeout errors when behind my company proxy.
Version 1.0.3 is causing problem here:
Unexpected error: Object.entries is not a function
TypeError: Object.entries is not a function
at /usr/lib/node_modules/aws-es-proxy/index.js:42:26
at send.handleRequest (/usr/lib/node_modules/aws-es-proxy/index.js:20:10)
at /usr/lib/node_modules/aws-es-proxy/index.js:97:22
at next (native)
at onFulfilled (/usr/lib/node_modules/aws-es-proxy/node_modules/co/index.js:65:19)
at /usr/lib/node_modules/aws-es-proxy/node_modules/co/index.js:54:5
at co (/usr/lib/node_modules/aws-es-proxy/node_modules/co/index.js:50:10)
at IncomingMessage.<anonymous> (/usr/lib/node_modules/aws-es-proxy/index.js:96:5)
at emitNone (events.js:80:13)
at IncomingMessage.emit (events.js:179:7)
Pinning to 1.0.2 solves the issue. Using node 5.12.0.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.