-
Notifications
You must be signed in to change notification settings - Fork 135
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
[BUG] - Not connected #14
Comments
Hey, i'm sorry that you have issues with elasticvue. Can you please answer some follow up questions?
Thanks |
Thanks for quick response.
It work with simple curl request
If any question about this, you are welcome |
Thanks. Your problem is that you did not enable If you want to start your elasticsearch cluster via docker then you can also enable cors via environment variables, like so:
|
I try as you say to run docker container with cors. But the situation the same. In this case GET request receive response with Basic Auth. I see it elasticsearch-head, curl. elasticvue make analog request and response but it still says that cant connect. |
Anyway, i want try use elasticvue to understand is it support work with https protocol with ignore ssl verify (like curl with option |
If you want to skip certificate verification then you have to import your CA certificate into the browser. Elasticvue uses the browsers API's to query your cluster so it depends on the browser to trust the certificate. You can use elasticvue with an elasticsearch cluster that uses ssl and authorization. An Example:
If the browser does not trust your CA then you will now get a certificate error in your console. There are three ways to fix that:
|
@EvgeniyMakhmudov i am closing this issue for now because of inactivity. Feel free to reopoen (or open a new issue) if you still have a problem with elasticvue. |
i already typed big message) |
Sorry, i thought i had answered all your questions above. Did you try to setup your cluster as i mentioned in #14 (comment) ? |
So, i return for this question.
Maybe it can be possible to do the same with elasticvue? |
Thanks for clarifying your question :) The elasticsearch-head extension for firefox (and chrome) works without configuring CORS because you give them permission to intercept every request you make to any website in your browser. See these lines in the extension manifest and the explanation by google.
I will think about adding an exception for local clusters by using permissions like this:
so you could at least use the extension without configuring CORS if you use a local cluster, but for anything not reachable via Thanks! |
I think it is a logical error in how the browsers treat the plugins. The browsers should consider requests originated in the browser as requests from |
Description
Do not connect to ES. Try to use extansion in FF and Chrome, result the same.
Steps To Reproduce
List the steps to reproduce your problem:
Screenshots
Environment (please include the following information):
Additional context
using another tools like elasticsearch-head extension work properly.
The text was updated successfully, but these errors were encountered: