-
Notifications
You must be signed in to change notification settings - Fork 129
"Invalid Host" error when running in the browser #59
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
Comments
Did you ever find the solution to this problem? I am having the same problem. |
So this may not apply to other people, but I did find the issue for me. I was trying to work with an AWS ECS Container to automatically run a migration. Up till this point I have only ever used it locally with docker-compose. I ran into your issue where I would get the following error.
If you look at line 27, the check of My fix was just toying with it and I found the fix. Up till this point, I dont know why, but there is something weird going on when |
I'm trying to get http-aws-es working in a browser application using the elasticsearch-js library. My code is currently looking like this but I'm getting a "TypeError: invalid host" in the browser console.
`
let AWS = require('aws-sdk')
Did anyone get a similar setup working in the browser and what am I doing wrong?
The text was updated successfully, but these errors were encountered: