Cannot Login to Enterprise Search 7.7

Hi There,

I'm testing out ent search 7.7 and i have successfully start ent search and can see the landing page.

[root@elk-entsearch01 ~]# ENT_SEARCH_DEFAULT_PASSWORD=passwordexample /usr/share/enterprise-search/bin/enterprise-search
Found java executable in PATH
Java version: 11.0.5

Enterprise Search is starting...

scripting container class loader urls: [file:/usr/share/enterprise-search/tmp/jruby916002841412128717extract/lib/jruby-stdlib-9.2.9.0.jar, file:/usr/share/enterprise-search/tmp/jruby916002841412128717extract/lib/jetty-util.jar, file:/usr/share/enterprise-search/tmp/jruby916002841412128717extract/lib/jruby-rack-1.1.21.jar, file:/usr/share/enterprise-search/tmp/jruby916002841412128717extract/lib/jetty-servlets.jar, file:/usr/share/enterprise-search/tmp/jruby916002841412128717extract/lib/jruby-core-9.2.9.0-complete.jar, file:/usr/share/enterprise-search/tmp/jruby916002841412128717extract/lib/jruby-rack-worker_0.14.1.jar]
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.headius.backport9.modules.Modules (file:/usr/share/enterprise-search/tmp/jruby916002841412128717extract/lib/jruby-core-9.2.9.0-complete.jar) to method sun.nio.ch.NativeThread.signal(long)
WARNING: Please consider reporting this to the maintainers of com.headius.backport9.modules.Modules
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
setting GEM_HOME to /usr/share/enterprise-search/tmp/jruby916002841412128717extract/gems
... and BUNDLE_GEMFILE to /usr/share/enterprise-search/tmp/jruby916002841412128717extract/Gemfile
loading resource: /usr/share/enterprise-search/tmp/jruby916002841412128717extract/./META-INF/rails.rb
invoking /usr/share/enterprise-search/tmp/jruby916002841412128717extract/./META-INF/rails.rb with: [runner, SharedTogo.start_app_server!]
[2020-07-24T13:20:34.299+00:00][14008][2002][app-server][INFO]: Successfully connected to Elasticsearch
[2020-07-24T13:20:34.403+00:00][14008][2002][app-server][INFO]: Enterprise Search version=7.7.0, JRuby version=9.2.9.0, Ruby version=2.5.7, Rails version=4.2.11.1
[2020-07-24T13:20:51.249+00:00][14008][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Ensuring migrations tracking index exists
[2020-07-24T13:20:51.299+00:00][14008][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Ensuring migrations tracking index exists
[2020-07-24T13:20:51.576+00:00][14008][2002][app-server][INFO]: Enterprise Search indices are ready
[2020-07-24T13:20:51.577+00:00][14008][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Creating a default Elasticsearch cluster configuration record
[2020-07-24T13:20:51.630+00:00][14008][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Creating a default Elasticsearch cluster configuration record
webroot directory is /usr/share/enterprise-search/tmp/warbler3840524644654552430webroot/enterprise-search.war
webserver.jar extracted to /usr/share/enterprise-search/tmp/webserver10374073245157887851.jar
2020-07-24 21:20:53.575:INFO::main: Logging initialized @37446ms
invoking webserver with: [--host, 10.10.10.16, --port, 3002, --config, /usr/share/enterprise-search/jetty/webserver.xml, /usr/share/enterprise-search/lib/enterprise-search.war]
2020-07-24 21:20:53.578:INFO:oejr.Runner:main: Runner
2020-07-24 21:20:53.886:INFO:oejs.Server:main: jetty-9.2.29.v20191105
2020-07-24 21:20:59.196:WARN:oeja.AnnotationConfiguration:main: ServletContainerInitializers: detected. Class hierarchy: empty
jruby: warning: unknown property jruby.worker.thread.count
2020-07-24 21:20:59.957:INFO:/:main: INFO: jruby 9.2.9.0 (2.5.7) 2019-10-30 458ad3e Java HotSpot(TM) 64-Bit Server VM 11.0.5+10-LTS on 11.0.5+10-LTS +jit [linux-x86_64]
2020-07-24 21:20:59.958:INFO:/:main: INFO: using a shared (threadsafe!) runtime
[2020-07-24T13:21:16.529+00:00][14008][2002][app-server][INFO]: Successfully connected to Elasticsearch
[2020-07-24T13:21:16.620+00:00][14008][2002][app-server][INFO]: Enterprise Search version=7.7.0, JRuby version=9.2.9.0, Ruby version=2.5.7, Rails version=4.2.11.1
[2020-07-24T13:21:48.403+00:00][14008][2002][app-server][INFO]:

#########################################################

Success! Elastic Enterprise Search is starting successfully.

In a few moments, you'll be able to login at the following address:

* URL: http://10.10.10.16:3002
  * If this is your first time starting Enterprise Search, check the console output above for your user authentication credentials.
  * Visit the documentation: https://swiftype.com/documentation/enterprise-search

Secret session key has been generated.

Set the key in your config file to persist user sessions through process restarts:

secret_session_key: standard:0949db8fcde30c023753eebd28811e903123410bdb4ca09d06f2b1f7d9250e3be8435cb668ac4996764c8426cddf6346329ac3bdeb0dcdb77ed7e32b937b1673


#########################################################



[2020-07-24T13:21:49.831+00:00][14008][2024][app-server][INFO]: Running task: RefreshFritoPieContentSources
[2020-07-24T13:21:49.880+00:00][14008][2416][app-server][INFO]: Running task: KeepFilebeatAlive
2020-07-24 21:21:49.791:INFO:/:main: INFO: [org.kares.jruby.rack.DefaultWorkerManager] started 4 worker(s)
2020-07-24 21:21:50.472:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@74126a41{/,file:/usr/share/enterprise-search/tmp/jetty-10.10.10.16-3002-enterprise-search.war-_-any-698076718897453116.dir/webapp/,AVAILABLE}{file:/usr/share/enterprise-search/lib/enterprise-search.war}
[2020-07-24T13:21:50.527+00:00][14008][2424][connectors][INFO]: Starting to process jobs.
2020-07-24 21:21:50.527:WARN:oejsh.RequestLogHandler:main: !RequestLog
[2020-07-24T13:21:50.532+00:00][14008][2024][cron-Work::Cron::RefreshFritoPieContentSources][INFO]: Performing task: RefreshFritoPieContentSources
[2020-07-24T13:21:50.564+00:00][14008][2416][cron-Work::Cron::KeepFilebeatAlive][INFO]: Performing task: KeepFilebeatAlive
[2020-07-24T13:21:50.579+00:00][14008][2416][cron-Work::Cron::KeepFilebeatAlive][INFO]: Starting Filebeat
[2020-07-24T13:21:50.675+00:00][14008][2024][cron-Work::Cron::RefreshFritoPieContentSources][INFO]: Done performing task: RefreshFritoPieContentSources
[2020-07-24T13:21:50.909+00:00][14008][2024][app-server][INFO]: Done running task: RefreshFritoPieContentSources
2020-07-24 21:21:50.975:INFO:oejs.ServerConnector:main: Started ServerConnector@502dbc22{HTTP/1.1}{10.10.10.16:3002}
[2020-07-24T13:21:51.045+00:00][14008][2436][worker][INFO]: esqueues me while I process jobs on connectors, document_destroyer, engine_destroyer, index_adder, indexed_doc_remover, mailer, refresh_document_counts, reindexer, schema_updater, workplace_search
[2020-07-24T13:21:51.046+00:00][14008][2438][worker][INFO]: esqueues me while I process jobs on connectors, document_destroyer, engine_destroyer, index_adder, indexed_doc_remover, mailer, refresh_document_counts, reindexer, schema_updater, workplace_search
2020-07-24 21:21:51.047:INFO:oejs.Server:main: Started @94917ms
[2020-07-24T13:21:51.047+00:00][14008][2440][worker][INFO]: esqueues me while I process jobs on connectors, document_destroyer, engine_destroyer, index_adder, indexed_doc_remover, mailer, refresh_document_counts, reindexer, schema_updater, workplace_search
[2020-07-24T13:21:51.130+00:00][14008][2424][worker][INFO]: esqueues me while I process jobs on connectors, document_destroyer, engine_destroyer, index_adder, indexed_doc_remover, mailer, refresh_document_counts, reindexer, schema_updater, workplace_search
[2020-07-24T13:21:52.323+00:00][14008][2416][cron-Work::Cron::KeepFilebeatAlive][INFO]: Started Filebeat [PID: #14150]
[2020-07-24T13:21:52.335+00:00][14008][2416][cron-Work::Cron::KeepFilebeatAlive][INFO]: Done performing task: KeepFilebeatAlive
[2020-07-24T13:21:52.388+00:00][14008][2416][app-server][INFO]: Done running task: KeepFilebeatAlive

But when i try to login with enterprise_search and passwordexample, it give me a 'username or password is incorrect' error.

Below is my enterprise-search.yml file.

# ---------------------------------- Secrets ----------------------------------
#
# Encryption keys to protect your application secrets. This field is required.
#
# secret_management.encryption_keys: [{"iky4WK8RSBgPNZfsrXMiKL4SncvaePAu"}, {"UapCZCtgCb7Y8VXRmhBeO3rN9Eh21Rwn"}]
secret_management.encryption_keys: ["iky4WK8RSBgPNZfsrXMiKL4SncvaePAu", "UapCZCtgCb7Y8VXRmhBeO3rN9Eh21Rwn"]
#
# ------------------------------- Elasticsearch -------------------------------
#
# allow_es_settings_modification: false
allow_es_settings_modification: true
#
# Elasticsearch full cluster URL:
#
#elasticsearch.host: http://127.0.0.1:9200
elasticsearch.host: https://10.10.10.11:9200

#
# Elasticsearch credentials:
#
elasticsearch.username: elastic
elasticsearch.password: Admincod3
#
# Elasticsearch custom HTTP headers to add to each request:
#
#elasticsearch.headers:
#  X-My-Header: Contents of the header
#
# Elasticsearch SSL settings:
#
elasticsearch.ssl.enabled: true
elasticsearch.ssl.certificate_authority: /usr/share/enterprise-search/certs/ca.crt
ent_search.external_url: http://10.10.10.16:3002
ent_search.listen_host: 10.10.10.16
ent_search.listen_port: 3002

#elasticsearch.ssl.enabled: false
#elasticsearch.ssl.certificate:
#elasticsearch.ssl.certificate_authority:
#elasticsearch.ssl.key:
#elasticsearch.ssl.key_passphrase:
#elasticsearch.ssl.verify: true
#
# Elasticsearch startup retry:
#
#elasticsearch.startup_retry.enabled: true
#elasticsearch.startup_retry.interval: 5 # seconds
#elasticsearch.startup_retry.fail_after: 200 # seconds
#
# ------------------------------- Hosting & Network ---------------------------
#
# Define the exposed URL at which users will reach Enterprise Search.
# Defaults to localhost:3002 for testing purposes.
# Most cases will use one of:
#
# * An IP: http://255.255.255.255
# * A FQDN: http://example.com
# * Shortname defined via /etc/hosts: http://ent-search.search
#
#ent_search.external_url: http://localhost:3002
#
# Web application listen_host and listen_port.
# Your application will run on this host and port.
#
# * ent_search.listen_host: Must be a valid IPv4 or IPv6 address.
# * ent_search.listen_port: Must be a valid port number (1-65535).
#
#ent_search.listen_host: 127.0.0.1
#ent_search.listen_port: 3002
#
# ------------------------------ Authentication -------------------------------
#
# The origin of authenticated Enterprise Search users.
# Options are standard, elasticsearch-native, and elasticsearch-saml.
#
# Docs: https://www.elastic.co/guide/en/workplace-search/current/workplace-search-security.html
#
# * standard: Users are created within the Enterprise Search dashboard.
# * elasticsearch-native: Users are managed via the Elasticsearch native realm.
# * elasticsearch-saml: Users are managed via the Elasticsearch SAML realm.
#
ent_search.auth.source: standard
#
# (SAML only) Name of the realm within the Elasticsearch realm chain.
#
#ent_search.auth.name:
#
# ---------------------------------- Logging ----------------------------------
#
# Choose your log export path.
#
log_directory: /var/log/enterprise-search
#
# Log level can be: debug, info, warn, error, fatal, or unknown.
#
log_level: info
#
# Log format can be: default, json
#
#log_format: default
#
# Choose your Filebeat logs export path.
#
filebeat_log_directory: /var/log/enterprise-search
#
log_rotation.keep_files: 10
#
# ---------------------------------- TLS/SSL ----------------------------------
#
# Configure TLS/SSL encryption.
#
#ent_search.ssl.enabled: false
#ent_search.ssl.keystore.path:
#ent_search.ssl.keystore.password:
#ent_search.ssl.keystore.key_password:
#ent_search.ssl.redirect_http_from_port:
#

Did I configure anything wrong?

Thanks in advance
ck

OK got it. Just reset default password with --reset-auth option

ENT_SEARCH_DEFAULT_PASSWORD=passwordexample /usr/share/enterprise-search/bin/enterprise-search --reset-auth