Airtime stop working with error 503
  • Hello,
    Airtime was working, streaming, everything was working very good. In one moment (after about 45 minutes), i've got ERROR 503 in browser HTTP 503 (Service Unavailable)
    I tried to restart a whole VPS server, but it didnt work. After reconfigure - still this error. You can try it, here is the address.

    (without the "www". The address with "www" is redirected to another server)

    --------------------------
    Distributor ID: Debian
    Description:    Debian GNU/Linux 6.0.6 (squeeze)
    Release:        6.0.6
    Codename:       squeeze
    --------------------------



    LOG from monitor:
    .
    .
    .
    2013-01-02 09:38:59,370 ERROR - [MainThread] [api_client.py : get_response_from_server()] : LINE 88 - Error Authenticating with remote server: HTTP Error 503: Service Unavailable
    2013-01-02 09:38:59,372 DEBUG - [MainThread] [api_client.py : get_response_from_server()] : LINE 92 - http://morgancz.eu:80/api/media-monitor-setup/format/json/api_key/SOOATXDVJ8R1V4FSOUM4
    2013-01-02 09:38:59,372 ERROR - [MainThread] [api_client.py : get_response_from_server()] : LINE 110 - Error connecting to server, waiting 5 seconds and trying again.
    2013-01-02 09:38:59,392 ERROR - [Thread-2] [api_client.py : get_response_from_server()] : LINE 88 - Error Authenticating with remote server: HTTP Error 503: Service Unavailable
    .
    .
    .

    Thanks for help.
    (Sorry for my english)
  • 11 Comments sorted by
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    you seems to have problems with apache

    what say :

    service apache2 status

    did you try

    service apache2 restart
  • Apache2 is running (pid 3771).

    It's working, because I've some webpage on it. I try it restart so many times :( don't work
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    it should be running because you see an apache error. Check apache error log file.
  • Oh, maybe i found it:

    Apache log:

    [Tue Jan 01 15:42:43 2013] [error] [client 127.0.0.1] File does not exist: /var/www/test/api

    I have some bad config in Apache. I will try to edit it. Thank you! It's bad root directory for domain

    UPDATE
    I reconfigured my Apache server, make IP addr to airtime. Still the same error. http://31.31.77.131/ 
    Post edited by Ladislav Urbánek at 2013-01-02 07:54:46
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    well

    i think, i know why :-)

    try to edit your host like this :

    <VirtualHost *:80>
          ServerName airtime.something.fr

          ServerAdmin admin@someting.fr

          DocumentRoot /usr/share/airtime/public
          DirectoryIndex index.php

          SetEnv APPLICATION_ENV "production"

          <Directory /usr/share/airtime/public>
                  Options -Indexes FollowSymLinks MultiViews
                  AllowOverride All
                  Order allow,deny
                  Allow from all
          </Directory>
    </VirtualHost>
  • I have it exactly like this. I don't know. It was working...maybe server is overloaded...but i don't think so. I will try to install it again on new server. Thanks 4 help
  • Are there any errors when you restart apache? "sudo service apache2 restart"

    Soundsl like you are missing mod_rewrite plugin for apache.
    Airtime Pro Hosting: http://airtime.pro
  • Restarting web server: apache2[Wed Jan 02 18:30:53 2013] [warn]NameVirtualHost *:80 has no VirtualHosts
    [Wed Jan 02 18:30:53 2013] [warn] NameVirtualHost *:0 has no VirtualHosts
     ... waiting [Wed Jan 02 18:30:54 2013] [warn] NameVirtualHost *:80 has no VirtualHosts
    [Wed Jan 02 18:30:54 2013] [warn] NameVirtualHost *:0 has no VirtualHosts
    .

  • Try removing "NameVirtualHost *:0" from your config.
    Airtime Pro Hosting: http://airtime.pro
  • I did, still getting error :(
  • A 503 Service Unavailable Error is an HTTP response status code indicating that your web server operates properly, but it can't temporarily handle the request at the moment. This error happen for a wide variety of reasons. Normally, this error can be due to a temporary overloading or maintenance being performed on the server and it is resolved after a period of time or once another thread has been released by web-server application.

    How to fix HTTP 503 errors

    • Reload (Refresh) the page
    • Restart Your Devices
    • Scan for Malware
    • Clear Temporary Files
    • Visiting the website later
    • Contact server admin