Hi,
I’m trying to use the OpenSearch reporting cli tool to get reports on my email. Am using an SMTP server to send and report. am getting the following error.
It seems that your password of OpenSearch is not correct, you can check that or escape some characters like !
for the password, like this:
abc\!abbc\&
my password is Jsuah0032.com
but it is unable to go to the dashboard.
it just downloads the login page picture and sends mail.
here are the command results
@gaobinlong
Please help me in this regard.
@mohsin11 Seems that the specified url is not valid, can you add a http port to the url and try again?
my OpenSearch dashboard is running on the 443 port that’s why I have not mentioned the port.
What’s the original url of the short url you specified? If you can download the reporting file successfully by specifying the original url, it’s also ok with the short url.
but it is not reaching to my dashboard. it just just download the login page and sent mail.
even my login credentials are valid.
@gaobinlong please guide me
am getting the same error while using reporting CLI unable to solve it
I’m experiencing the same error did you find a solution?
anyi7
September 28, 2023, 4:49pm
13
Same error here, only send a email with the landing page if I don’t specified the authentication type.
opened 07:24PM - 29 Sep 23 UTC
bug
**[OpenSearch reporting cli tool error]
When trying to generate and send a … report via email I get the error message " Invalid username or password"
Credentials are ok.
` /bin/opensearch-reporting-cli -u https://localhost/goto/something -a basic -c user:pass -e smtp -s email@gmail.com -r email@gmail.com -f png --smtpusername email@gmail.com --smtppassword pass --smtphost smtp.gmail.com --smtpport 465`
![result4](https://github.com/opensearch-project/OpenSearch/assets/20802754/d76a84db-52f9-44f0-9cbc-f8a402c3601f)
This is the result when the authentication type is none:
` /bin/opensearch-reporting-cli -u https://localhost/goto/something -c user:pass -e smtp -s email@gmail.com -r email@gmail.com -f png --smtpusername email@gmail.com --smtppassword pass --smtphost smtp.gmail.com --smtpport 465`
![resu;t3](https://github.com/opensearch-project/OpenSearch/assets/20802754/4179cc59-94fa-41c3-9183-546f80285fd3)
![result2](https://github.com/opensearch-project/OpenSearch/assets/20802754/7a5782d7-234e-4f2d-b582-fd7dfdaa42e3)
Reference: https://forum.opensearch.org/t/opensearch-reporting-cli-tool-error/15485
liam
November 28, 2023, 11:35am
14
Hi, is there any progress on this? Seems still broken🥲 @gaobinlong
Would you mind opening an issue in this github repo: GitHub - opensearch-project/reporting-cli ?
anyi7
December 4, 2023, 5:02pm
16
1 Like