07 Maj 2024, 19:50:51

Autor Wątek: Problem własny autopilot shoutcast  (Przeczytany 6186 razy)

askan

  • Początkujący
  • *
  • Wiadomości: 11
Problem własny autopilot shoutcast
« dnia: 30 Marzec 2013, 13:24:38 »
Witajcie, mam problem.
Posiadam własny autopilot shoutcast na swoim serwerze.
Próbując podpiąć go pod 4stream w logach serwera wyskakują błędy

Cytuj
<03/30/13@12:57:32> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:33> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:33> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:33> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:33> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@13:00:33> [source] error connecting to relay host [waiting 30s]
<03/30/13@13:01:03> [source] creating relay socket
<03/30/13@13:04:12> [source] error connecting to relay host [waiting 30s]
<03/30/13@13:04:42> [source] creating relay socket
<03/30/13@13:07:52> [source] error connecting to relay host [waiting 30s]
<03/30/13@13:08:22> [source] creating relay socket
<03/30/13@13:11:31> [source] error connecting to relay host [waiting 30s]
<03/30/13@13:12:01> [source] creating relay socket

A w autopilocie pokazuje się :

Cytuj
2013-03-30 14:23:57     I       msg:[STREAM] 525975719 Creating stream socket
2013-03-30 14:24:10     E       msg:[SHOUTCASTMETADATA] waitToSend - sendTitle Could not connect to SHOUTcast server
2013-03-30 14:24:15     W       msg:[SHOUTCASTMETADATA] Dropped stale metadata
2013-03-30 14:25:12     W       msg:[STREAM] 525975719 Error connecting to stream host [waiting 30s]
2013-03-30 14:25:38     I       msg:[STREAM] 525975719 Creating stream socket

Jakość nadawania ustawiona na 128 kbps
Autopilot nadaje w MP3

Podane w autopilocie jest hasło administratora i hasło nadawania, port i IP serwera 4stream
Wszystko ustawione tak jak należy ale jednak nie działa.
Proszę o pomoc.
« Ostatnia zmiana: 30 Marzec 2013, 13:41:55 wysłana przez Karol »

Karol

  • Administrator
  • Mistrz radiofonii
  • *****
  • Wiadomości: 1785
Odp: Problem własny autopilot shoutcast
« Odpowiedź #1 dnia: 30 Marzec 2013, 13:37:45 »
Cytuj
2013-03-30 14:24:10     E       msg:[SHOUTCASTMETADATA] waitToSend - sendTitle Could not connect to SHOUTcast server

Ten log świadczy o braku możliwości podłączenia do serwera. Masz aktywną retransmisję?
Cytuj
<03/30/13@13:00:33> [source] error connecting to relay host [waiting 30s]

P.S.
Umieszczaj logi w tagu 'quote', są czytelniejsze.
« Ostatnia zmiana: 30 Marzec 2013, 13:40:32 wysłana przez Karol »

askan

  • Początkujący
  • *
  • Wiadomości: 11
Odp: Problem własny autopilot shoutcast
« Odpowiedź #2 dnia: 30 Marzec 2013, 13:49:56 »
Retransmisja jest wyłączona.
Ustawienia na moje oko są poprawne.
No ale coś tu nie gra.

Karol

  • Administrator
  • Mistrz radiofonii
  • *****
  • Wiadomości: 1785
Odp: Problem własny autopilot shoutcast
« Odpowiedź #3 dnia: 30 Marzec 2013, 13:51:33 »
Wklej konfigurację i ostatnie 50 lini logów.

askan

  • Początkujący
  • *
  • Wiadomości: 11
Odp: Problem własny autopilot shoutcast
« Odpowiedź #4 dnia: 30 Marzec 2013, 13:56:42 »
encoder=mp3
bitrate=128000
unlockkeyname=*
unlockkeycode=*

; this is where we define the details required for sc_trans
; to connect to the sc_serv instance being used where the
; details must match those specified in sc_serv_basic.conf
outprotocol_1=1
serverip_1=4stream.pl
; default is 8000, if not change to sc_serv's 'portbase'
serverport_1=18390
; this is the same as 'password' in sc_serv_basic.conf
password_1=xxx
; this is the same as 'streamid' in sc_serv_basic.conf for
; the stream we are acting as the source for
streamid_1=1
; this is a name for the source we're creating and is used
; with the AJAX control api or can be left blank to get a
; generic name created in the form of 'endpointX' where 'X'
; is the index of the created source from sc_trans lists.
endpointname_1=AutoPilot


; here you would provide any information to fill in details
; provided to clients about the stream. it us upto you what
; is entered though do not do anything which will annoy, etc
streamtitle=MasterRap
streamurl=http://www.xxx.pl
genre=xxx

; here we specify a playlist to use as the master list from
; which to play files from.
playlistfile=/home11/askanity/radio/playlists/main.lst


; these options will allow you access the admin interfaces
; of sc_trans though also allows the 'testui' example to be
; accessed. remember to change the password, etc as needed
adminport=18389
adminuser=admin
adminpassword=xxx


; if we want to have an intro file for when the client gets
; the stream or a backup file incase of our connection to
; the server failing then we can set these. this is needed
; as we are using 'outprotocol=3' which supports this (and
; is needed in place of the sc_serv defined values to work)
;serverintrofile=<specify_intro_filepath>
;serverbackupfile=<specify_backup_filepath>

tutaj logi bezpośrednio z FTP autopilota

2013-03-30 14:01:26 I msg:[MAIN] Logger updating log file to use
2013-03-30 14:01:26 I msg:[MAIN] Loaded config from ./sc_transcoder.conf
2013-03-30 14:01:26 I msg:[MAIN] TimeMultiplier = 1, TimeShift = 0
2013-03-30 14:01:26 I msg:[VUPUSH] 101 VU images loaded for left channel
2013-03-30 14:01:26 I msg:[VUPUSH] 101 VU images loaded for right channel
2013-03-30 14:01:26 I msg:[PLAYLISTMGR] Playlist load from file /home11/askanity/radio/playlists/main.lst
2013-03-30 14:01:26 I msg:[PLAYLISTMGR] Caching playlist /home11/askanity/radio/playlists/main.lst
2013-03-30 14:01:26 I msg:[PLAYLISTMGR] Load complete
2013-03-30 14:01:26 I msg:[MAIN] Streaming thread starting
2013-03-30 14:01:26 I msg:[SOURCERELAY] Thread starting
2013-03-30 14:01:26 I msg:[RESAMPLER] Deactivated 44100/2 == 44100/2
2013-03-30 14:01:26 I msg:[SOURCEANDENDPOINTMANAGER] Encoder thread 1 starting
2013-03-30 14:01:26 I msg:[SOURCEANDENDPOINTMANAGER] Broadcast thread 1 starting
2013-03-30 14:01:26 I msg:[MP3ENC] 121619219/44100/2/128000 Fraunhofer IIS MP3s Encoder V04.01.00 (build 2007-03-15)
2013-03-30 14:01:26 I msg:[MAIN] Playlist decoder thread starting
2013-03-30 14:01:26 I msg:Using internal encoder sample rate of 44100 Hz, bandwidth 15804 Hz, FIR low pass active

2013-03-30 14:01:26 I msg:[STREAM] 1797265436 Giving replay gain calculator a head start
2013-03-30 14:01:26 I msg:[RGCALC] Thread running
2013-03-30 14:01:26 I msg:[STREAM] 1797265436 Running
2013-03-30 14:01:26 I msg:[STREAM] 1797265436 Creating stream socket
2013-03-30 14:01:26 I msg:[DECODE] Giving replay gain calculator a head start
2013-03-30 14:01:26 I msg:[DECODE] Begin decoding
2013-03-30 14:01:26 I msg:[DECODE] Next file is /home11/askanity/radio/music/Dj Luki Set vol 4.mp3
2013-03-30 14:01:26 I msg:[MP3ENC] 121619219/44100/2/128000 MP3 setup complete
2013-03-30 14:01:27 I msg:[SHOUTCASTMETADATA] Metadata string [Dj Luki Set vol 4]
2013-03-30 14:01:27 I msg:[SHOUTCASTMETADATA] Sending metadata
2013-03-30 14:02:41 W msg:[STREAM] 1797265436 Error connecting to stream host [waiting 30s]
2013-03-30 14:02:42 E msg:[SHOUTCASTMETADATA] waitToSend - sendTitle Could not connect to SHOUTcast server
2013-03-30 14:02:47 I msg:[SHOUTCASTMETADATA] Metadata string [Dj Luki Set vol 4]
2013-03-30 14:02:47 I msg:[SHOUTCASTMETADATA] Sending metadata
2013-03-30 14:03:07 I msg:[STREAM] 1797265436 Creating stream socket
2013-03-30 14:04:02 E msg:[SHOUTCASTMETADATA] waitToSend - sendTitle Could not connect to SHOUTcast server
2013-03-30 14:04:07 I msg:[SHOUTCASTMETADATA] Metadata string [Dj Luki Set vol 4]
2013-03-30 14:04:07 I msg:[SHOUTCASTMETADATA] Sending metadata
2013-03-30 14:04:22 W msg:[STREAM] 1797265436 Error connecting to stream host [waiting 30s]
2013-03-30 14:04:48 I msg:[STREAM] 1797265436 Creating stream socket
2013-03-30 14:05:22 E msg:[SHOUTCASTMETADATA] waitToSend - sendTitle Could not connect to SHOUTcast server
2013-03-30 14:05:27 I msg:[SHOUTCASTMETADATA] Metadata string [Dj Luki Set vol 4]
2013-03-30 14:05:27 I msg:[SHOUTCASTMETADATA] Sending metadata
2013-03-30 14:06:03 W msg:[STREAM] 1797265436 Error connecting to stream host [waiting 30s]
2013-03-30 14:06:29 I msg:[STREAM] 1797265436 Creating stream socket
2013-03-30 14:06:42 E msg:[SHOUTCASTMETADATA] waitToSend - sendTitle Could not connect to SHOUTcast server
2013-03-30 14:06:47 W msg:[SHOUTCASTMETADATA] Dropped stale metadata
2013-03-30 14:07:44 W msg:[STREAM] 1797265436 Error connecting to stream host [waiting 30s]
2013-03-30 14:08:10 I msg:[STREAM] 1797265436 Creating stream socket
2013-03-30 14:09:25 W msg:[STREAM] 1797265436 Error connecting to stream host [waiting 30s]
2013-03-30 14:09:51 I msg:[STREAM] 1797265436 Creating stream socket
2013-03-30 14:11:06 W msg:[STREAM] 1797265436 Error connecting to stream host [waiting 30s]
2013-03-30 14:11:32 I msg:[STREAM] 1797265436 Creating stream socket
2013-03-30 14:12:47 W msg:[STREAM] 1797265436 Error connecting to stream host [waiting 30s]
2013-03-30 14:13:13 I msg:[STREAM] 1797265436 Creating stream socket
2013-03-30 14:14:04 I msg:[MAIN] Exiting threads...
2013-03-30 14:14:04 I msg:[DECODE] Exiting decoder thread
2013-03-30 14:14:04 I msg:[MP3ENC] 121619219/44100/2/128000 Exiting encoder thread
2013-03-30 14:14:05 I msg:[RGCALC] Thread exiting
2013-03-30 14:14:28 W msg:[STREAM] 1797265436 Error connecting to stream host [waiting 30s]
2013-03-30 14:14:28 I msg:[MP3ENC] 121619219/44100/2/128000 bIn=2903040 bOut=262293 bps=127503 Bps=15937
2013-03-30 14:14:28 I msg:[RESAMPLER] tIn=19.4873 tOut=19.4873 bIn=3437568 bOut=3437568
2013-03-30 14:14:28 I msg:[CROSSFADER] in=19.4873 out=16.4873
2013-03-30 14:14:28 I msg:<***> Logger shutdown

A tu z waszego serwera :
<03/30/13@12:49:34> [source] error connecting to relay host [waiting 30s]
<03/30/13@12:50:04> [source] creating relay socket
<03/30/13@12:53:14> [source] error connecting to relay host [waiting 30s]
<03/30/13@12:53:44> [source] creating relay socket
<03/30/13@12:56:53> [source] error connecting to relay host [waiting 30s]
<03/30/13@12:57:23> [source] creating relay socket
<03/30/13@12:57:24> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:24> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:24> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:24> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:25> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:25> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:25> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:25> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:25> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:26> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:26> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:26> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:26> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:26> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:27> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:27> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:27> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:27> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:27> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:28> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:28> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:28> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:28> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:28> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:28> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:28> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:29> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:29> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:29> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:29> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:29> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:29> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:29> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:30> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:30> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:30> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:30> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:30> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:30> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:31> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:31> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:31> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:31> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:31> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:31> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:32> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:32> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:32> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:32> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:32> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:32> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:32> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:33> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:33> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:33> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@12:57:33> [dest: 178.212.27.55] server unavailable, disconnecting
<03/30/13@13:00:33> [source] error connecting to relay host [waiting 30s]
<03/30/13@13:01:03> [source] creating relay socket
<03/30/13@13:04:12> [source] error connecting to relay host [waiting 30s]
<03/30/13@13:04:42> [source] creating relay socket
<03/30/13@13:07:52> [source] error connecting to relay host [waiting 30s]
<03/30/13@13:08:22> [source] creating relay socket
<03/30/13@13:11:31> [source] error connecting to relay host [waiting 30s]
<03/30/13@13:12:01> [source] creating relay socket
« Ostatnia zmiana: 30 Marzec 2013, 14:01:58 wysłana przez Karol »

Karol

  • Administrator
  • Mistrz radiofonii
  • *****
  • Wiadomości: 1785
Odp: Problem własny autopilot shoutcast
« Odpowiedź #5 dnia: 30 Marzec 2013, 14:02:12 »
Twój serwer to dedyk, VPS czy shell?

askan

  • Początkujący
  • *
  • Wiadomości: 11
Odp: Problem własny autopilot shoutcast
« Odpowiedź #6 dnia: 30 Marzec 2013, 14:03:18 »
To jest shell drogi Panie...
Na FreeBSD

Karol

  • Administrator
  • Mistrz radiofonii
  • *****
  • Wiadomości: 1785
Odp: Problem własny autopilot shoutcast
« Odpowiedź #7 dnia: 30 Marzec 2013, 14:09:49 »
Konfiguracja wygląda na dobrą. Wydaje mi się, że problem leży po środku, na wyjściu u Twojego dostawcy. Konta shell są dość restrykcyjne i najprawdopodobniej Twój dostawca blokuje ruch na wyższych portach. To popularny zabieg, który skutecznie podnosi bezpieczeństwo.

Spytaj się dostawcy o to, ewentualnie podaj listę wszystkich portów które używasz i niech odblokują.

askan

  • Początkujący
  • *
  • Wiadomości: 11
Odp: Problem własny autopilot shoutcast
« Odpowiedź #8 dnia: 30 Marzec 2013, 14:12:26 »
Czyli po prostu muszę napisać o to aby odblokowali port streamowania czyli 18390 ?
Bardzo prawdopodobne, że jest zablokowane.

Karol

  • Administrator
  • Mistrz radiofonii
  • *****
  • Wiadomości: 1785
Odp: Problem własny autopilot shoutcast
« Odpowiedź #9 dnia: 30 Marzec 2013, 14:15:22 »
18390, 18391 -> stream
18389 -> admin autopilota

askan

  • Początkujący
  • *
  • Wiadomości: 11
Odp: Problem własny autopilot shoutcast
« Odpowiedź #10 dnia: 30 Marzec 2013, 14:18:47 »
Dziękuję za pomoc ale prosiłbym o nie zamykanie (jeśli zamykacie wykończone wątki)
Poczekam aż administrator odblokuje i wtedy napiszę czy działa. Jeśli tak to odpiszę że śmiga a jeśli nie to jeszcze zadam kilka pytań tu, nie ma co niepotrzebnie spamować forum dziesiątkami tematów o tej samej zawartości.

askan

  • Początkujący
  • *
  • Wiadomości: 11
Odp: Problem własny autopilot shoutcast
« Odpowiedź #11 dnia: 31 Marzec 2013, 14:40:54 »
tak więc to nie w tym problem pisząc do administratora odpisał mi tak :

W dniu 2013-03-30 14:17, xxx@t.pl pisze:
>
> Witaj, mógłbyś mi odblokować porty 18390, 18391 oraz 18389 ?
>
> Wali mi błędem podczas łączenia autopilota z serwerem z tego co idzie
> wydedukować to właśnie kwestia blokowanych wysokich portów.
>
>
Witam,

Ale żadne porty nie są blokowane.

Może ktoś inny ich używa.

Pozdrawiam

Jakoś w to nie wierzę, wcześniej próbowałem podłączyć autopilot pod inny darmowy hosting nie ważne jaki... I było to samo. Nie wierzyłbym w to że wszystkie porty po kolei są używane.
« Ostatnia zmiana: 31 Marzec 2013, 14:43:50 wysłana przez askan »

Karol

  • Administrator
  • Mistrz radiofonii
  • *****
  • Wiadomości: 1785
Odp: Problem własny autopilot shoutcast
« Odpowiedź #12 dnia: 31 Marzec 2013, 15:26:23 »
Spróbuj założyć serwer na swoim komputerze, na różnych portach. Najlepiej jakieś powyżej 30000.  Tam jest małe prawdopodobieństwo kolizji.

askan

  • Początkujący
  • *
  • Wiadomości: 11
Odp: Problem własny autopilot shoutcast
« Odpowiedź #13 dnia: 31 Marzec 2013, 15:34:24 »
A nie ma żadnej opcji żeby jakiś miły administrator przeznaczył mi jakiś inny port ? :D

askan

  • Początkujący
  • *
  • Wiadomości: 11
Odp: Problem własny autopilot shoutcast
« Odpowiedź #14 dnia: 03 Kwiecień 2013, 03:19:24 »
W takim razie na dobicie powiem, że to nie wina portu.
Zrobiłem serwer na komputerze, ustawiłem na ten sam port.
Łącząc się z serwerem poprzez autopilot normalnie mnie połączyło.

http://www.uploaduj.tk/images/685_hihi.jpg
Proszę screen :)

Co tu jeszcze może się rypać ? że nie da się podłączyć tego autopilota
Jedyne co mi przychodzi do głowy to to, że autopilot może używać tego portu co wasza jakaś aplikacja na maszynie. Ale nie jestem pewien czy to do końca możliwe.
« Ostatnia zmiana: 03 Kwiecień 2013, 03:21:05 wysłana przez askan »