# Generic credentials window instead of web interface

**URL:** <https://community.graylog.org/t/generic-credentials-window-instead-of-web-interface/30910>\
**Category:** New to Graylog Community? READ-ME FIRST Guides\
**Created:** [December 8, 2023, 5:44pm UTC](https://community.graylog.org/t/generic-credentials-window-instead-of-web-interface/30910 "2023-12-08T17:44:13Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![siwyboy](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/siwyboy/32/15957_2.png) [@siwyboy](https://community.graylog.org/u/siwyboy)\
**Post date:** [December 8, 2023, 5:44pm UTC](https://community.graylog.org/t/generic-credentials-window-instead-of-web-interface/30910/1 "2023-12-08T17:44:13Z")

</div>

Hi,

I’m using Graylog 4x for quite some time now on my old server and I decided to give a try to the new v5.2.  
I used the manual provided in the official documentation:  
[https://go2docs.graylog.org/5-2/downloading\_and\_installing\_graylog/ubuntu\_installation.html](https://go2docs.graylog.org/5-2/downloading_and_installing_graylog/ubuntu_installation.html)

Every time I got through all those instructions, I’m ending up with generic login window instead of the web interface login screen.

 ![Screenshot - 07.12.2023 , 19_49_38](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/4/4469144c441c96bfc02a916c547bcd8ce4c49317.png)

No matter which password I use, it does not accept it and once I cancel the login I’m getting this error message:

> You cannot access this resource, missing authorization header!

I tried with Ubuntu 22.04 and 20.04.

Config is very basic:

```auto
is_leader = true
node_id_file = /etc/graylog/server/node-id
password_secret = K8x0MGrYqCIVSLxc4CZjKeRHbjW-hxlq3dcI7N1r1TF2rEPY170Sg01IOMRRGpDbiB5nybe8rRm7k0I3wZkEvt8wGw5lQk--
root_password_sha2 = 1bf6c330a7df182cf2a6b9067bfd72377024737c249f2d811f6c13c44b868a3e
bin_dir = /usr/share/graylog-server/bin
data_dir = /var/lib/graylog-server
plugin_dir = /usr/share/graylog-server/plugin
http_bind_address = 0.0.0.0:9000

```

Everything else is set to default.

I also tried with:

```auto
http_bind_address = 127.0.0.1:9000
http_bind_address = 10.1.1.61:9000

```

I also tried changing the ports, but nothing works…

I spent couple of hours on reading the forum and watching tutorials, but I always end up with the same login windows and not being able to sign in…

---

<div class="post-metadata">

**Author:** ![Joel\_Duffield](https://avatars.discourse-cdn.com/v4/letter/j/71c47a/32.png) [@Joel\_Duffield](https://community.graylog.org/u/Joel_Duffield)\
**Post date:** [December 10, 2023, 3:59am UTC](https://community.graylog.org/t/generic-credentials-window-instead-of-web-interface/30910/2 "2023-12-10T03:59:09Z")

</div>

I’m going to bet that your server.conf is missing the elastic settings, see this doc for what should be there (for us on the elastic section) [server.conf](https://go2docs.graylog.org/5-0/setting_up_graylog/server.conf.html)

---

<div class="post-metadata">

**Author:** ![siwyboy](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/siwyboy/32/15957_2.png) [@siwyboy](https://community.graylog.org/u/siwyboy)\
**Post date:** [December 10, 2023, 5:44pm UTC](https://community.graylog.org/t/generic-credentials-window-instead-of-web-interface/30910/3 "2023-12-10T17:44:56Z")

</div>

So I should use Elasticsearch instead of OpenSearch?  
The manual states that it’s better to use Opensearch:  
[https://go2docs.graylog.org/5-2/downloading\_and\_installing\_graylog/ubuntu\_installation.html?tocpath=Downloading%20and%20Installing%20Graylog|Installing%20Graylog|\_\_\_\_\_3#Elasticsearch](https://go2docs.graylog.org/5-2/downloading_and_installing_graylog/ubuntu_installation.html?tocpath=Downloading%20and%20Installing%20Graylog%7CInstalling%20Graylog%7C _____ 3#Elasticsearch)

---

<div class="post-metadata">

**Author:** ![Joel\_Duffield](https://avatars.discourse-cdn.com/v4/letter/j/71c47a/32.png) [@Joel\_Duffield](https://community.graylog.org/u/Joel_Duffield)\
**Post date:** [December 10, 2023, 6:10pm UTC](https://community.graylog.org/t/generic-credentials-window-instead-of-web-interface/30910/4 "2023-12-10T18:10:24Z")

</div>

No I would go with opensearch, elastic is nearing end of support. Opensearch was a fork of elastic, so they behave very similarly, and most of the settings in server.conf still refer to elastic, however the same settings work with both. So you will be configuring settings that say elasticsearch even when you actually have opensearch installed.p

---

<div class="post-metadata">

**Author:** ![bolbolR](https://avatars.discourse-cdn.com/v4/letter/b/41988e/32.png) [@bolbolR](https://community.graylog.org/u/bolbolR)\
**Post date:** [January 9, 2024, 4:06pm UTC](https://community.graylog.org/t/generic-credentials-window-instead-of-web-interface/30910/5 "2024-01-09T16:06:59Z")

</div>

Hello  
I had the same problem as you and i finger it out with opensearch DB, the default config of "elasticsearch\_hosts"is the problem

In server.conf try to use the same ip@ for “http\_bind\_address” and “elasticsearch\_hosts” :

```auto
http_bind_address = 10.1.1.61:9000

# Default: http://127.0.0.1:9200
#elasticsearch_hosts = http://node1:9200,http://user:password@node2:19200
elasticsearch_hosts = http://10.1.1.61:9200

```

this solution works for me

---

<div class="post-metadata">

**Author:** ![siwyboy](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/siwyboy/32/15957_2.png) [@siwyboy](https://community.graylog.org/u/siwyboy)\
**Post date:** [January 21, 2024, 4:08pm UTC](https://community.graylog.org/t/generic-credentials-window-instead-of-web-interface/30910/6 "2024-01-21T16:08:48Z")

</div>

THANKS!

I was able to open the console after implementing your solution!

---

<div class="post-metadata">

**Author:** ![thiago021](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/thiago021/32/17005_2.png) [@thiago021](https://community.graylog.org/u/thiago021)\
**Post date:** [July 26, 2024, 1:54am UTC](https://community.graylog.org/t/generic-credentials-window-instead-of-web-interface/30910/7 "2024-07-26T01:54:43Z")

</div>

It worked for me too.

Thank you very much. 🫱🏼‍🫲🏽
