# Adding workspace causes issues with Kibana behind proxy

**URL:** <https://discuss.elastic.co/t/adding-workspace-causes-issues-with-kibana-behind-proxy/210430>\
**Category:** Kibana\
**Created:** [December 3, 2019, 9:16pm UTC](https://discuss.elastic.co/t/adding-workspace-causes-issues-with-kibana-behind-proxy/210430 "2019-12-03T21:16:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![data\_smith](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/data_smith/32/124122_2.png) [@data\_smith](https://discuss.elastic.co/u/data_smith)\
**Post date:** [December 3, 2019, 9:16pm UTC](https://discuss.elastic.co/t/adding-workspace-causes-issues-with-kibana-behind-proxy/210430/1 "2019-12-03T21:16:35Z")

</div>

When I use Kibana with proxy and add workspaces I see the following: With any attempt to access roles, users or even visualizations i get prompted to select a workspace and then after selecting one i'm taken to the home screen.

I'm running in Kubernetes and use an Nginx ingress controller. When I just use the proxy with only the default namespaces everything works and when I add workspaces for a Kibana not behind a proxy everything works. But Kibana behind a proxy with multiple workspaces causes problems - i get prompted often to select a workspace and after selecting one i'm taken back to the home page.

Anyone else run into this problem?

---

<div class="post-metadata">

**Author:** ![data\_smith](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/data_smith/32/124122_2.png) [@data\_smith](https://discuss.elastic.co/u/data_smith)\
**Post date:** [December 4, 2019, 7:49pm UTC](https://discuss.elastic.co/t/adding-workspace-causes-issues-with-kibana-behind-proxy/210430/2 "2019-12-04T19:49:21Z")

</div>

It must be deleting the current space (e.g. default) in the user session somewhere. When I add the space to the url (e.g. /s/test/app/kibana) i can get to the page. Somehow everything else seems to be working but the session space is dropped somewhere.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 1, 2020, 7:49pm UTC](https://discuss.elastic.co/t/adding-workspace-causes-issues-with-kibana-behind-proxy/210430/3 "2020-01-01T19:49:23Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
