Welcome to World of IPTV

With

+23k members
+11k threads
+106k posts

we are the most popular IPTV community on the web. 

IMPORTANT NOTE:
WE HAVE RECENTLY NOTICED THAT TOO MANY DOUBLE FAKE ACCOUNTS ARE CREATED IN THE PAST.
TO PREVENT THIS ISSUE THE DECISION WAS MADE THAT IN THE FUTURE A ANNUALLY FEE 20 EURO WILL BE RAISED FOR NEW MEMBERSHIPS.

Join now to the World of IPTV

Forum Rules

Before you start, check out the forum rules first

Account upgrade

Upgrade your account to get access to full features

Advertising

Would you like to place your advertisement with us ?

Resources Manager

Hundreds of IPTV scripts and apps are available for download

Request anyone know how to fix hlsjs: Video file not found error ?

homa50

Basic Member
Basic Member
Joined
Nov 15, 2019
Messages
70
Reaction score
734
Points
94
Location
Afghanistan
Hi on xtreme-ui the client_area doesn't work, i take this erreur after 1 min "hlsjs: Video file not found"
do you have any idea ? its the same in my website .


I get this in the debugger :



Request URL: http: //MYIPADRESS: 25461 / live / TEST/FREETEST/ 28.m3u8
Request method: GET
Remote address: MYIPADRESS: 25461
State code:
403
Version: HTTP / 1.1
Referrer policy: no-referrer-when-downgrade


thank you in advance
 

rob2k9

Banned
Banned
Ext. Member
Joined
Sep 19, 2019
Messages
214
Reaction score
947
Points
104
Age
32
Location
bomba
Hi on xtreme-ui the client_area doesn't work, i take this erreur after 1 min "hlsjs: Video file not found"
do you have any idea ? its the same in my website .


I get this in the debugger :


Request URL: http: //MYIPADRESS: 25461 / live / TEST/FREETEST/ 28.m3u8
Request method: GET
Remote address: MYIPADRESS: 25461
State code:
403
Version: HTTP / 1.1
Referrer policy: no-referrer-when-downgrade


thank you in advance


403 is forbidden so you my need to change the nignix config for your servers to cover cross domain
 

homa50

Basic Member
Basic Member
Joined
Nov 15, 2019
Messages
70
Reaction score
734
Points
94
Location
Afghanistan
403 is forbidden so you my need to change the nignix config for your servers to cover cross domain

I found this on the web : https://geekflare.com/enable-cors-apache-nginx
but it didn't help me more than that I even authorized my domain this command ,in the config file of nignix but nothing has to change :

add_header Access-Control-Allow-Origin "https://geekflare.dev";

in the config file of nignix but nothing has to change
the stream stops and i still have error 443.

I noticed that sending requests x-mpegurl ends well
the stream stops when sending mp2t requests



Can you help me please?
 
Last edited:
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

Centoff

Extended Member
Ext. Member
Joined
Apr 3, 2020
Messages
11
Reaction score
174
Points
39
Location
Russia
I have the same error!

There is nothing intelligible in the logs.

I get an error with a direct request .../streaming/clients_live.php?username=XXXXXXXXXX&password=XXXXXXXXXX&stream=2.m3u8 - 401
 

homa50

Basic Member
Basic Member
Joined
Nov 15, 2019
Messages
70
Reaction score
734
Points
94
Location
Afghanistan
I have the same error!

There is nothing intelligible in the logs.

I get an error with a direct request .../streaming/clients_live.php?username=XXXXXXXXXX&password=XXXXXXXXXX&stream=2.m3u8 - 401

for the moment I have not found a solution, but I have tested the same stream with flussonic is weirdly it works on my website, I think it is a concern at the level of fragmentation of the packets or mybe cross domain policy
 

Centoff

Extended Member
Ext. Member
Joined
Apr 3, 2020
Messages
11
Reaction score
174
Points
39
Location
Russia
Good afternoon.

I solved my problem as follows:

1) Added in /home/xtreamcodes/iptv_xtream_codes/nginx/conf/nginx.conf lines:
In server {}
HTML:
    server_name iptv.domain.com;
    add_header Access-Control-Allow-Origin iptv.domain.com;
    add_header Access-Control-Allow-Origin XXX.XXX.XXX.XXX;

2) Performed the following:
Bash:
sudo su
chattr -i /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb
rm -rf /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb
wget https://cdn.discordapp.com/attachments/687042677950251103/689258210606972936/GeoLite2.mmdb -O /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb
chown -R xtreamcodes:xtreamcodes /home/xtreamcodes/
chown xtreamcodes:xtreamcodes /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb
chattr +i /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb
/home/xtreamcodes/iptv_xtream_codes/start_services.sh
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

homa50

Basic Member
Basic Member
Joined
Nov 15, 2019
Messages
70
Reaction score
734
Points
94
Location
Afghanistan
Good afternoon.

I solved my problem as follows:

1) Added in /home/xtreamcodes/iptv_xtream_codes/nginx/conf/nginx.conf lines:
In
HTML:
    server_name iptv.domain.com;
    add_header Access-Control-Allow-Origin iptv.domain.com;
    add_header Access-Control-Allow-Origin XXX.XXX.XXX.XXX;

2) Performed the following:
Bash:
sudo su
chattr -i /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb
rm -rf /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb
wget https://cdn.discordapp.com/attachments/687042677950251103/689258210606972936/GeoLite2.mmdb -O /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb
chown -R xtreamcodes:xtreamcodes /home/xtreamcodes/
chown xtreamcodes:xtreamcodes /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb
chattr +i /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb
/home/xtreamcodes/iptv_xtream_codes/start_services.sh
Thank you very much, I've been looking for a solution for a really long time, I had already modified the ngnix config a lot of times but without success for my part.

In server {}
HTML:
    server_name iptv.domain.com;
    add_header Access-Control-Allow-Origin iptv.domain.com;
    add_header Access-Control-Allow-Origin XXX.XXX.XXX.XXX;

I will test this on my server, if I understand correctly I must add my website instead of iptv.domain.com?
for this part XXX.XXX.XXX.XXX I have to leave it like that or else I put the ip of my iptv server?

and also I don't have a domain name configured on my server, I access directly via the ip does that change anything?
 
Last edited:

Centoff

Extended Member
Ext. Member
Joined
Apr 3, 2020
Messages
11
Reaction score
174
Points
39
Location
Russia
XXX.XXX.XXX.XXX - it is static IP
iptv.domain.com - it is your hostname (hostname server)
 

homa50

Basic Member
Basic Member
Joined
Nov 15, 2019
Messages
70
Reaction score
734
Points
94
Location
Afghanistan
XXX.XXX.XXX.XXX - it is static IP
iptv.domain.com - it is your hostname (hostname server)

I have the same choice but nothing has changed for me I think I made a mistake somewhere.

I give you an example

My website exemple : Persianlive.net
My hostname on my xtream server ui is:
Firefox.mozila.win10.net
ip of sever xtream ui: 134.92.93.93

So I add this on my server in the conf of ngnix:


server_name Firefox.mozila.win10.net;
add_header Access-Control-Allow-Origin Firefox.mozila.win10.net;
add_header Access-Control-Allow-Origin : 134.92.93.93 ;

when i do the test on my website Persianlive.net, i have the error 403, could you tell me it's you see an error?


Access to XMLHttpRequest at 'http://134.92.93.93:25461/live/test/password/23.m3u8' from origin 'http:/persianlive.net' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains multiple values '*, Firefox.mozila.win10.net, 134.92.93.93', but only one is allowed.

Thank for your help.
 
Last edited:
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

Centoff

Extended Member
Ext. Member
Joined
Apr 3, 2020
Messages
11
Reaction score
174
Points
39
Location
Russia
May be make nginx_conf:
NGINX:
server_name persianlive.net;
add_header Access-Control-Allow-Origin persianlive.net;
add_header Access-Control-Allow-Origin : 134.92.93.93 ;
and change hostname
Bash:
hostnamectl set-hostname persianlive.net
and add in /etc/hosts or DNS bind
Rich (BB code):
134.92.93.93 persianlive.net

and reboot now
 

homa50

Basic Member
Basic Member
Joined
Nov 15, 2019
Messages
70
Reaction score
734
Points
94
Location
Afghanistan
Good afternoon.

I solved my problem as follows:

1) Added in /home/xtreamcodes/iptv_xtream_codes/nginx/conf/nginx.conf lines:
In server {}
HTML:
    server_name iptv.domain.com;
    add_header Access-Control-Allow-Origin iptv.domain.com;
    add_header Access-Control-Allow-Origin XXX.XXX.XXX.XXX;

2) Performed the following:
Bash:
sudo su
chattr -i /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb
rm -rf /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb
wget https://cdn.discordapp.com/attachments/687042677950251103/689258210606972936/GeoLite2.mmdb -O /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb
chown -R xtreamcodes:xtreamcodes /home/xtreamcodes/
chown xtreamcodes:xtreamcodes /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb
chattr +i /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb
/home/xtreamcodes/iptv_xtream_codes/start_services.sh
May be make nginx_conf:
NGINX:
server_name persianlive.net;
add_header Access-Control-Allow-Origin persianlive.net;
add_header Access-Control-Allow-Origin : 134.92.93.93 ;
and change hostname
Bash:
hostnamectl set-hostname persianlive.net
and add in /etc/hosts or DNS bind
Rich (BB code):
134.92.93.93 persianlive.net

and reboot now

I will test and I will give you a return, Thank you so much for your help.
 

homa50

Basic Member
Basic Member
Joined
Nov 15, 2019
Messages
70
Reaction score
734
Points
94
Location
Afghanistan
I will test and I will give you a return, Thank you so much for your help.
May be make nginx_conf:
NGINX:
server_name persianlive.net;
add_header Access-Control-Allow-Origin persianlive.net;
add_header Access-Control-Allow-Origin : 134.92.93.93 ;
and change hostname
Bash:
hostnamectl set-hostname persianlive.net
and add in /etc/hosts or DNS bind
Rich (BB code):
134.92.93.93 persianlive.net

and reboot now

Hi, :)
I just tested the stream is KO in my website but OK in VLC .

Here is the result of debug:

HTML:
State Code: 200
Version :HTTP/1.1

Referrer policy : no-referrer-when-downgrade

[I][B]Request header[/B][/I][B] [/B]

Access-Control-Allow-Origin*
Access-Control-Allow-Origin  Persianlive.net
Access-Control-Allow-Origin  134.92.93.93
Cache-Control  : no-store, no-cache, must-revalidate
Connection : keep-alive
Content-Length
726
Content-Type
application/x-mpegurl
Server  : nginx


I have looked in all the files failed to have a trace of Access-Control-Allow-Origin *, I think that having two different Access-Control-Allow it poses porbleme.

If you want I could show you my config.


thank you in advance.
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
shape1
shape2
shape3
shape4
shape5
shape6
Top
AdBlock Detected

We know, ad-blocking software do a great job at blocking ads. But our site is sponsored by advertising. 

For the best possible site experience please take a moment to disable your AdBlocker.
You can create a Account with us or if you already have account, you can prefer an Account Upgrade.

I've Disabled AdBlock