# Vitxi Extensions cant registered

**URL:** https://forums.vitalpbx.org/t/vitxi-extensions-cant-registered/4374
**Category:** VitXi WebRTC
**Created:** [August 15, 2024, 9:21pm UTC](https://forums.vitalpbx.org/t/vitxi-extensions-cant-registered/4374 "2024-08-15T21:21:04Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![hlev](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/hlev/32/42_2.png) [@hlev](https://forums.vitalpbx.org/u/hlev)
#### Post date: [August 15, 2024, 9:21pm UTC](https://forums.vitalpbx.org/t/vitxi-extensions-cant-registered/4374/1 "2024-08-15T21:21:04Z")

</div>

Yesterday i had this issue [Empty .env file Vitxi 4.1.0-0 - #4 by maynor](https://forums.vitalpbx.org/t/empty-env-file-vitxi-4-1-0-0/4368/4)

I was able to register vitxi extension in the end, but now once again extensions are not able to register. Also when logging in vitxi seems to freeze right after login showing a blank screen and three loading dots. You have to do a web oage refresh in order to get the interface to load but even after that registration is not happening.

@maynor any idea how to troubleshoot this issue. As mentioned in my previous post firewall rules have been and where working before the update to 4.1.0-0

---

<div class="post-metadata">

### Author: ![maynor](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/m/3e96dc/32.png) [@maynor](https://forums.vitalpbx.org/u/maynor)
#### Post date: [August 15, 2024, 9:46pm UTC](https://forums.vitalpbx.org/t/vitxi-extensions-cant-registered/4374/2 "2024-08-15T21:46:51Z")

</div>

Hello,

Did you complete the wizard or after re-creating the .env did it not redirect to the installation wizard?

Regards,

---

<div class="post-metadata">

### Author: ![hlev](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/hlev/32/42_2.png) [@hlev](https://forums.vitalpbx.org/u/hlev)
#### Post date: [August 15, 2024, 9:51pm UTC](https://forums.vitalpbx.org/t/vitxi-extensions-cant-registered/4374/3 "2024-08-15T21:51:34Z")

</div>

No after I recovered the .env file it didnt prompt to do any sort of wizard yesterday.

---

<div class="post-metadata">

### Author: ![hlev](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/hlev/32/42_2.png) [@hlev](https://forums.vitalpbx.org/u/hlev)
#### Post date: [August 15, 2024, 10:05pm UTC](https://forums.vitalpbx.org/t/vitxi-extensions-cant-registered/4374/4 "2024-08-15T22:05:57Z")

</div>

When logging in this is the loading page with the dots that is showing up.

 ![Screenshot_20240815_155739_Brave](https://forums.vitalpbx.org/uploads/default/original/2X/5/513117e8bef45c6eb6e4f66456ee65d72948500a.jpeg)

The logs are showing this 401 when the screen is white with the loading dots.

`XXX.XXX.XXX.35 - - [15/Aug/2024:18:00:44 -0400] "POST /vitxi-service/v1/broadcasting/auth HTTP/2.0" 401 75 "https://pbx.domain.com/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36"`

And nothing happens unless we reload the page.

---

<div class="post-metadata">

### Author: ![maynor](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/m/3e96dc/32.png) [@maynor](https://forums.vitalpbx.org/u/maynor)
#### Post date: [August 16, 2024, 7:06pm UTC](https://forums.vitalpbx.org/t/vitxi-extensions-cant-registered/4374/5 "2024-08-16T19:06:20Z")

</div>

Please verify that port **6001** is enabled in VitalPBX and in any firewall you have active

Then, run the following commands:

`vitalpbx apply-firewall`  
`/usr/share/vitxi/backend/artisan websockets:ssl-config`  
`systemctl restart vitxi`

After that, reload the app by pressing Ctrl+F5 or Ctrl + Shift + R

---

<div class="post-metadata">

### Author: ![hlev](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/hlev/32/42_2.png) [@hlev](https://forums.vitalpbx.org/u/hlev)
#### Post date: [August 18, 2024, 2:41am UTC](https://forums.vitalpbx.org/t/vitxi-extensions-cant-registered/4374/6 "2024-08-18T02:41:11Z")

</div>

@maynor, port 6001 is open, I have applied the firewall and ran the following

```auto
php artisan websockets:ssl-config
SSL configuration updated successfully!

```

I cant run /usr/share/vitxi/backend/artisan websockets:ssl-config directly as I get this:

```auto
/usr/share/vitxi/backend/artisan websockets:ssl-config
/usr/bin/env: ‘php\r’: No such file or directory

```

and have restart vitxi multiple times, but still only get the 4 dot loading animation when trying to log in the first time after reloading with CTRL+F5 and after that extensions still cant register.

 ![image](https://forums.vitalpbx.org/uploads/default/original/2X/6/64a27bad254c8fcb16c2fc8c94d6893da0f0b8ed.png)

---

<div class="post-metadata">

### Author: ![hlev](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/hlev/32/42_2.png) [@hlev](https://forums.vitalpbx.org/u/hlev)
#### Post date: [August 18, 2024, 3:45am UTC](https://forums.vitalpbx.org/t/vitxi-extensions-cant-registered/4374/7 "2024-08-18T03:45:52Z")

</div>

I compared the .env file to another working server, not sure how it happened but for some reason the WSS\_PORT variable in the .env file had extra characters after the actual port 8089, which where the ones causing the issue.

I left the variable like it was supposed to  
WSS\_PORT = 8089

Restarted Vitxi and since the clients where reaching the websocket properly they where able to register once again.

---

<div class="post-metadata">

### Author: ![maynor](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/m/3e96dc/32.png) [@maynor](https://forums.vitalpbx.org/u/maynor)
#### Post date: [August 19, 2024, 7:27pm UTC](https://forums.vitalpbx.org/t/vitxi-extensions-cant-registered/4374/8 "2024-08-19T19:27:55Z")

</div>

That’s great that it’s working now! There might have been an unexpected error, or perhaps something went wrong during the package download/update process.

---

<div class="post-metadata">

### Author: ![hlev](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/hlev/32/42_2.png) [@hlev](https://forums.vitalpbx.org/u/hlev)
#### Post date: [August 19, 2024, 8:30pm UTC](https://forums.vitalpbx.org/t/vitxi-extensions-cant-registered/4374/9 "2024-08-19T20:30:03Z")

</div>

Yes, @maynor something odd happened during the update, but eveything is back to normal. Thank you for all your help.

---

<div class="post-metadata">

### Author: ![maynor](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/m/3e96dc/32.png) [@maynor](https://forums.vitalpbx.org/u/maynor)
#### Post date: [August 19, 2024, 8:41pm UTC](https://forums.vitalpbx.org/t/vitxi-extensions-cant-registered/4374/10 "2024-08-19T20:41:41Z")

</div>

I’m glad to help.

Just in case, We will review the scripts to rule out any internal issues.

Best regards!
