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

URL encoded password needed #851

Open
LazzaAU opened this issue Jul 14, 2024 · 0 comments
Open

URL encoded password needed #851

LazzaAU opened this issue Jul 14, 2024 · 0 comments

Comments

@LazzaAU
Copy link

LazzaAU commented Jul 14, 2024

I'm new to nextcloud ( 1 week old) and been battling with getting elastic search working with full text search for the last 4 days. I was often getting errors in the terminal of " username must be a string " or words to that effect , and similar errors like

An unhandled exception has been thrown:
TypeError: array_key_exists(): Argument #2 ($array) must be of type array, false given in /var/www/html/apps/fulltextsearch_elasticsearch/lib/Platform/ElasticSearchPlatform.php

Anyway, what i noticed and how i got around it was ... my password has a # on the end of it , so 123456# for example.
in the UI, i was making the address of servlet : http://larry:123456#@localhost:9200 This was the root of the problem. In the end i had to make it URL encoded http://larry:123456%23@localhost:9200 as it appears not to like having a # in the password field.

More so a tip for others in the future than a bug report as such, but worth taking note of i guess shrug i'm not a guru so this may be common knowledge, but i spent way to long discovering that and wanted to document it :)

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

1 participant