GithubHelp home page GithubHelp logo

aceproxy's Introduction

AceProxy: Ace Stream HTTP Proxy

AceProxy allows you to watch Ace Stream live streams or BitTorrent files over HTTP. It's written in Python + gevent and should work on both Linux and Windows (Mac OS should work too, but was not tested)

Currently it supports Ace Stream Content-ID hashes (PIDs), .acestream files and usual torrent files.

For installation, configuration and using info, visit Wiki

aceproxy's People

Contributors

andreypavlenko avatar deseven avatar hnknta avatar ikatson avatar valdikss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aceproxy's Issues

p2pproxy doesn't work

Hello!
I've tried ace proxy and it works well.
Then i did something and p2pproxy plugin stopped working. I uninstalled ace proxy and did fresh install (win 7). I follow instruction for p2pproxy (user name and pass). VLC and proxy start but p2pproxy plugin - can't get playlist. Torrenttv, allfon plugin work fine.
what can i do to fix it?

Проблемы с подключением к потоку

День добрый! Использую связук aceproxe+torrent-tv, сегодня ни как не хотят запускаться несколько HD каналов. Пробовал получить новые ссылки из playlist'a torrent-tv - ничего не помогает. Если включить acelive файл, через AceStream Player, то все работает. В чем может быть проблема?

Привожу часть лога aceproxy:

28.08.2015 09:42:41 WARNING root: Dying with error
94.242.221.167 - - [28/Aug/2015 09:42:41] code 500, message Internal Server Error
94.242.221.167 - - [28/Aug/2015 09:42:41] "GET /torrent/http%3A%2F%2Fcontent.torrent-tv.ru%2FQk9qaGkya1pKdlFVY3lhRXUvMkdaZTRqemZ3R1Y2TFBXaGlqd0Nqek54MkswR3pZNklsN1lQdmd2TFlFVG95WGVlamtNNXRQZWdVVS9UVmF2VVJDb3c9PQ%2F13110.acelive/stream.mp4 HTTP/1.0" 500 -
28.08.2015 09:42:41 DEBUG HTTP: END REQUEST
28.08.2015 09:42:41 DEBUG HTTP: That was the last client, destroying AceClient
28.08.2015 09:42:41 DEBUG http_hangDetector: Client disconnected
28.08.2015 09:42:41 DEBUG AceClient_recvdata: Got SHUTDOWN from engine
28.08.2015 09:42:41 DEBUG AceClient_recvdata: Got SHUTDOWN from engine
28.08.2015 09:42:41 DEBUG AceClient_recvdata: Got SHUTDOWN from engine
28.08.2015 09:42:41 ERROR VlcClient_recvData: Broadcast does not exist!
28.08.2015 09:42:41 ERROR VlcClient_stopBroadcast: stopBroadcast error
28.08.2015 09:42:41 DEBUG AceClient_destroy: Destroying client...
28.08.2015 09:42:41 ERROR HTTP: Traceback (most recent call last):
File "./acehttp.py", line 324, in handleRequest
self.url = self.url.replace('127.0.0.1', AceConfig.acehost)
AttributeError: 'NoneType' object has no attribute 'replace'

Implement HLS

Any idea if it is possible to get this on a Roku or through Plex (ideally without transcoding for the Roku)?

Cheers

Abandoned?

Is the project considered as abandoned as the repo title says? I'm building an HTPC now and might contribute something back if I find bugs or things to improve (if any).

Torrent-tv Plugin

Проблема с torrent-tv плагином. На всех каналах играет музыка из Morrowind и данное изображение http://pix.my/t4icbVMS?1440164830
На p2pProxy плагине таки проблем нет.

ImportError: No module named gevent

lexxnsk@debian:/aceproxy$ python2 ./acehttp.py
Traceback (most recent call last):
File "./acehttp.py", line 9, in
import gevent
ImportError: No module named gevent
lexxnsk@debian:
/aceproxy$

вот такая проблема. уже переустановил все, что можно. Пробую в Дебиан Джесси на Виртуалбоксе.

python -c "import gevent; print gevent.version"
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named gevent
lexxnsk@debian:~/aceproxy$

exxnsk@debian:/aceproxy$ sudo pip show gevent
Name: gevent
Version: 1.1.2
Summary: Coroutine-based network library
Home-page: http://www.gevent.org/
Author: Jason Madden
Author-email: [email protected]
License: MIT
Location: /root/.local/lib/python2.7/site-packages
Requires: greenlet
lexxnsk@debian:
/aceproxy$

lexxnsk@debian:/aceproxy$ python -V
Python 2.7.12
lexxnsk@debian:
/aceproxy$ python2 -V
Python 2.7.12

Ошибки при запуске

Установил по инструкции в WIKI, получаю ошибки при запуске, ругается на опции в конфиге:

C:\Users\Daggers>python.exe C:\Users\Daggers\aceproxy\acehttp.py
Traceback (most recent call last):
File "C:\Users\Daggers\aceproxy\acehttp.py", line 27, in
import aceconfig
File "C:\Python27\lib\site-packages\gevent\builtins.py", line 93, in _import
_
result = _import(*args, **kwargs)
File "C:\Users\Daggers\aceproxy\aceconfig.py", line 131
videodelay = 0
^
IndentationError: unexpected indent

C:\Users\Daggers>python.exe C:\Users\Daggers\aceproxy\acehttp.py
Traceback (most recent call last):
File "C:\Users\Daggers\aceproxy\acehttp.py", line 27, in
import aceconfig
File "C:\Python27\lib\site-packages\gevent\builtins.py", line 93, in _import
_
result = _import(*args, **kwargs)
File "C:\Users\Daggers\aceproxy\aceconfig.py", line 138
videoobey = False
^
IndentationError: unexpected indent

C:\Users\Daggers>python.exe C:\Users\Daggers\aceproxy\acehttp.py
Traceback (most recent call last):
File "C:\Users\Daggers\aceproxy\acehttp.py", line 27, in
import aceconfig
File "C:\Python27\lib\site-packages\gevent\builtins.py", line 93, in _import
_
result = _import(*args, **kwargs)
File "C:\Users\Daggers\aceproxy\aceconfig.py", line 145
videopausedelay = 0
^
IndentationError: unexpected indent

После комментирования всех этих опций при запуске получаю ошибку:

C:\Users\Daggers>python.exe C:\Users\Daggers\aceproxy\acehttp.py
Traceback (most recent call last):
File "C:\Users\Daggers\aceproxy\acehttp.py", line 29, in
import vlcclient
File "C:\Python27\lib\site-packages\gevent\builtins.py", line 93, in _import
_
result = import(*args, **kwargs)
File "C:\Users\Daggers\aceproxy\vlcclient_init
.py", line 1, in
from vlcclient import *
File "C:\Python27\lib\site-packages\gevent\builtins.py", line 93, in _import
_
result = _import(*args, **kwargs)
File "C:\Users\Daggers\aceproxy\vlcclient\vlcclient.py", line 7, in
import gevent.coros
File "C:\Python27\lib\site-packages\gevent\builtins.py", line 93, in _import
_
result = _import(*args, **kwargs)
ImportError: No module named coros

Не запускается трансляция

29.11.2015 05:20:00 DEBUG AceClient_aceInit: aceInit ended
29.11.2015 05:20:00 DEBUG HTTP: AceClient inited
29.11.2015 05:20:00 DEBUG AceClient_recvdata: STATUS changed to main:loading
29.11.2015 05:20:00 ERROR AceClient_recvdata: LOADASYNC returned error with message: bad bencoded data
29.11.2015 05:20:00 ERROR AceClient_START: START error!
29.11.2015 05:20:00 ERROR HTTP: Exception: AceException('START error!',)
29.11.2015 05:20:00 WARNING root: Dying with error
87.255.31.183 - - [29/Nov/2015 05:20:00] code 500, message Internal Server Error
87.255.31.183 - - [29/Nov/2015 05:20:00] "GET /pid/71416f5c776dca7d379de6d5699b9c61a049069a/stream.mp4 HTTP/1.0" 500 -
29.11.2015 05:20:00 DEBUG HTTP: END REQUEST
29.11.2015 05:20:00 DEBUG HTTP: That was the last client, destroying AceClient
29.11.2015 05:20:00 DEBUG http_hangDetector: Client disconnected
29.11.2015 05:20:00 DEBUG AceClient_recvdata: STATUS changed to main:idle
29.11.2015 05:20:00 DEBUG AceClient_destroy: Destroying client...
29.11.2015 05:20:00 ERROR VlcClient_recvData: Broadcast does not exist!
29.11.2015 05:20:00 DEBUG AceClient_recvdata: Got SHUTDOWN from engine

Aceproxy not work?

Hello, already with desperately. Where do I find a error?

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.10
Release:    14.10
Codename:   utopic

acestreamengine -v
version: 3.0.3 revision: 1355M

sudo acestreamengine --stream-source --name "stv1" --title "stv1" --source "http://192.168.0.19:4242/bysid/3001" --bitrate 300000 --publish-dir "/var/www/html/" --cache "/tmp/" --quality SD --category sport
/usr/lib/python2.7/dist-packages/pkg_resources.py:1049: UserWarning: /home/marian/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
  warnings.warn(msg, UserWarning)
2015-05-24 16:25:03,275|MainThread|acestream|enable debug: 0
2015-05-24 16:25:03,360|MainThread|acestream.SocketHandler.InterruptSocket|bound on 127.0.0.1:41591
2015-05-24 16:25:03,361|MainThread|acestream.SocketHandler.SocketHandler|bind: socket bound: host=0.0.0.0 port=7764
2015-05-24 16:25:03,362|MainThread|acestream.LM|listen on 7764
2015-05-24 16:25:03,427|MainThread|acestream.InfiniteHTTPStream|open stream: url=http://192.168.0.19:4242/bysid/3001 reader=builtin thread=MainThread
2015-05-24 16:25:03,451|AceStreamCoreThread|acestream.Live.Storage|__init__: type=disk size=209715200 overflow=5242880 dir=/tmp/ piecelen=262144 chunklen=16384 chunks_per_piece=16 delete_pieces_before_playback=0
2015-05-24 16:25:03,452|AceStreamCoreThread|acestream.StorageEngineDisk|cache path: /tmp/tmpD3e29g
2015-05-24 16:25:03,456|VideoSourceThread-17|acestream.videosource|started input thread
2015-05-24 16:25:03,476|MainThread|acestream.streamer|private node: 0
2015-05-24 16:25:03,477|MainThread|acestream.streamer|trackers: ['http://192.168.0.19:7764/announce']
2015-05-24 16:25:03,477|MainThread|acestream.streamer|metatrackers: []
2015-05-24 16:25:03,478|MainThread|acestream.streamer|bitrate: 300000
2015-05-24 16:25:03,478|MainThread|acestream.streamer|piece size: 262144
2015-05-24 16:25:03,478|MainThread|acestream.streamer|chunk size: 16384
2015-05-24 16:25:03,479|MainThread|acestream.streamer|publish dir: /var/www/html/
2015-05-24 16:25:03,479|MainThread|acestream.streamer|cache dir: /tmp/
2015-05-24 16:25:05,405|Thread-14|acestream.upnp|Unable to create Port Forward. Error:Action Failed

As assembled acestream played on WIN7 it is ok-http://192.168.0.19/stv1.acelive

run aceproxy(locally acestreamengine --source..)


./acehttp.py
24.05.2015 16:23:22 DEBUG INIT: Plugin loaded: Stat
24.05.2015 16:23:22 DEBUG VlcClient_init: Successfully connected with VLC socket!
24.05.2015 16:23:22 INFO VlcClient_recvData: Authentication successful
24.05.2015 16:23:24 INFO HTTP: Ace Stream spawned with pid 5816
24.05.2015 16:23:24 INFO HTTP: Using gevent 1.0
24.05.2015 16:23:24 INFO HTTP: Using psutil 2.1.1
24.05.2015 16:23:24 INFO HTTP: Using VLC VLC media player 2.2.0 Weatherwax
24.05.2015 16:23:24 INFO HTTP: Server started.

but here my effort ends.
I do not know how to actually open the stream.For example:
http://127.0.0.1:8082/192.168.0.19/stv1.acelive
and variations ends


24.05.2015 16:23:24 INFO HTTP: Using VLC VLC media player 2.2.0 Weatherwax
24.05.2015 16:23:24 INFO HTTP: Server started.
24.05.2015 16:34:45 INFO http_HTTPHandler: Accepted connection from 127.0.0.1 path /192.168.0.19/stv1.acelive
24.05.2015 16:34:45 WARNING root: Dying with error
127.0.0.1 - - [24/May/2015 16:34:45] code 400, message Bad Request
127.0.0.1 - - [24/May/2015 16:34:45] "GET /192.168.0.19/stv1.acelive HTTP/1.1" 400 -

http://127.0.0.1:8082/stat
its ok.

Where to look for errors?
|Thread-14|acestream.upnp|Unable to create Port Forward. Error:Action Failed ???
24.05.2015 16:23:24 INFO HTTP: Using psutil 2.1.1 ???
in the process of opening the stream? ???
or?

Provide VLC streaming

Hi!

I want to realise a TV from aceproxy at some 'tv' host, an android player and a monitor. I do not like how existing android apps handle playlists, plus I want this setup to be headless and to control it by simply wgetting an URL like http://tv:8000/pid/CID/stream.mp4.

Right now aceproxy internally makes VLC to broadcast to http://tv:8081/CID and proxies this stream to http://tv:8000/pid/CID/stream.mp4.

I wonder if aceproxy could provide an option to not append CID to VLC braodcast destination, so that it would be simply fixed http://tv:8081?

Changes are required then to VLC control:
https://github.com/ValdikSS/aceproxy/blob/master/vlcclient/vlcmessages.py#L15
https://github.com/ValdikSS/aceproxy/blob/master/acehttp.py#L344

And proxy at https://github.com/ValdikSS/aceproxy/blob/master/acehttp.py#L377 then renders redundant as it degenerates into simple blocking call until wgetter exits.

Such setup would allow for easier control over headless TV.

Does the idea understandable and/or welcome?

TIA,
--Vladimir

проблема воспроизведения с 2х устройств

с недавнего времени при одновременном использовании прокси на 2х устройствах начинаются проблемы, точнее нельзя включить 2 одинаковых канала одновременно.
в логах вот что, после перезагрузки прокси все работает, пока опять не включишь 2 одинаковых канала.

18.08.2015 22:31:01 INFO http_HTTPHandler: Accepted connection from 192.168.1.100 path /torrent/http%3A%2F%2Fcontent.torrent-tv.ru%2FUVNJaUJWSVVzQ3Z3M0dhdktwZlBFNWJVMDFlWHBMUzMvYzU4RWNhcHNKdFRBR3ZsTGlUdE9IVGhMN09kUzFrZXdqVUhFdVR5UGtkM2R6cC9WWWN3amc9PQ%2Fcdn%2F24_reg.acelive/stream.mp4
18.08.2015 22:31:01 INFO AceClient_init: Successfully connected with Ace!
18.08.2015 22:31:01 DEBUG HTTP: AceClient created
18.08.2015 22:31:01 DEBUG HTTP: hangDetector spawned
18.08.2015 22:31:11 ERROR AceClient_aceInit: Authentication timeout. Wrong key?
18.08.2015 22:31:11 ERROR HTTP: Exception: AceException('Authentication timeout. Wrong key?',)
18.08.2015 22:31:11 WARNING root: Dying with error
18.08.2015 22:31:11 DEBUG HTTP: END REQUEST
18.08.2015 22:31:11 DEBUG HTTP: That was the last client, destroying AceClient
18.08.2015 22:31:11 DEBUG http_hangDetector: Client disconnected
18.08.2015 22:31:11 DEBUG AceClient_destroy: Destroying client...
18.08.2015 22:31:11 ERROR VlcClient_recvData: Broadcast does not exist!

Torrent-TV

В конфиге указал ссылку на плейлист, но при получении плейлиста с прокси, то получается такая ошибка:
Error response
Error code 500.
Message: Internal Server Error.
Error code explanation: 500 = Server got itself in trouble.
Плагин Torrent-TV

Aceproxy, Mips & Ubuntu 14.04

Hello,

Still hoping to get acestream working on vu duo2 set top box (mips) which has a port of xbmc installed. I have giving up with W7 and installed ubuntu 14.04..
Installed acestream & proxy and all dependancies.. but still have an issue,..

I started engine -

james81@UX:~$ acestreamengine --client-console --bind-all
/usr/lib/python2.7/dist-packages/pkg_resources.py:1049: UserWarning: /home/james81/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
warnings.warn(msg, UserWarning)
2015-01-19 00:13:58,295|MainThread|acestream|platform=linux
2015-01-19 00:13:58,296|MainThread|acestream|app=acestream
2015-01-19 00:13:58,296|MainThread|acestream|version=3.0.3 code=3000300 revision=1355 date=2014-10-31
2015-01-19 00:13:58,296|MainThread|acestream|use_local_db=True
2015-01-19 00:13:58,296|MainThread|acestream|use_m2crypto=True
2015-01-19 00:13:58,296|MainThread|acestream|enable debug: 0
2015-01-19 00:13:58,297|MainThread|acestream|get_default_api_version: 2
2015-01-19 00:13:58,297|MainThread|acestream.coreapp|use fixed i2i_port: 62062
2015-01-19 00:13:58,333|MainThread|acestream.coreapp|cannot load session config, use default
2015-01-19 00:13:58,365|MainThread|acestream.SocketHandler.InterruptSocket|bound on 127.0.0.1:56933
2015-01-19 00:13:58,365|MainThread|acestream.SocketHandler.SocketHandler|bind: socket bound: host=0.0.0.0 port=8621
2015-01-19 00:13:58,366|MainThread|acestream.LM|listen on 8621
2015-01-19 00:13:58,378|MainThread|acestream.VideoServer|start: addr= port=6878
2015-01-19 00:13:58,396|MainThread|acestream.SocketHandler.InterruptSocket|bound on 127.0.0.1:43112
2015-01-19 00:13:58,397|MainThread|acestream.SocketHandler.SocketHandler|bind: socket bound: host=0.0.0.0 port=62062
2015-01-19 00:13:58,397|Instance2InstanceThread-24|acestream.APIServer|run: ready to receive remote commands on 62062

I then started VLC -

james81@UX:~$ vlc -I telnet --clock-jitter -1 --network-caching -1 --sout-mux-caching 2000 --telnet-password admin
VLC media player 2.2.0-pre2 Weatherwax (revision 2.2.0-pre1-15-g5178b24)
[0000000001bb8658] [telnet] lua interface: Listening on host "telnet://localhost:4212".

Then I start aceproxy -

james81@UX:$ python acehttp.py
python: can't open file 'acehttp.py': [Errno 2] No such file or directory
james81@UX:
$ cd aceproxy
james81@UX:/aceproxy$ python acehttp.py
19.01.2015 00:14:53 DEBUG INIT: Plugin loaded: Torrenttv
19.01.2015 00:14:53 DEBUG INIT: Plugin loaded: Stat
19.01.2015 00:14:53 DEBUG INIT: Plugin loaded: P2pproxy
19.01.2015 00:14:53 DEBUG INIT: Plugin loaded: Torrenttelik
Traceback (most recent call last):
File "acehttp.py", line 486, in
server = HTTPServer((AceConfig.httphost, AceConfig.httpport), HTTPHandler)
File "/usr/lib/python2.7/SocketServer.py", line 419, in init
self.server_bind()
File "/usr/lib/python2.7/BaseHTTPServer.py", line 108, in server_bind
SocketServer.TCPServer.server_bind(self)
File "/usr/lib/python2.7/SocketServer.py", line 430, in server_bind
self.socket.bind(self.server_address)
File "", line 1, in bind
socket.error: [Errno 98] Address already in use
james81@UX:
/aceproxy$

Seems to be conflict?

Multiple stream by a same chnnel

Hi,very very nice programm now can i watch on all my devisses.

then you can put in a option to watch a same chanel at one time?

how can i sponsored you for this nice programm?

More detailed instructions

Hi I followed your instructions but I get stuck at the bottom when I try to get things running. You suggest starting VLC and Acestream engine but Im confused. Which command is used to start Acestream. There are many options. Is it one of these below?
Also when I start VLC using your commands it does not allow me to do anything else so I cannot then start the proxy. Is there a way to start VLC as a daemon instead? Thanks

usage: acestreamengine
[--client-console | --client-wx | --client-gtk | --stream-source-node | --stream-support-node | --stream-startup-node | --create-transport | --create-transport-multi | --start-tracker | --get-infohash PATH |-get-file-info PATH | --get-file-info-with-id PATH | -v]

Acestream 3.0 problem

Hey! Been using this with great success with 2.1 on Ubuntu but the recent move to 3.0 seems to have broken something. I'm running acestream engine as such: "~/acestream_3.0.0-a18_ubuntu_12.04_x86_64/acestreamengine --lib-path ~/acestream_3.0.0-a18_ubuntu_12.04_x86_64 --client-console --upload-limit 7000000 &"

Here's the log output:

30.08.2014 11:55:53 INFO http_HTTPHandler: Accepted connection from x.x.x.x path /pid/11f2eb93cfe49106b5336b9d36ce05de493c5692/stream.mp4
30.08.2014 11:55:53 INFO AceClient_init: Successfully connected with Ace!
30.08.2014 11:55:53 DEBUG http_HTTPHandler: AceClient created
30.08.2014 11:55:53 DEBUG http_HTTPHandler: hangDetector spawned
2014-08-30 11:55:53,533|Instance2InstanceThread-24|acestream.coreapp|external_connection_made: ip=127.0.0.1 port=40627 myip=127.0.0.1 myport=62062 connections=1
2014-08-30 11:55:53,535|BGTaskQueueThread-1|acestream.coreapp|got command: HELLOBG version=3
2014-08-30 11:55:53,536|BGTaskQueueThread-1|acestream.BGInstanceConnection|send HELLOTS version=3.0.0-a18 version_code=3000018 key=7eefc2c407 http_port=6878
2014-08-30 11:55:54,331|BGTaskQueueThread-1|acestream.coreapp|got command: READY key=n51LvQoTlJzNGaFxseRK-227b0c8605f58f2e23664cf6594de3521f812f42
2014-08-30 11:55:54,331|BGTaskQueueThread-1|acestream.BGInstanceConnection|send NOTREADY
30.08.2014 11:55:54 ERROR AceClient_recvdata: Ace is not ready. Wrong auth?
30.08.2014 11:55:54 ERROR AceClient_aceInit: Authentication error. Wrong key?
30.08.2014 11:55:54 ERROR http_HTTPHandler: Exception: AceException('Authentication error. Wrong key?',)
30.08.2014 11:55:54 WARNING root: Dying with error
vps.com - - [30/Aug/2014 11:55:54] code 500, message Internal Server Error
vps.com - - [30/Aug/2014 11:55:54] "GET /pid/11f2eb93cfe49106b5336b9d36ce05de493c5692/stream.mp4 HTTP/1.1" 500 -

Any ideas?

Thanks!

Прокси не стартует

выдает такие ошибки
python aceproxy/acehttp.py
12.05.2016 14:38:35 DEBUG INIT: Plugin loaded: Stat
12.05.2016 14:38:35 DEBUG INIT: Plugin loaded: Torrenttelik
12.05.2016 14:38:35 DEBUG INIT: Plugin loaded: P2pproxy
12.05.2016 14:38:35 DEBUG INIT: Plugin loaded: Torrenttv
12.05.2016 14:38:35 DEBUG INIT: Plugin loaded: Allfon
Traceback (most recent call last):
File "aceproxy/acehttp.py", line 495, in
server = HTTPServer((AceConfig.httphost, AceConfig.httpport), HTTPHandler)
File "/usr/lib/python2.7/SocketServer.py", line 420, in init
self.server_bind()
File "/usr/lib/python2.7/BaseHTTPServer.py", line 108, in server_bind
SocketServer.TCPServer.server_bind(self)
File "/usr/lib/python2.7/SocketServer.py", line 434, in server_bind
self.socket.bind(self.server_address)
File "", line 1, in bind
socket.error: [Errno 98] Address already in use

aceproxy error

Hello,
I've installed aceproxy on ubuntu server (14.04) with acestreamengine (version: 3.0.3 revision: 1355) and I tried unsuccessfully to use P2P-Stream (installed on OpenELEC 5/RPi) with the proxy. Please see below the log of the aceproxy if someone can help.


12.08.2015 21:58:04 INFO http_HTTPHandler: Accepted connection from 192.168.1.10 path /pid/http://super-pomoyka.us.to/trash/ttv-list/acelive/462_all.acelive/stream.mp4
192.168.1.10 - - [12/Aug/2015 21:58:04] "HEAD /pid/http://super-pomoyka.us.to/trash/ttv-list/acelive/462_all.acelive/stream.mp4 HTTP/1.1" 200 -
12.08.2015 21:58:04 INFO http_HTTPHandler: Accepted connection from 192.168.1.10 path /pid/http://super-pomoyka.us.to/trash/ttv-list/acelive/462_all.acelive/stream.mp4
192.168.1.10 - - [12/Aug/2015 21:58:04] "HEAD /pid/http://super-pomoyka.us.to/trash/ttv-list/acelive/462_all.acelive/stream.mp4 HTTP/1.1" 200 -
12.08.2015 21:58:04 INFO http_HTTPHandler: Accepted connection from 192.168.1.10 path /pid/http://super-pomoyka.us.to/trash/ttv-list/acelive/462_all.acelive/stream.mp4
12.08.2015 21:58:04 INFO AceClient_init: Successfully connected with Ace!
12.08.2015 21:58:04 DEBUG HTTP: AceClient created
12.08.2015 21:58:04 DEBUG HTTP: hangDetector spawned
12.08.2015 21:58:05 DEBUG AceClient_aceInit: aceInit ended
12.08.2015 21:58:05 DEBUG HTTP: AceClient inited
12.08.2015 21:58:05 DEBUG AceClient_recvdata: STATUS changed to main:loading
12.08.2015 21:58:06 ERROR AceClient_recvdata: LOADASYNC returned error with message: Cannot load transport file
12.08.2015 21:58:06 ERROR AceClient_START: START error!
12.08.2015 21:58:06 ERROR HTTP: Exception: AceException('START error!',)
12.08.2015 21:58:06 WARNING root: Dying with error
192.168.1.10 - - [12/Aug/2015 21:58:06] code 500, message Internal Server Error
192.168.1.10 - - [12/Aug/2015 21:58:06] "GET /pid/http://super-pomoyka.us.to/trash/ttv-list/acelive/462_all.acelive/stream.mp4 HTTP/1.1" 500 -
12.08.2015 21:58:06 DEBUG HTTP: END REQUEST
12.08.2015 21:58:06 DEBUG HTTP: That was the last client, destroying AceClient
12.08.2015 21:58:06 DEBUG AceClient_destroy: Destroying client...
12.08.2015 21:58:06 DEBUG AceClient_recvdata: STATUS changed to main:idle
12.08.2015 21:58:06 DEBUG http_hangDetector: Client disconnected
12.08.2015 21:58:06 DEBUG AceClient_recvdata: Got SHUTDOWN from engine

P2pproxy плагин не дает Discovery, Nat Geo и еще некоторые каналы.

P2pproxy плагин не дает Discovery, Nat Geo и еще некоторые каналы.
Логин пароль вписан верно 10 раз проверял,балланс оверположительный, ставил разные сборки, ничего не помогает.
Через торент тв плагин работает нормально - плейлист полный,Ts-proxy p2pproxy тоже все ок, а p2pproxy plugin невкакую.
А хочется смотреть через виджет.

http://127.0.0.1:8081/channels/ дает мне:

http___127.0.0.1_8081_channels.xml.zip

Way slow playback start

Hi!

Setup:

$ uname -a
Linux tv 3.16.0-28-generic #38-Ubuntu SMP Fri Dec 12 17:38:37 UTC 2014 i686 i686 i686 GNU/Linux

in virtualbox under iron windows 7.

Vanilla setup (no VLC, but looks like it turns out it's irrelevant here) from master, engine started with: acecmd = "acestreamengine --client-console --log-stderr --live-cache-type memory --live-cache-size 128000000"

VLC client at third machine, starts after circa 40-50 seconds. Neither excess processor activity, nor excess network activity due to aceproxy seen.

Now with acehost = '192.168.1.2' where the IP is iron windows host, running ace_engine.exe.

Same VLC client, starts after circa 4 seconds (only buffering done, as prescipted, I believe).

Wonder what can be the causes?

TIA,
--Vladimir

python-psutil is in deps

Hi!

python-psutil is needed for master -- I believe wiki should be updated.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.10
Release:        14.10
Codename:       utopic
$ uname -a
Linux tv 3.16.0-28-generic #38-Ubuntu SMP Fri Dec 12 17:38:37 UTC 2014 i686 i686 i686 GNU/Linux

TIA,
--Vladimir

Raspberry Pi 2 as local TS-Proxy?

Hello. I'm willing to make a local TS Proxy to watch Torrent-TV on my Samsung Smart TV using Raspberry Pi 2. Is it possible?

I managed to get everything working under Windows but I don't like to keep my desktop PC powered on all the time (noise, power consumption etc.). That's why I thought I could set up TS-Proxy on a Raspberry Pi 2 device I recently bought.

I tried to install both VLC and aceproxy using Your tutorial and they're both running on Raspbian jessie, but only after setting them up I read the text at the instruction manual "This article assumes you have Ace Stream installed". Obviously my plan failed due to the lack of Ace Stream engine for Raspberry Pi 2.

Is there any chance to get AceStream engine running on RPi2? I've found Raspbmc (http://ru.man.wikia.com/wiki/Raspbmc) but haven't tried that yet and I think that's not what I need (I don't want to watch TTV on RPi2, I want to use it only as a HTTP proxy for Smart TV).

I've heard that there were some AceStream builds for ARM that are not available officially anymore. Do they still work with Torrent-TV? Or maybe I can use AceStream builds for Debian as the Raspbian OS is a hybrid from this Linux disty?

I hope to get any answer sooner than later about my chances. :) Thanks!

VLC: MPEG-4 descriptor not found

Hello,

I faced with problem when I try open channel at VLC, i use Ubuntu aceproxy.
When I run vlc with telnet and python2 acehttp.py then I try open channel at VLC via proxy I get output (python2 acehttp.py):

18.10.2015 09:56:44 INFO http_HTTPHandler: Accepted connection from xx.xxx.xxx.xxx path /pid/d6bdc8edc8fcc563b1770195e6113626d004f277/stream.mp4
18.10.2015 09:56:44 INFO AceClient_init: Successfully connected with Ace!
18.10.2015 09:56:44 DEBUG HTTP: AceClient created
18.10.2015 09:56:44 DEBUG HTTP: hangDetector spawned
18.10.2015 09:56:44 DEBUG AceClient_aceInit: aceInit ended
18.10.2015 09:56:44 DEBUG HTTP: AceClient inited
18.10.2015 09:56:44 DEBUG AceClient_recvdata: STATUS changed to main:loading
18.10.2015 09:56:44 DEBUG AceClient_recvdata: Content info: {u'status': 1, u'files': [[u'National%20Geographic%20HD', 0]], u'infohash': u'0d6969b6abd25648074c1fc8c375a6b21b245d12', u'checksum': u'48ec7b315ede6d9e7d4b5b7d16e5e33ca6e5ff28'}
18.10.2015 09:56:44 DEBUG HTTP: START done
18.10.2015 09:56:44 DEBUG AceClient_recvdata: STATUS changed to main:idle
18.10.2015 09:56:45 DEBUG AceClient_recvdata: STATUS changed to main:starting
18.10.2015 09:56:46 DEBUG AceClient_recvdata: STATUS changed to main:prebuf
18.10.2015 09:56:46 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
18.10.2015 09:56:46 DEBUG AceClient_recvdata: Seeking back
18.10.2015 09:56:47 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
18.10.2015 09:56:47 DEBUG HTTP: Got url http://127.0.0.1:6878/content/0d6969b6abd25648074c1fc8c375a6b21b245d12/0.306337011575
18.10.2015 09:56:47 DEBUG VlcClient_recvData: Broadcast started
18.10.2015 09:56:47 DEBUG VlcClient_startBroadcast: Broadcast started
18.10.2015 09:56:48 DEBUG HTTP: VLC url http://127.0.0.1:8081/d6bdc8edc8fcc563b1770195e6113626d004f277
xx.xxx.xxx.xxx - - [18/Oct/2015 09:56:48] "GET /pid/d6bdc8edc8fcc563b1770195e6113626d004f277/stream.mp4 HTTP/1.1" 200 -
18.10.2015 09:56:48 DEBUG HTTP: Headers sent
18.10.2015 09:56:48 DEBUG http_proxyReadWrite: Started
18.10.2015 09:56:48 DEBUG AceClient_recvdata: STATUS changed to main:dl
18.10.2015 09:56:48 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
18.10.2015 09:56:49 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
18.10.2015 09:56:50 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
18.10.2015 09:56:51 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
18.10.2015 09:56:52 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
18.10.2015 09:56:53 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
18.10.2015 09:56:54 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
18.10.2015 09:56:55 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
18.10.2015 09:56:56 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
18.10.2015 09:56:57 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
18.10.2015 09:56:58 WARNING http_proxyReadWrite: Video connection closed
18.10.2015 09:56:58 DEBUG http_hangDetector: Client disconnected
18.10.2015 09:56:58 DEBUG HTTP: END REQUEST
18.10.2015 09:56:58 DEBUG HTTP: Sleeping for 3 seconds
18.10.2015 09:56:58 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
18.10.2015 09:56:59 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
18.10.2015 09:57:00 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
18.10.2015 09:57:01 DEBUG HTTP: That was the last client, destroying AceClient
18.10.2015 09:57:01 DEBUG VlcClient_recvData: Broadcast stopped
18.10.2015 09:57:01 DEBUG VlcClient_stopBroadcast: Broadcast stopped
18.10.2015 09:57:01 DEBUG AceClient_destroy: Destroying client...
18.10.2015 09:57:01 DEBUG AceClient_recvdata: Got SHUTDOWN from engine

AND I get error at VLC at Ubuntu:

[0x7fcbf000e548] [Media: d6bdc8edc8fcc563b1770195e6113626d004f277] ts demux error: MPEG-4 descriptor not found

Channel not plays:(

Maybe you know what's can be wrong?

Thanks

Stream won't start

Any possible solution for this?

Ubuntu 14.04 dist

$uname -a
Linux 4.2.0-19-generic #23~14.04.1-Ubuntu SMP Thu Nov 12 12:33:30 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
python2 --version
Python 2.7.6
acestreamengine --version
version: 3.0.3 revision: 1355

aceconfig.py

'''
AceProxy configuration script
Edit this file.
'''

import logging
import acedefconfig
from aceclient.acemessages import AceConst


class AceConfig(acedefconfig.AceDefConfig):
    acespawn = True
    acecmd = "acestreamengine --client-console"
    acekey = 'n51LvQoTlJzNGaFxseRK-uvnvX-sD4Vm5Axwmc4UcoD-jruxmKsuJaH0eVgE'
    acehost = '127.0.0.1'
    aceport = 62062
    aceage = AceConst.AGE_18_24
    acesex = AceConst.SEX_MALE
    acestartuptimeout = 10
    aceconntimeout = 5
    aceresulttimeout = 10
    debug = logging.DEBUG

    httphost = '0.0.0.0'
    httpport = 8000
    aceproxyuser = ''
    firewall = False
    firewallblacklistmode = False
        '127.0.0.1',
        '192.168.0.0/16',
        )
    maxconns = 10
    loggingtoafile = False
    logpath = ''

    vlcuse = True
    vlcspawn = True
    vlccmd = "vlc -I telnet --clock-jitter -1 --network-caching -1 --sout-mux-caching 2000 --telnet-password admin --telnet-port 4212"
    vlcspawntimeout = 5
    vlchost = '127.0.0.1'
    vlcport = 4212
    vlcoutport = 8081
    vlcpass = 'admin'
    vlcpreaccess = ''
    vlcmux = 'ts'
    vlcforceffmpeg = False

    videodelay = 0
    videoobey = True
    videopausedelay = 2
    videoseekback = 0
    videodestroydelay = 3
    videotimeout = 40
    fakeuas = ('Mozilla/5.0 IMC plugin Macintosh', )

    fakeheaderuas = ('HLS Client/2.0 (compatible; LG NetCast.TV-2012)',
                     'Mozilla/5.0 (DirectFB; Linux armv7l) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ LG Browser/5.00.00(+mouse+3D+SCREEN+TUNER; LGE; 42LM670T-ZA; 04.41.03; 0x00000001;); LG NetCast.TV-2012 0'
                     )
25.01.2016 08:29:08 DEBUG HTTP: START done
25.01.2016 08:29:08 DEBUG AceClient_recvdata: STATUS changed to main:idle
25.01.2016 08:29:08 DEBUG AceClient_recvdata: STATUS changed to main:starting
25.01.2016 08:29:09 DEBUG AceClient_recvdata: STATUS changed to main:prebuf
25.01.2016 08:29:09 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:10 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:11 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:12 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:13 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:14 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:15 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:16 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:17 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:18 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:19 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:20 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:21 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:22 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:23 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:24 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:25 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:26 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:27 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:28 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:29 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:30 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:31 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:32 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:33 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:34 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:35 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:36 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:37 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:38 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:39 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:40 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:41 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:42 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:43 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:44 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:45 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:46 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:47 DEBUG AceClient_recvdata: Current position/last/buf: 100/100/10
25.01.2016 08:29:48 ERROR AceClient_getURL: getURL timeout!
25.01.2016 08:29:48 ERROR HTTP: Exception: AceException('getURL timeout!',)
25.01.2016 08:29:48 WARNING root: Dying with error
127.0.0.1 - - [25/Jan/2016 08:29:48] code 500, message Internal Server Error
127.0.0.1 - - [25/Jan/2016 08:29:48] "GET /pid/b597c5c31b418c9c2461e81cca9a62cdde885fe2/stream.mp4 HTTP/1.1" 500 -
25.01.2016 08:29:48 DEBUG HTTP: END REQUEST

AceEngine does not start.

06.10.2014 02:18:00 DEBUG INIT: Plugin loaded: Stat
06.10.2014 02:18:00 DEBUG INIT: Plugin loaded: Torrenttv
06.10.2014 02:18:00 DEBUG INIT: Plugin loaded: Ytv
06.10.2014 02:18:00 INFO HTTP: Using gevent 1.0
06.10.2014 02:18:00 INFO HTTP: Server started.

but ace engine does not start i have tried reinstalling the ace but same result. running windows server 2008.

BadGateway - ...error(111, 'Connection refused')",)

Hello,
I try run aceproxy server at Ubuntu 14.04 and it's runs, but I got error:

09.08.2015 11:11:42 INFO http_HTTPHandler: Accepted connection from xxx.xxx.xxx.xxx path /pid/6e746d6c082caa0748ad760f1c5c587d048f1482/stream.mp4
09.08.2015 11:11:42 ERROR HTTP: AceClient create exception: AceException("Socket creation error! Ace is not running? error(111, 'Connection refused')",)
09.08.2015 11:11:42 WARNING root: Dying with error
87.247.111.101 - - [09/Aug/2015 11:11:42] code 502, message Bad Gateway
87.247.111.101 - - [09/Aug/2015 11:11:42] "GET /pid/6e746d6c082caa0748ad760f1c5c587d048f1482/stream.mp4 HTTP/1.0" 502 -
09.08.2015 11:11:42 DEBUG AceClient_destroy: Destroying client...

So maybe you know whats can be wrong?

I was try create server with VLC and without it, but error same.
I try open with VLC 2.2.1 at Windows 7, if it important.

Help me please.

Thanks

проблема воспроизведения torrent-telik

Не работает плагин торрент телик, перестал работать 2 дня назад Лог:
18.11.2015 01:39:55 INFO http_HTTPHandler: Accepted connection from 192.168.1.100 path /torrent-telik
18.11.2015 01:39:55 ERROR plugin_torrenttelik: Can't load JSON! ValueError('No JSON object could be decoded',)

Как я понимаю раньше торрент телик в файле http://torrent-telik.com/channels/torrent-tv.json использовал acestream://, теперь ссылки ведут просто на pid раздачи.
http://torrent-telik.com/channels/torrent-tv.m3u получает плейлист с acestream://

Improve wiki

Перед запуском прокси, вам необходимо предварительно запустить Ace Stream и VLC с telnet-интерфейсом, если вы его используете.

Не сказано, как запустить этот самый Ace Stream

Aceproxy + Mips

Hello,

I have xbmc running on a VU+ duo2 stb, which is mips based architecture.

Does acestream/aceproxy work with this set up?

I have everthing set up as per your guide but it just wont connect with the ace engine on my W7 PC.

This is where i get too but nothing conect s from the box when i try to open a live stream on the box.

17.01.2015 15:31:14 DEBUG INIT: Plugin loaded: P2pproxy
17.01.2015 15:31:14 DEBUG INIT: Plugin loaded: Stat
17.01.2015 15:31:14 DEBUG INIT: Plugin loaded: Torrenttelik
17.01.2015 15:31:14 DEBUG INIT: Plugin loaded: Torrenttv
17.01.2015 15:31:15 DEBUG VlcClient_init: Successfully connected with VLC socket
!
17.01.2015 15:31:15 INFO VlcClient_recvData: Authentication successful
17.01.2015 15:31:25 INFO HTTP: Detected ace port: 58160
17.01.2015 15:31:25 INFO HTTP: Using gevent 1.0.1
17.01.2015 15:31:25 INFO HTTP: Using psutil 2.2.0
17.01.2015 15:31:25 INFO HTTP: Using VLC VLC media player 2.0.8 Twoflower
17.01.2015 15:31:25 INFO HTTP: Server started.

I can see other xbmc from cmd terminal when use http proxy in settings, of course it comes up as error but it shows xbmc & aceproxy can see each other. Its just the aceproxy does not register at all.

I have ace 3.0.2 installed

I have copy the port from aceengine (each time i start up) to the aceconfig.py, i have set the xbmc acestream to my pc's ip address and port 8000. I have opened the ace engine port on my router and also opened 8000 port on it too.

I can watch torrent.ru streams from google chrome..

I dont know what else to do, i am starting to think mips is the problem..

Hope you can help

Python

Hello,
Can you link me to python,gevent,greenlet you used? im tryng some and getting error while running Aceproxy related to ImportError.
My OS windows server 2008 64
Thanks

EDIT: BUT now the ID works on ace player but on aceproxy it says broadcast does not exist...?

also this error

20.02.2014 06:55:37 ERROR AceClient_aceInit: Authentication timeout. Wrong key?
20.02.2014 06:55:37 ERROR http_HTTPHandler: Exception: AceException('Authenticat
ion timeout. Wrong key?',)
20.02.2014 06:55:37 WARNING root: Dying with error
xxxxxIPxxx - - [20/Feb/2014 06:55:37] code 500, message Internal Server Error

You have to install Ace Stream 2.2.9-next or newer to watch this video

Hi there,

I was getting "bad bencoded data" quite a lot on recent streams with my most recent 2.1.6 acestreamengine from the acestream repo, so I've updated my linux system to acestreamengine 3.0 http://wiki.acestream.org/wiki/index.php/AceStream_3.0.0_alpha

With ace 3.0 I'm not getting bad bencoded data any more but this in the log:

22.08.2014 23:38:54 INFO http_HTTPHandler: Accepted connection from 192.168.22.5 path /pid/4319ebdacac030dd1c0a1ce1e572a5b56d2d0f8b/.ts
22.08.2014 23:38:54 INFO AceClient_init: Successfully connected with Ace!
22.08.2014 23:38:54 DEBUG http_HTTPHandler: AceClient created
22.08.2014 23:38:54 DEBUG http_HTTPHandler: hangDetector spawned
22.08.2014 23:38:54 DEBUG AceClient_recvdata: Got SHUTDOWN from engine
22.08.2014 23:38:55 DEBUG AceClient_aceInit: aceInit ended
22.08.2014 23:38:55 DEBUG http_HTTPHandler: AceClient inited
22.08.2014 23:38:55 DEBUG AceClient_recvdata: STATUS changed to main:loading
22.08.2014 23:38:55 DEBUG AceClient_recvdata: Content info: {u'status': 1, u'files': [[u'Sky%20Sports%20F1%20%28torrent-tv.ru%29', 0]], u'infohash': u'65556f9d924ddf28886300bac1ebfbd5ebe5d1d9', u'checksum': u'c6f545f8693324c13f9ecac57ecef74ade179fce'}
22.08.2014 23:38:55 DEBUG http_HTTPHandler: START done
22.08.2014 23:38:55 DEBUG AceClient_recvdata: STATUS changed to main:idle
22.08.2014 23:38:55 DEBUG AceClient_recvdata: STATUS changed to main:starting
22.08.2014 23:38:55 DEBUG AceClient_recvdata: STATUS changed to main:idle
22.08.2014 23:38:55 DEBUG AceClient_recvdata: STATUS changed to main:err
22.08.2014 23:38:55 ERROR AceClient_recvdata: main:err with message You have to install Ace Stream 2.2.9-next or newer to watch this video. The latest software version is available at acestream.org
22.08.2014 23:38:55 ERROR http_HTTPHandler: Exception: AceException('main:err with message You have to install Ace Stream 2.2.9-next or newer to watch this video. The latest software version is available at acestream.org',)

Anything I can do about it? I couldn't find a way to properly update to 2.2.9 on linux, 3.0 seems to only thing available

Which ports can/should I open to allow incomming connections?

I understand that Acestream uses a variant of BitTorrent to work. With BitTorrent, to establish a swarm effectively both outgoing and incoming connections are necessary.

I'm using aceproxy on my notebook now, which only has full IPv6 access, IPv4 is working with NAT+IP masquerading. Which incoming ports could I forward from my router to my notebook to let aceproxy/Acestream handle incoming connections? Are these ports configurable somewhere?

Ace Engine doesn't work. Not in system tray

Hello. I have a problem with ace stream since a few days. Ace stream not appear at system tray and the ace streams links doesn't work.
"acestream.log" is here once uninstalled and installed again:

2016-09-19 17:46:26,497|MainThread|acestream|init segmenter done
2016-09-19 17:46:26,497|MainThread|acestream|platform=win32
2016-09-19 17:46:26,497|MainThread|acestream|app=acestream
2016-09-19 17:46:26,497|MainThread|acestream|version=3.1.6 code=3010601 revision=2361 date=2016/05/10 18:17:01
2016-09-19 17:46:26,499|MainThread|acestream|use_local_db=True
2016-09-19 17:46:26,499|MainThread|acestream|use_m2crypto=True
2016-09-19 17:46:26,499|MainThread|acestream|enable debug: 0
2016-09-19 17:46:26,499|MainThread|acestream|get_default_api_version: 2
2016-09-19 17:46:28,673|MainThread|acestream.coreapp|cannot load session config, use default
2016-09-19 17:46:29,898|MainThread|acestream.SocketHandler.InterruptSocket|bound on 127.0.0.1:61817
2016-09-19 17:46:29,898|MainThread|acestream.SocketHandler.SocketHandler|bind: socket bound: host=0.0.0.0 port=8621
2016-09-19 17:46:29,898|MainThread|acestream.LM|listen on 8621
2016-09-19 17:46:29,898|MainThread|acestream.localdb|No existing database found. Attempting to creating a new database u'C:\Users\garth\AppData\Roaming.ACEStream\sqlite\torrentstream.sdb'
2016-09-19 17:46:29,937|MainThread|acestream.VideoServer|start: addr= port=6878 allow_remote=0 allow_intranet=1
2016-09-19 17:46:29,938|MainThread|acestream.VideoServer|start: addr= port=6879 allow_remote=0 allow_intranet=1
2016-09-19 17:46:29,970|MainThread|acestream|error during startup
Traceback (most recent call last):
File "core.c", line 1511, in
File "core.c", line 367, in
File "core.c", line 293, in
File "core.c", line 1047, in
File "core.c", line 122, in
File "core.c", line 289, in
File "ACEStream\third_party\zeroconf\zeroconf.pyo", line 1398, in init
File "ACEStream\third_party\zeroconf\zeroconf.pyo", line 1415, in _init_sockets
File "socket.pyo", line 224, in meth
error: [Errno 10022] Se ha proporcionado un argumento no válido

have you any idea for this issue?

Thanks.

Command python acehttp.py get 100% CPU usage

I run acestreamengine first then run command
python acehttp.py

play some acestream link by
ffplay -i http://127.0.0.1:8000/pid/abcd1234.../stream.mp4

when memory of engine is over, it's killed by system auto matic
and Command python acehttp.py get 100% CPU usage

`28.04.2018 21:14:46 ERROR HTTP: AceClient create exception: AceException("Socket creation error! Ace is not running? error(24, 'Too many open files')",) [17/1284]
28.04.2018 21:14:46 WARNING root: Dying with error
127.0.0.1 - - [28/Apr/2018 21:14:46] code 502, message Bad Gateway
127.0.0.1 - - [28/Apr/2018 21:14:46] "GET /pid/1315df58796db2325c2fdc52631f2f39c53b93c6/stream.mp4 HTTP/1.1" 502 -
28.04.2018 21:14:46 DEBUG AceClient_destroy: Destroying client...
28.04.2018 21:14:46 INFO http_HTTPHandler: Accepted connection from 127.0.0.1 path /pid/1724d7f4ee4e9b40924ea89bb24f30cafe4daa9f/stream.mp4
28.04.2018 21:14:46 ERROR HTTP: AceClient create exception: AceException("Socket creation error! Ace is not running? error(24, 'Too many open files')",)
28.04.2018 21:14:46 WARNING root: Dying with error
127.0.0.1 - - [28/Apr/2018 21:14:46] code 502, message Bad Gateway
127.0.0.1 - - [28/Apr/2018 21:14:46] "GET /pid/1724d7f4ee4e9b40924ea89bb24f30cafe4daa9f/stream.mp4 HTTP/1.1" 502 -
28.04.2018 21:14:46 DEBUG AceClient_destroy: Destroying client...
29.04.2018 02:30:53 DEBUG http_hangDetector: Client disconnected
29.04.2018 02:30:53 DEBUG HTTP: END REQUEST
29.04.2018 02:30:53 DEBUG HTTP: Sleeping for 3 seconds
29.04.2018 02:30:53 INFO http_HTTPHandler: Accepted connection from 127.0.0.1 path /pid/1b5c343c2cc146d86c449c202a98132b8a2e03b4/stream.mp4
29.04.2018 02:30:53 ERROR HTTP: AceClient create exception: AceException("Socket creation error! Ace is not running? error(24, 'Too many open files')",)
29.04.2018 02:30:53 WARNING root: Dying with error

127.0.0.1 - - [29/Apr/2018 02:30:53] code 502, message Bad Gateway
127.0.0.1 - - [29/Apr/2018 02:30:53] "GET /pid/1b5c343c2cc146d86c449c202a98132b8a2e03b4/stream.mp4 HTTP/1.1" 502 -
29.04.2018 02:30:53 DEBUG AceClient_destroy: Destroying client...
29.04.2018 02:30:56 DEBUG HTTP: That was the last client, destroying AceClient
29.04.2018 02:30:56 INFO http_HTTPHandler: Accepted connection from 127.0.0.1 path /pid/2de26a9a525b357e5b873fa1710bae1e6ec148fb/stream.mp4
29.04.2018 02:30:56 ERROR HTTP: AceClient create exception: AceException("Socket creation error! Ace is not running? error(24, 'Too many open files')",)
29.04.2018 02:30:56 WARNING root: Dying with error
127.0.0.1 - - [29/Apr/2018 02:30:56] code 502, message Bad Gateway
127.0.0.1 - - [29/Apr/2018 02:30:56] "GET /pid/2de26a9a525b357e5b873fa1710bae1e6ec148fb/stream.mp4 HTTP/1.1" 502 -
29.04.2018 02:30:56 DEBUG AceClient_destroy: Destroying client...
29.04.2018 02:30:56 INFO http_HTTPHandler: Accepted connection from 127.0.0.1 path /pid/419a38f9dc342b9c02df70d14552fed53dac5933/stream.mp4
29.04.2018 02:30:56 ERROR HTTP: AceClient create exception: AceException("Socket creation error! Ace is not running? error(24, 'Too many open files')",)
29.04.2018 02:30:56 WARNING root: Dying with error
127.0.0.1 - - [29/Apr/2018 02:30:56] code 502, message Bad Gateway
127.0.0.1 - - [29/Apr/2018 02:30:56] "GET /pid/419a38f9dc342b9c02df70d14552fed53dac5933/stream.mp4 HTTP/1.1" 502 -
29.04.2018 02:30:56 DEBUG AceClient_destroy: Destroying client...
`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.