Skip to content
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

Cant connect searchbox to local elasticsearch #145

Open
itsmudassir opened this issue Jan 7, 2022 · 2 comments
Open

Cant connect searchbox to local elasticsearch #145

itsmudassir opened this issue Jan 7, 2022 · 2 comments

Comments

@itsmudassir
Copy link

these are my setting:
const appbaseClientConfig = {
url: "localhost:9200",
app: "imdb",
credentials: "",
};

it sends a request to : POST http://localhost:9200/imdb/_reactivesearch.v3

but elasticsearch local does not recognize /_reactivesearch.v3 endpoint and throws 500 error .
please tell me how to connect a local installation of elasticsearch . the proxy server provided by appbase doesnt work either.

@cucrui
Copy link

cucrui commented May 22, 2022

these are my setting: const appbaseClientConfig = { url: "localhost:9200", app: "imdb", credentials: "", };

it sends a request to : POST http://localhost:9200/imdb/_reactivesearch.v3

but elasticsearch local does not recognize /_reactivesearch.v3 endpoint and throws 500 error . please tell me how to connect a local installation of elasticsearch . the proxy server provided by appbase doesnt work either.

Has your problem been solved? I met the same problem.
My setting is
<SearchBase index="xxxxx" credentials="elastic:xxxxxx" url="https://localhost:9200" // appbaseConfig={{ // recordAnalytics: true, // enableQueryRules: true, // userId: 'jon@appbase.io', // customEvents: { // platform: 'ios', // device: 'iphoneX' // } // }} >

@lilonpro
Copy link

I am facing the same problem. We need to set enableAppbase to false, however seem it is not supported here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants