# Cannot build snapshots

**URL:** <https://forums.suse.com/t/cannot-build-snapshots/17618>\
**Category:** SUSE Storage\
**Created:** [June 3, 2020, 2:19am UTC](https://forums.suse.com/t/cannot-build-snapshots/17618 "2020-06-03T02:19:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wopl](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/wopl/32/6415_2.png) [@wopl](https://forums.suse.com/u/wopl)\
**Post date:** [June 3, 2020, 2:19am UTC](https://forums.suse.com/t/cannot-build-snapshots/17618/1 "2020-06-03T02:19:40Z")

</div>

Snapshots are not created through UI.

Just want to verify this could be related to a web-socket issue, we discussed before.

My configuration:  
Longhorn 1.0.0 running within K3S  
Traefik is my Ingress-Controller  
UI is called via “localhost:8087” which is forwarded by Traefik to Longhorn service within K3S.  
I can see all my PVs. Actions typically seem to fail.

edit:

> Access to XMLHttpRequest at ‘ws://localhost:8087/v1/volumes/pvc-8cac06cc-d203-4248-a3a9-44086974d1dd?action=snapshotCreate’ from origin ‘[http://localhost:8087](http://localhost:8087)’ has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.

Do I need to modify Traefik Ingress (e.g. add CORS middleware)?

---

<div class="post-metadata">

**Author:** ![rsoika](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/rsoika/32/6141_2.png) [@rsoika](https://forums.suse.com/u/rsoika)\
**Post date:** [June 3, 2020, 6:23am UTC](https://forums.suse.com/t/cannot-build-snapshots/17618/2 "2020-06-03T06:23:27Z")

</div>

I can confirm this behavior still. I am running Longhorn 1.0.0 on a self managed kubernetes cluster with Traefik as reverse-proxy. I already have configured a cors middleware as I thought this may be an issue. But still the situation is that some actions like

- creating a snapshot
- detaching/ataching a volume

does not work in the UI on the first click. I often need 2-5 reloads and clicks until the ui action leads to an action.

---

<div class="post-metadata">

**Author:** ![yasker](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/yasker/32/137_2.png) [@yasker](https://forums.suse.com/u/yasker)\
**Post date:** [June 3, 2020, 5:14pm UTC](https://forums.suse.com/t/cannot-build-snapshots/17618/3 "2020-06-03T17:14:44Z")

</div>

@wopl @rsoika I believe the root cause is the same as [https://github.com/longhorn/longhorn/issues/1442](https://github.com/longhorn/longhorn/issues/1442) . Can you comment on that issue to provide more details?
