[SOLVED] Authentication problem

Added by bad byte 3 months ago

I'm using 2 tvheadends in diferent pcs and trying to pass streams from one to the other using IPTV network. Everything works if i don't use authentication but i can't connect if i use a username and password created by me.

PC1 - tvheadend 4.3-1233 with dvb-c ( created a "test" username and password )
PC2 - tvheadend 4.3-1231 gets the streams from PC1 using automatic IPTV Network

On PC2 i created a new automatic IPTV Network, added the m3u file file:///home/badbyte/channels.m3u, the muxes are created ok.
this is how i have my m3u file

#EXTM3U
#EXTINF:-1 tvg-id="07be507d6b3f5200c60364796dda0958" tvg-chno="8",CMTV
http://test:[email protected]:9981/stream/channelid/2102443527

When i force scan on PC2 this i what i get:
[ INFO] subscription: 0005: "scan" subscribing to mux "test", weight: 6, adapter: "IPTV #1", network: "abc", service: "Raw PID Subscription"
[ INFO] mpegts: test in abc - scan no data, failed

I tested using vlc on PC2 to connect to PC1 using the same m3u file and works fine. i can see in the log of PC1 that PC2 is login in using the "test" username and the stream is passed and everything works.

If i change my m3u file to this
#EXTM3U
#EXTINF:-1 tvg-id="07be507d6b3f5200c60364796dda0958" tvg-chno="8",CMTV
http://IP:9981/stream/channelid/2102443527

Tvheadend on PC2 can connect and receive the stream from PC1 without problems, i assume using the "*" username to login.

Is my authentication line wrong?
From what i see in other posts the line is suposed to be http://username:[email protected]:9981 but i can't get it to work for some reason.
Any ideas?


Replies (3)

RE: Authentication problem connecting 2 tvheadends - Added by Mark Clarkstone 3 months ago

If you're using 4.3-dev change "Authentication type" (in the base config) to "digest+plain".

RE: Authentication problem connecting 2 tvheadends - Added by saen acro 3 months ago

Before post new Topic, use Search.

RE: Authentication problem connecting 2 tvheadends - Added by bad byte 3 months ago

Thank you very much Mark, that Solved the problem.

(1-3/3)