Coder Social home page Coder Social logo

alino-mongo2es's People

Contributors

alino avatar bompi88 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

alino-mongo2es's Issues

HTTP Basic Authentication not supported for ES (401 - Not Authorized)

I'm trying to use http basic authentication to ES using the following format: https://es_user:es_password@es_url:es_port, but it's cutting out the authentication credentials before sending the resquest, which ends up returning 401.

It could work if you add an auth string option to ES obj when instanciating Mongo2ES.

options = {
  ES: {
    host: // String - url 
    auth: // String - 'username:password'       
  }
}

And then on every request you would foward the auth param to the request:

HTTP.get(ES.host, {data: '/', auth: ES.auth});
```javascript

getESAuth is not defined

I get a bunch of these errors when I run meteor. The app launches and it connects to elasticsearch server though. What is this all about???

`I20190501-15:07:02.303(-4)? Exception in added observe/observeChanges callback: ReferenceError: getESAuth is not defined

I20190501-15:07:02.303(-4)? at Object.added (packages/alino_mongo2es/lib/mongo2es.coffee:15:24)

I20190501-15:07:02.303(-4)? at _CachingChangeObserver.added (packages/minimongo/local_collection.js:1305:28)

I20190501-15:07:02.303(-4)? at added (packages/minimongo/local_collection.js:707:29)

I20190501-15:07:02.303(-4)? at runWithEnvironment (packages\meteor.js:1286:24)

I20190501-15:07:02.304(-4)? at packages\meteor.js:1299:14

I20190501-15:07:02.304(-4)? at packages/mongo/observe_multiplex.js:182:30

I20190501-15:07:02.304(-4)? at Array.forEach ()

I20190501-15:07:02.304(-4)? at Function..each..forEach (packages\underscore.js:139:11)

I20190501-15:07:02.304(-4)? at Object.task (packages/mongo/observe_multiplex.js:176:9)

I20190501-15:07:02.304(-4)? at Meteor._SynchronousQueue.SQp._run (packages\meteor.js:917:16)

I20190501-15:07:02.305(-4)? at packages\meteor.js:894:12`

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.