# Selecting a recently uploaded artifact for deployment only possible after re-login

**URL:** <https://hub.mender.io/t/selecting-a-recently-uploaded-artifact-for-deployment-only-possible-after-re-login/4107>\
**Category:** General Discussions\
**Created:** [September 22, 2021, 3:18pm UTC](https://hub.mender.io/t/selecting-a-recently-uploaded-artifact-for-deployment-only-possible-after-re-login/4107 "2021-09-22T15:18:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![manuel\_vps](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@manuel\_vps](https://hub.mender.io/u/manuel_vps)\
**Post date:** [September 22, 2021, 3:18pm UTC](https://hub.mender.io/t/selecting-a-recently-uploaded-artifact-for-deployment-only-possible-after-re-login/4107/1 "2021-09-22T15:18:56Z")

</div>

Hi all,

I usually use the “Create deployment for this device” button in the device details to start a deployment. When I do so, the artifact selection dropdown list does not contain artifacts uploaded in my current web session. I have to logout and login again to be able to select the artifact.

I don’t recall if this applies to the artifacts list in the main screen as well. I’ll check the next time I upload an artifact.

I’m using `Chromium Version 90.0.4430.212 (Entwickler-Build) built on Debian 10.9, running on Debian 10.10 (64-Bit)` in case it matters.

Best regards,  
Manuel

---

<div class="post-metadata">

**Author:** ![kjaskiewiczz](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kjaskiewiczz/32/807_2.png) [@kjaskiewiczz](https://hub.mender.io/u/kjaskiewiczz)\
**Post date:** [September 24, 2021, 7:49am UTC](https://hub.mender.io/t/selecting-a-recently-uploaded-artifact-for-deployment-only-possible-after-re-login/4107/2 "2021-09-24T07:49:29Z")

</div>

Hi Manuel,

Are you uploading pre-built .mender artifacts or just a file?  
I’m asking because there is some processing being done server-side when uploading artifacts.  
Can you check if waiting a minute or two solves the issue (without logout and login)?

Best regards,  
Krzysztof

---

<div class="post-metadata">

**Author:** ![manuel\_vps](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@manuel\_vps](https://hub.mender.io/u/manuel_vps)\
**Post date:** [September 24, 2021, 8:26am UTC](https://hub.mender.io/t/selecting-a-recently-uploaded-artifact-for-deployment-only-possible-after-re-login/4107/3 "2021-09-24T08:26:12Z")

</div>

Hi @kjaskiewiczz ,

we’re uploading pre-built artifacts. I realized that there is server-side delay of about 1 to 2 minutes, but this is not that. The artifacts don’t show up even after 10 minutes.

Regards, Manuel

---

<div class="post-metadata">

**Author:** ![kjaskiewiczz](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kjaskiewiczz/32/807_2.png) [@kjaskiewiczz](https://hub.mender.io/u/kjaskiewiczz)\
**Post date:** [September 24, 2021, 1:23pm UTC](https://hub.mender.io/t/selecting-a-recently-uploaded-artifact-for-deployment-only-possible-after-re-login/4107/4 "2021-09-24T13:23:21Z")

</div>

Which version of mender you’re using? hosted?  
Regards, Krzysztof

---

<div class="post-metadata">

**Author:** ![manuel\_vps](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@manuel\_vps](https://hub.mender.io/u/manuel_vps)\
**Post date:** [September 27, 2021, 12:54pm UTC](https://hub.mender.io/t/selecting-a-recently-uploaded-artifact-for-deployment-only-possible-after-re-login/4107/5 "2021-09-27T12:54:59Z")

</div>

Hi @kjaskiewiczz,

Stupid me, should have provided that info in the initial post. We’re using hosted mender. Uploading is done with `mender-artifact version 3.3.0`.

edit: My browser is Chromium `Version 90.0.4430.212 (Entwickler-Build) built on Debian 10.9, running on Debian 10.10 (64-Bit)` in case that’s of interest.

---

<div class="post-metadata">

**Author:** ![manuel\_vps](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@manuel\_vps](https://hub.mender.io/u/manuel_vps)\
**Post date:** [September 27, 2021, 2:30pm UTC](https://hub.mender.io/t/selecting-a-recently-uploaded-artifact-for-deployment-only-possible-after-re-login/4107/6 "2021-09-27T14:30:00Z")

</div>

An artifact got uploaded by our CI just now and it was selectable in the dropdown list without loggoing out&in. Guess the problem is either solved or manifests only sporadically. But I swear I observed it, several times. Made sure the artifact name is correct and it’s the logout&login which makes it appear, as they were of different “age”. So it’s not just that they appeared just 10min after upload or so, but once I made them appear 10mins after upload with logout&login, sometimes 20min or 40min. It was always the logout&login which reliable made them appear.

I’ll give notice once I observe it again.

---

<div class="post-metadata">

**Author:** ![mzedel](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/mzedel/32/261_2.png) [@mzedel](https://hub.mender.io/u/mzedel)\
**Post date:** [September 28, 2021, 3:51pm UTC](https://hub.mender.io/t/selecting-a-recently-uploaded-artifact-for-deployment-only-possible-after-re-login/4107/7 "2021-09-28T15:51:47Z")

</div>

Hi @manuel_vps,  
the UI gets an updated list of releases every 30s, but thanks to your question I realized, that this is only done when you actually are (for more than 30s) on the releases page. I will address this shortly and will let you know once it lands on Hosted Mender.  
Regards,  
another Manuel

---

<div class="post-metadata">

**Author:** ![manuel\_vps](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@manuel\_vps](https://hub.mender.io/u/manuel_vps)\
**Post date:** [September 29, 2021, 1:29pm UTC](https://hub.mender.io/t/selecting-a-recently-uploaded-artifact-for-deployment-only-possible-after-re-login/4107/8 "2021-09-29T13:29:56Z")

</div>

Hi @mzedel ,

I was indeed on the releases page during my [latest test above](https://hub.mender.io/t/selecting-a-recently-uploaded-artifact-for-deployment-only-possible-after-re-login/4107/6), so that confirms your assessment. Great!

Feel free to drop the mender issue tracker ticket number here. I’ve got an account there (username `manuel_wagesreither`) and am already watching few tickets. If you’d allow me to add a watch, I’d get notified automatically and you wouldn’t need to remember and inform manually.

Best regards,  
Manuel
