api_key
  • Hi,

    this is driving me nuts. I run debian squeeze with ISPConfig and Airtime 1.6.1. In the test environment i have this running. In production it does not want to work. the setups are quite the same (as far as i can tell). It's all running, except the web interface will not show up. The logs mention nothing special as far as the installation and /etc/service/pypo-liquidsoap/log/main/current go.

    The /etc/service/pypo-fetch/log/main/current and /etc/service/pypo-push/log/main/current logs show this.

    @400000004d6e9e431ad502cc *** Daemontools: starting daemon
    @400000004d6e9e4329258414
    @400000004d6e9e4329269584 ###########################################
    @400000004d6e9e432926a13c # *** pypo *** #
    @400000004d6e9e432926a90c # Liquidsoap + External Scheduler #
    @400000004d6e9e432926b0dc # Playout System #
    @400000004d6e9e432926b8ac ###########################################
    @400000004d6e9e432926c07c
    @400000004d6e9e432926c464
    @400000004d6e9e43292f4bfc 2011-03-02 20:44:57,690 DEBUG - [api_client.py : __get_airtime_version() : line 117] - Trying to contact http://airtime.jigr.net/api/version/api_key/DRSP10X39AFWMS8I 3ZQO
    @400000004d6e9e4329988964 2011-03-02 20:44:57,697 DEBUG - [api_client.py : __get_airtime_version() : line 120] - Data: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    @400000004d6e9e432998a4bc "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    @400000004d6e9e432998ac8c <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    @400000004d6e9e432998b45c <head>
    @400000004d6e9e432998bc2c <title>ERROR 404 - Not Found!</title>



    Latest comment from Andrey (while discussing the test env) was:
    looks like your local site isn't prepared. Check for http://airtime.localdomain.jig/

    Before (when trying to change to an alternate port, using 1.6.0) that Andrey was kind enough to point out:
    first of all you need to properly configure an apache server. You should see an airtime gui on new port.

    I do not know what to look at next.

    Thanks for your time and support.
    Ed
  • 6 Comments sorted by
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    http://airtime.jigr.net/ - it seems a public server but I can not see airtime login page. Is it configured for internal access?
  • In my experience the Airtime login page will not show as long as http://airtime.jigr.net/api/version/api_key/DRSP10X39AFWMS8I 3ZQO is not found.
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    heh, it's the same Smile

    As I see the main problem with your virtual host configuration - DocumentRoot isn't binded to artime/public folder.
    Look at apache error log. You will see the current binding.
    If virtual host is configured properly you should see the faveicon.ico like on http://airtime-dev.sourcefabric.org/favicon.ico

    the same link http://airtime.jigr.net/favicon.ico returns 404 error instead.



  • Maybe try - sudo rm /etc/apache2/site-enabled/default-000
    and installing liquidsoap sudo apt-get install liquidsoap
    then reboot.

    Your setup sounds a bit more complex than my vanilla flavor Airtime:) but
    this has fixed 2 separate installs for me. Don't ask why I don't know.
    hope it helps you

    best
    john

    On Wed, Mar 2, 2011 at 7:57 PM, Ed Boon <
    airtime-support@lists.sourcefabric.org> wrote:

    > Hi,
    >
    > this is driving me nuts. I run debian squeeze with ISPConfig and Airtime
    > 1.6.1. In the test environment i have this running. In production it does
    > not want to work. the setups are quite the same (as far as i can tell). It's
    > all running, except the web interface will not show up. The logs mention
    > nothing special as far as the installation and
    > /etc/service/pypo-liquidsoap/log/main/current go.
    >
    > The /etc/service/pypo-fetch/log/main/current and
    > /etc/service/pypo-push/log/main/current logs show this.
    >
    > @400000004d6e9e431ad502cc *** Daemontools: starting daemon
    > @400000004d6e9e4329258414
    > @400000004d6e9e4329269584 ###########################################
    > @400000004d6e9e432926a13c # *** pypo *** #
    > @400000004d6e9e432926a90c # Liquidsoap + External Scheduler #
    > @400000004d6e9e432926b0dc # Playout System #
    > @400000004d6e9e432926b8ac ###########################################
    > @400000004d6e9e432926c07c
    > @400000004d6e9e432926c464
    > @400000004d6e9e43292f4bfc 2011-03-02 20:44:57,690 DEBUG - [api_client.py :
    > __get_airtime_version() : line 117] - Trying to contact http://airtime.jigr.net/api/version/api_key/DRSP10X39AFWMS8I
    > 3ZQO < http://airtime.jigr.net/api/version/api_key/DRSP10X39AFWMS8I 3ZQO>
    > @400000004d6e9e4329988964 2011-03-02 20:44:57,697 DEBUG - [api_client.py :
    > __get_airtime_version() : line 120] - Data: <!DOCTYPE html PUBLIC
    > "-//W3C//DTD XHTML 1.0 Transitional//EN"
    > @400000004d6e9e432998a4bc "
    > http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    > @400000004d6e9e432998ac8c <html xmlns="http://www.w3.org/1999/xhtml"
    > xml:lang="en" lang="en">
    > @400000004d6e9e432998b45c <head>
    > @400000004d6e9e432998bc2c <title>ERROR 404 - Not Found!</title>
    >
    >
    >
    > Latest comment from Andrey (while discussing the test env) was:
    > looks like your local site isn't prepared. Check for
    > http://airtime.localdomain.jig/
    >
    > Before (when trying to change to an alternate port, using 1.6.0) that
    > Andrey was kind enough to point out:
    > first of all you need to properly configure an apache server. You should
    > see an airtime gui on new port.
    >
    > I do not know what to look at next.
    >
    > Thanks for your time and support.
    > Ed
    >



    --
    John Gough

    tel: (01) 2960 939
    mob:(085) 729 1738

  • "sudo apt-get install liquidsoap" will not help the situation.

    Ed, please let us know how Andrey's suggestion works out. Is there anything special in the apache errors logs?
    Airtime Pro Hosting: http://airtime.pro
  • He guys,

    It's solved. It turned out to be ISPConfig defaulting the site to a wrong directory. I guess it is an ISPConfig bug. That was solved by flicking off and on the HTTP NameVirtualHost switch.

    Andrey's attempt to get the link http://airtime.jigr.net/favicon.ico put me on track. So, thanks for that. This indeed had to be found in the apache logs.

    The 000-default file was not there, it actually rarely is. But thanks for caring.

    Another thing is that ISPConfig uses a certain format in the /etc/apache2/sites-available/airtimesite.vhost file wich is put back every time you change the vhost config in the web-interface. You then have to go back to this file to make sure /airtime/public is in the documentroot line.

    So, thanks again. It was quite educational and, since it now works, a bit of fun.

    Ed