Announcement

Collapse
No announcement yet.

Create Authhash

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Create Authhash

    Hello,

    I have ubuntu 10.4 in 64 bit...
    And i would like to install shoutcast server whit SHOUTcast DSP Plug-In for Winamp

    How to create Authhash on SHOUTcast Authhash Management ?

    I have now on manager only the possibility to Update Authhash and Remove Authhash ?

    Update Authhash | Remove Authhash

    Error Code: 464.
    "Authhash could not be found or removed"

    Error Code: 470.
    "Invalid authorization hash"

    mikam

  • #2
    open the config file, make sure it doesn't have anything lie <enter_authhash_here> - if it does then you need to remove it. and either reload or restart the DNAS.

    -daz
    WACUP Project <‖> "Winamp Ramblings" - Indie Winamp Dev Blog

    Comment


    • #3
      We tried emptying <> no change on the DNAS admin the "Create AuthPath" is not displayed.

      I have comented the line you told to replace the enter_authhash_here otherwise i have no "Create AuthPath" link.

      ; streamauthhash=<enter_authhash_here>

      in this case the link appears "Create AuthPath"

      But when i click "Create AuthPath" i have Error Code: 466. "Parameter outside of allowed range"



      2011-09-23 23:02:47 I msg:<***> Logger startup
      2011-09-23 23:02:47 I msg:<***> version 2.0.0.29
      2011-09-23 23:02:47 D msg:<***>
      2011-09-23 23:02:47 I msg:***************************************************************
      2011-09-23 23:02:47 I msg:** SHOUTcast Distributed Network Audio Server (DNAS)
      2011-09-23 23:02:47 I msg:** Copyright (C) 1999-2011 Nullsoft, Inc. All Rights Reserved.
      2011-09-23 23:02:47 I msg:** Use "sc_serv filename.conf" to specify a config file.
      2011-09-23 23:02:47 I msg:***************************************************************
      2011-09-23 23:02:47 I msg:[SHOUTcast] DNAS/posix(linux x64) v2.0.0.29 (Jul 31 2011) starting up...
      2011-09-23 23:02:47 I msg:[MAIN] PID: 10884
      2011-09-23 23:02:47 I msg:
      2011-09-23 23:02:47 I msg:[CONFIG] Choose one of the detected config file(s) to load or
      2011-09-23 23:02:47 I msg:[CONFIG] enter `x' to close this instance of the DNAS:
      2011-09-23 23:02:47 I msg:[CONFIG] Note: Press `Enter' after choosing the config file.
      2011-09-23 23:02:47 I msg:
      2011-09-23 23:02:47 I msg:[CONFIG] [0] : sc_serv_public.conf
      2011-09-23 23:02:47 I msg:[CONFIG] [1] : sc_serv_basic.conf
      2011-09-23 23:02:47 I msg:[CONFIG] [2] : sc_serv_simple.conf
      2011-09-23 23:02:47 I msg:[CONFIG] [3] : sc_serv_relay.conf
      2011-09-23 23:02:47 I msg:[CONFIG] [4] : sc_serv_debug.conf
      2011-09-23 23:02:47 I msg:
      0
      2011-09-23 23:02:49 I msg:[MAIN] Logger updating log file to use
      2011-09-23 23:02:49 I msg:[MAIN] Loaded config from ./sc_serv_public.conf
      2011-09-23 23:02:49 I msg:[MAIN] Calculated CPU count is 2
      2011-09-23 23:02:49 I msg:[MAIN] Starting 2 network threads
      2011-09-23 23:02:49 I msg:[MICROSERVER] Listening for connection on port 8000
      2011-09-23 23:02:49 I msg:[MICROSERVER] Listening for connection on port 8001
      2011-09-23 23:02:51 I msg:[SRC xxx.xx.xx.xx:21495] SHOUTcast 2 source connection.
      2011-09-23 23:02:51 E msg:[DST 216.82.30.10:49852 sid=1] SHOUTcast 1 client connection rejected. Stream not available. Mozilla
      2011-09-23 23:02:51 I msg:[DST 216.82.30.10:49852 sid=1] SHOUTcast 1 client connection closed (0 seconds) [Bytes: 0] Agent: `Mozilla'
      2011-09-23 23:02:51 I msg:[SRC xxx.xx.xx.xx:21495] Password accepted. Stream id is 1
      2011-09-23 23:02:51 E msg:[DST 216.82.30.10:53078 sid=1] SHOUTcast 1 client connection rejected. Stream not available. Mozilla
      2011-09-23 23:02:51 I msg:[DST 216.82.30.10:53078 sid=1] SHOUTcast 1 client connection closed (0 seconds) [Bytes: 0] Agent: `Mozilla'
      2011-09-23 23:02:52 E msg:[YP2] No authhash found for stream config #1. Aborting registering stream with YP.
      2011-09-23 23:02:52 I msg:[SRC xxx.xx.xx.xx:21495 sid=1] stream configuration complete. [
      type=SHOUTcast 2
      mimeType=audio/mpeg
      maxPayloadSize=16377
      avgBitrate=96000
      maxBitrate=96000
      desiredBufferSize=240
      minimumBufferSize=0
      icyName=mysite.com
      icyGenre=Misc
      icyURL=http://www.mysite.com
      icyPub=1
      ]
      2011-09-23 23:03:00 E msg:[DST 216.82.30.10:50078 sid=1] SHOUTcast 1 client connection rejected. Stream not available. Mozilla
      2011-09-23 23:03:00 I msg:[DST 216.82.30.10:50078 sid=1] SHOUTcast 1 client connection closed (0 seconds) [Bytes: 0] Agent: `Mozilla'

      Comment


      • #4
        error 466 means you've entered something over the limit is allowed - there's a bug in the current release which doesn't validate the length of all of the entered parameters correctly.

        keywords + decscription can only go to 120 characters in length.

        -daz
        WACUP Project <‖> "Winamp Ramblings" - Indie Winamp Dev Blog

        Comment


        • #5
          Authpath ok

          By reducing the ammount of characters in the description the "Generate AuthPath" does finally the work checked in the conf file.

          Now we click the listen link we have "test.aac" opens in itunes but no sound still...

          by putting http://www.mysite.com:8000/mp3.mp3 in stead of test.aac
          we got sound now

          But still an error :/
          Server SC_SERV
          Socket error while waiting to send data. err=Broken pipe(32)

          Thanks in advance of your first reply! that was fast

          Comment


          • #6
            if you have an mp3 stream, you shouldn't be having anything which indicates a different format. based on the prior post you're using example config file - if so then you need to remove the example streampath entry and then reload the config settings (via the admin summary page) or re-start the DNAS completely. that way it will provide a non-conflicting stream path for client players to use.

            also you should really use the /listen.pls action for players when working directly from the DNAS as that will do what it can to ensure the client is provided an url to the stream which will work.

            -daz
            WACUP Project <‖> "Winamp Ramblings" - Indie Winamp Dev Blog

            Comment


            • #7
              Hola no puedo utilizar shoutcas en mi aplicación Avakin life ya llene todos los datos pero me pide el authhas y no se como ya intente de todo y nada me podrían ayudar es x celular

              Comment


              • #8
                I am not able to get into Shoutcast manager to creat authhash.

                [YP] No authhash specified for stream #1. Aborting listing the stream in the SHOUTcast Directory.

                Comment


                • #9
                  Originally Posted by mikam View Post
                  By reducing the ammount of characters in the description the "Generate AuthPath" does finally the work checked in the conf file.

                  Now we click the listen link we have "test.aac" opens in itunes but no sound still...

                  by putting http://www.mysite.com:8000/mp3.mp3 in stead of test.aac
                  we got sound now

                  But still an error :/
                  Server SC_SERV
                  Socket error while waiting to send data. err=Broken pipe(32)

                  Thanks in advance of your first reply! that was fast
                  Impressive!Thanks for the post

                  Comment

                  Working...
                  X
                  😀
                  🥰
                  🤢
                  😎
                  😡
                  👍
                  👎