Vault UI via http://127.0.0.1:8200/ui returns {"errors": []} and status 404

198 views
Skip to first unread message

Scott Brown

unread,
Dec 3, 2018, 3:38:33 PM12/3/18
to Vault

Per subject - pointing Chrome at http://127.0.0.1:8200/ui returns {"errors":[]} and developer tools shows 404.


Config: 

storage "s3" {
  bucket      
= "my-vault-bucket"
  region      
= "us-east-1"
 
}

ui
= true

listener
"tcp" {
  address    
= "127.0.0.1:8200"
  tls_disable
= 1
 
}

started with:

vault
operator init -key-shares=1 -key-threshold=1


unsealed:

$ vault status

Key             Value
---             -----
Seal Type       shamir
Initialized     true
Sealed          false
Total Shares    1
Threshold       1
Version         0.11.2
Cluster Name    vault-cluster-fa28d508
Cluster ID      fbaff561-b1a8-e8b5-2e34-77f967f651ce
HA
Enabled      false




Nathan Basanese

unread,
Dec 3, 2018, 3:43:50 PM12/3/18
to Vault
  // , Would you please provide more info? 

E.g. logs, healthcheck JSON, etc.

Matthew Irish

unread,
Dec 3, 2018, 3:43:53 PM12/3/18
to vault...@googlegroups.com
Hi Scott!

It looks like you're missing a trailing slash - you can see more info here: https://github.com/hashicorp/vault/issues/5467 - in later versions of Vault (I believe 0.11.4, but I don't see it in the changelog - I'll verify and make sure that gets corrected) we also redirect /ui to /ui/ . 

hope this helps!
Matthew

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/hashicorp/vault/issues
IRC: #vault-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Vault" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/b60f8144-ad7e-44b8-8eff-afe0e674b158%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Scott Brown

unread,
Dec 3, 2018, 4:10:40 PM12/3/18
to vault...@googlegroups.com
That was it! Thank you Matthew, it indeed helped!

Scott Brown

unread,
Dec 3, 2018, 4:18:34 PM12/3/18
to Vault
Hmm, the docs at https://www.vaultproject.io/docs/configuration/ui/index.html also omit the trailing slash. Docs error? 

Matthew Irish

unread,
Dec 3, 2018, 4:48:07 PM12/3/18
to vault...@googlegroups.com
Whoops - yes that's a docs error - newer Vault binaries will work with that because of the newer redirect, but we'll get that updated.

Thanks!
Matthew

On Mon, Dec 3, 2018 at 3:18 PM Scott Brown <scottbr...@gmail.com> wrote:
Hmm, the docs at https://www.vaultproject.io/docs/configuration/ui/index.html also omit the trailing slash. Docs error? 

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/hashicorp/vault/issues
IRC: #vault-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Vault" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages