# Update stream file uri need disconnect and then connect

**URL:** https://community.wowza.com/t/update-stream-file-uri-need-disconnect-and-then-connect/93503
**Category:** Wowza Streaming Engine
**Created:** [July 6, 2021, 2:00am UTC](https://community.wowza.com/t/update-stream-file-uri-need-disconnect-and-then-connect/93503 "2021-07-06T02:00:07Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Vic\_Chien](https://avatars.discourse-cdn.com/v4/letter/v/5f9b8f/32.png) [@Vic\_Chien](https://community.wowza.com/u/Vic_Chien)
#### Post date: [July 6, 2021, 2:00am UTC](https://community.wowza.com/t/update-stream-file-uri-need-disconnect-and-then-connect/93503/1 "2021-07-06T02:00:07Z")

</div>

Our situation need update stream file uri to refresh token.  
But after update stream file the incoming streams still expired, we need disconnect stream and then connect it.  
I also test with reset stream in incomming streams, still no working.

There has any method can update uri without disconnect stream?  
Any one can help to give us some recommend?

---

<div class="post-metadata">

### Author: ![Vic\_Chien](https://avatars.discourse-cdn.com/v4/letter/v/5f9b8f/32.png) [@Vic\_Chien](https://community.wowza.com/u/Vic_Chien)
#### Post date: [July 14, 2021, 12:28pm UTC](https://community.wowza.com/t/update-stream-file-uri-need-disconnect-and-then-connect/93503/2 "2021-07-14T12:28:45Z")

</div>

Is anyone can help us please.

---

<div class="post-metadata">

### Author: ![Connessione](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@Connessione](https://community.wowza.com/u/Connessione)
#### Post date: [July 17, 2021, 8:43pm UTC](https://community.wowza.com/t/update-stream-file-uri-need-disconnect-and-then-connect/93503/3 "2021-07-17T20:43:19Z")

</div>

Can you explain the issue a bit better. Sorry I am unable to understand the description at the moment.

---

<div class="post-metadata">

### Author: ![Vic\_Chien](https://avatars.discourse-cdn.com/v4/letter/v/5f9b8f/32.png) [@Vic\_Chien](https://community.wowza.com/u/Vic_Chien)
#### Post date: [July 18, 2021, 2:27am UTC](https://community.wowza.com/t/update-stream-file-uri-need-disconnect-and-then-connect/93503/4 "2021-07-18T02:27:12Z")

</div>

Because we need change the uri every 2 hours to prevent expired.

Using api to change the uri in streamfile.  
I can see the changes from manager webui.  
But the client still connect to the old uri.  
Need disconnect and then connect the stream can make the uri changes work.

So we want to know this behavior is normal or not.  
And how can we fix this situation.

Thanks a lot for your reply.

---

<div class="post-metadata">

### Author: ![Connessione](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@Connessione](https://community.wowza.com/u/Connessione)
#### Post date: [August 1, 2021, 5:27am UTC](https://community.wowza.com/t/update-stream-file-uri-need-disconnect-and-then-connect/93503/5 "2021-08-01T05:27:38Z")

</div>

In any connection oriented technology once connection is established session remains. Any changes you make to server won’t be valid for client till they disconnect and reconnect.

---

<div class="post-metadata">

### Author: ![Vic\_Chien](https://avatars.discourse-cdn.com/v4/letter/v/5f9b8f/32.png) [@Vic\_Chien](https://community.wowza.com/u/Vic_Chien)
#### Post date: [August 1, 2021, 12:42pm UTC](https://community.wowza.com/t/update-stream-file-uri-need-disconnect-and-then-connect/93503/6 "2021-08-01T12:42:41Z")

</div>

Disconnect and connect stream are operated in wowza manager live application settings.  
Not client connection.

Disconnect stream operation in page of “incoming streams”  
Connect stream operation in page of “stream files”
