Discussions
Activity
Sign In
How it works
Airtime Support
Another one "Exception [Errno 111] Connection refused"
Vote Up
0
Vote Down
Golikov Igor
October 2011
Posts: 13
Member
no stream, here is pypo.log. Don't know where it tries to connect
2011-10-22 02:19:08,015 INFO - [pypo-cli.py : <module>() : line 109] - ###########################################
2011-10-22 02:19:08,016 INFO - [pypo-cli.py : <module>() : line 110] - # *** pypo *** #
2011-10-22 02:19:08,016 INFO - [pypo-cli.py : <module>() : line 111] - # Liquidsoap Scheduled Playout System #
2011-10-22 02:19:08,016 INFO - [pypo-cli.py : <module>() : line 112] - ###########################################
2011-10-22 02:19:08,018 DEBUG - [api_client.py : __get_airtime_version() : line 183] - Trying to contact
http://localhost:80/api/version/api_key/%%api_key%%
2011-10-22 02:19:08,158 DEBUG - [api_client.py : __get_airtime_version() : line 190] - Data: {"version":"1.9.4"}
2011-10-22 02:19:08,158 DEBUG - [api_client.py : __get_airtime_version() : line 193] - Airtime Version 1.9.4 detected
2011-10-22 02:19:08,158 INFO - [api_client.py : is_server_compatible() : line 230] - Airtime version: 1.9.4
2011-10-22 02:19:08,159 INFO - [api_client.py : is_server_compatible() : line 231] - pypo is at version 1.9.4 and is compatible with this version of Airtime.
2011-10-22 02:19:08,160 INFO - [pypopush.py : run() : line 190] - heartbeat
2011-10-22 02:19:08,161 DEBUG - [pypopush.py : push() : line 111] - Notifying Liquidsoap to stop playback.
2011-10-22 02:19:08,162 INFO - [pypofetch.py : set_export_source() : line 88] - Creating cache directory at /var/tmp/airtime/pypo/cache/scheduler/
2011-10-22 02:19:08,163 INFO - [pypofetch.py : __init__() : line 64] - PypoFetch: init complete
2011-10-22 02:19:08,163 DEBUG - [pypopush.py : push() : line 118] - [Errno 111] Connection refused
2011-10-22 02:19:08,163 DEBUG - [pypopush.py : push() : line 121] - Could not connect to liquidsoap
2011-10-22 02:19:08,164 INFO - [api_client.py : get_schedule() : line 241] - Fetching schedule from
http://localhost:80/api/schedule/api_key/%%api_key%%
2011-10-22 02:19:08,304 INFO - [pypofetch.py : main() : line 365] - Bootstrap schedule received: {u'status': {u'range': {u'start': u'2011-10-22 02:19:08', u'end': u'2011-10-23 02:19:08'}, u'version': u'1.1'}, u'server_timezone': u'+0400', u'playlists': [], u'check': 1, u'stream_metadata': {u'station_name': u'', u'format': u''}}
2011-10-22 02:19:08,312 ERROR - [pypofetch.py : process_schedule() : line 169] - Exception [Errno 111] Connection refused
2011-10-22 02:19:08,313 DEBUG - [pypofetch.py : prepare_playlists() : line 201] - Schedule is empty.
2011-10-22 02:19:08,324 DEBUG - [pypofetch.py : cleanup() : line 344] - trying to remove /var/tmp/airtime/pypo/cache/scheduler/2011-10-21-02-18-00 - timestamp: 1319149080.0
2011-10-22 02:19:08,388 INFO - [pypofetch.py : cleanup() : line 350] - sucessfully removed /var/tmp/airtime/pypo/cache/scheduler/2011-10-21-02-18-00
2011-10-22 02:19:08,389 INFO - [pypofetch.py : main() : line 367] - Bootstrap complete: got initial copy of the schedule
2011-10-22 02:19:08,389 INFO - [pypofetch.py : init_rabbit_mq() : line 68] - Initializing RabbitMQ stuff
2011-10-22 02:19:08,406 DEBUG - [connection.py : _start() : line 648] - Start from server, version: 8.0, properties: {u'information': 'Licensed under the MPL. See
http://www.rabbitmq.com/
', u'product': 'RabbitMQ', u'version': '2.3.1', u'copyright': 'Copyright (C) 2007-2011 VMware, Inc.', u'platform': 'Erlang/OTP'}, mechanisms: ['PLAIN', 'AMQPLAIN'], locales: ['en_US']
2011-10-22 02:19:08,441 DEBUG - [connection.py : _open_ok() : line 494] - Open OK! known_hosts []
2011-10-22 02:19:08,442 DEBUG - [channel.py : __init__() : line 70] - using channel_id: 1
2011-10-22 02:19:08,443 DEBUG - [channel.py : _open_ok() : line 484] - Channel open
2011-10-22 02:19:08,445 INFO - [pypofetch.py : main() : line 376] - Loop #1
2011-10-22 02:19:10,166 DEBUG - [pypopush.py : push() : line 67] - Received data from pypo-fetch
2011-10-22 02:19:10,166 DEBUG - [pypopush.py : push() : line 71] - schedule []
2011-10-22 02:19:10,166 DEBUG - [pypopush.py : push() : line 72] - playlists {}
2011-10-22 02:19:35,886 INFO - [pypopush.py : run() : line 190] - heartbeat
3 Comments
sorted by
Votes
Date Added
Vote Up
0
Vote Down
Golikov Igor
October 2011
Posts: 13
Member
i found that pypopush.py tries to connect to 127.0.0.1 1234 (line 118)
Vote Up
0
Vote Down
Golikov Igor
October 2011
Posts: 13
Member
It still doesn't work. After downgrade from 11.04 to 10.04 it started to work. But after 2 played song I got same error.
Vote Up
0
Vote Down
Golikov Igor
October 2011
Posts: 13
Member
Looks like that is because i commented following line
output_icecast_mp3 = true
Add a Comment
Start a New Discussion
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
8,397
Sourcefabric
↳
Announcements
25
Newscoop
↳
Newscoop Support
2,189
↳
Newscoop Development
722
↳
Newscoop Security
13
↳
Newscoop Documentation
17
↳
Newscoop Themes
69
Airtime
↳
Airtime Support
3,139
↳
Airtime Development
1,286
↳
Airtime Français
146
↳
Airtime Documentation
14
↳
Airtime Hacks
102
↳
Promote your station!
37
↳
Airtime Security
11
Booktype
↳
Booktype Support
277
↳
Booktype Development
55
↳
Booktype Documentation
7
Superdesk
↳
Superdesk Development
264
↳
Web Publisher
21
Poll
No poll attached to this discussion.
Top Posters
Albert FR
1978
Martin Konecny
1860
Andrey Podshivalov
1526
Voisses Tech
1423
John Chewter
899
Daniel James
844
Roger Wilco
784
hoerich
627
Paul Baranowski
389
Cliff Wang
339