Cannot connect to engine check if engine installed lỗi năm 2024

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

The text was updated successfully, but these errors were encountered:

Are you referring to the commit 996e891?

well, the thing is before that commit i was getting error related to ace key that it could not get etc. so i downloaded the latest *.zip and its having mentioned issue.

What's the problem then? If you didn't configure aceengine to start in aceconfig.py, it won't start automatically.

do we need to edit something in the aceconfig.py? in the older version it started automatically.

No, it never started automatically. Code for autostart has been added only 2 days ago with commit 996e891

see what im doing is, download the latest package and double click the acehttp.py (default config) and this is the result

06.10.2014 02:27:53 DEBUG INIT: Plugin loaded: Stat 06.10.2014 02:27:53 DEBUG INIT: Plugin loaded: Torrenttv 06.10.2014 02:27:53 DEBUG INIT: Plugin loaded: Ytv 06.10.2014 02:27:53 INFO HTTP: Using gevent 1.0 06.10.2014 02:27:53 INFO HTTP: Server started. 06.10.2014 02:28:00 INFO http_HTTPHandler: Accepted connection from 127.0.0.1 pa th /pid/ID/stream.mp4 06.10.2014 02:28:01 ERROR http_HTTPHandler: AceClient create exception: AceExcep tion("Socket creation error! Ace is not running? error(10061, 'No connection cou ld be made because the target machine actively refused it.')",) 06.10.2014 02:28:01 WARNING root: Dying with error 127.0.0.1 - - [06/Oct/2014 02:28:01] code 502, message Bad Gateway 127.0.0.1 - - [06/Oct/2014 02:28:01] "GET /pid/ID/stream.mp4 HTTP/1.1" 502 - 06.10.2014 02:28:01 DEBUG AceClient_destroy: Destroying client...

and i dont see the aceengine's icon at systray.

a simple answer should have been: set acespawn = False to True so it starts automatically.

but im still stuck. now the engine starts but error:

06.10.2014 03:05:25 DEBUG INIT: Plugin loaded: Stat 06.10.2014 03:05:25 DEBUG INIT: Plugin loaded: Torrenttv 06.10.2014 03:05:25 DEBUG INIT: Plugin loaded: Ytv 06.10.2014 03:05:26 INFO HTTP: Ace Stream spawned with pid 5204 06.10.2014 03:05:26 INFO HTTP: Using gevent 1.0 06.10.2014 03:05:26 INFO HTTP: Server started. 06.10.2014 03:05:43 INFO http_HTTPHandler: Accepted connection from 127.0.0.1 pa th /pid/580b988f3460aee637859d378acf4645ef406b5c/stream.mp4 06.10.2014 03:05:44 ERROR http_HTTPHandler: AceClient create exception: AceExcep tion("Socket creation error! Ace is not running? error(10061, 'No connection cou ld be made because the target machine actively refused it.')",) 06.10.2014 03:05:44 WARNING root: Dying with error 127.0.0.1 - - [06/Oct/2014 03:05:44] code 502, message Bad Gateway 127.0.0.1 - - [06/Oct/2014 03:05:44] "GET /pid/580b988f3460aee637859d378acf4645e f406b5c/stream.mp4 HTTP/1.1" 502 - 06.10.2014 03:05:44 DEBUG AceClient_destroy: Destroying client...

This is not a proxy issue.

ValdikSS, on Windows, the AceStream were able to start automatically even before my commit, you can check the previous version of the aceconfig.py, there were start routines for AceStream on Windows.

wmsgeek, can you please try to start the acestream engine manually and to set the acestream port in the proxy config?

@deseven Damn, you're absolutely right, I totally forgot that.

I have it set spawn to True which starts the engine automatically, which is what i wanted. Btw most of the vlc versions do not work for me had to install a specific to get it to conneect but still i cant play the stream no activity on acehttp.py but if i disable vlc ( vlc false) it connects but then the acengine error ocures that is cant connect to aceengine even though its running. Not sure if my system is messed up or the aceproxy is buggy. Everything was fine days back but it started to throw key related errors. Maybe make it more user friendly by compiling everything in a .exe or something :)

Windows VLC builds have broken telnet interface. Use VLC 2.0.8, it should work. Linux versions are all fine.

Yep thats the one im using. Dont know why im getting acengine error.

Does it work with older revisions?

  1. Run the acestream engine manually (make sure that the icon appears in the systray).
  2. Get the port number from acestream.port file (in the acestream dir).
  3. Define the port in the aceconfig.py (aceport variable) and set acespawn to False.
  4. Run aceproxy.

That'll help us to know whether it's related to my commit or not.

after following your^ steps: C:\p2p>acehttp.py 08.10.2014 03:21:12 DEBUG INIT: Plugin loaded: Stat 08.10.2014 03:21:12 DEBUG INIT: Plugin loaded: Torrenttv 08.10.2014 03:21:12 DEBUG INIT: Plugin loaded: Ytv 08.10.2014 03:21:12 INFO HTTP: Using gevent 1.0 08.10.2014 03:21:12 INFO HTTP: Server started.

playing this URL :http://127.0.0.1:8000/pid/580b988f3460aee637859d378acf4645ef406b5c/stream.mp4

but no activity at acehttp.py

edit: instead of using 127.0.0.1 in the config i have used public IP and it seems to be working now. will be doing some further testing.

That's kinda strange... Please tell us the exact acestream version you're using. It seems that something is wrong with the localhost binding (maybe for both the proxy and the acestream).

@deseven, it could be that some exception is thrown and caught, but without printing it. But i'm not sure. @wmsgeek, please test with older revision.

@ValdikSS i'm pretty sure that i always print something on possible errors. He said that he can't access the proxy on 127.0.0.1, maybe acestream is not accessible on localhost too.

Can't reproduce that on a clean windows installs (7 and 2003). Found a small bug in spawning procedures which can lead to a zombie process in a very rare circumstances, but it has nothing to do with this issue.

Closing in 3 days in case of no reply.

rtfpessoa pushed a commit to rtfpessoa/aceproxy that referenced this issue