Ace-stream not working on Windows 10 or 11 x64

I am not able to run the latest Acestream server 3.2.5
I have tried reinstalling it, disabling windows firewall, adding specific windows firewall rules for acestream and the engine, but nothing seems to work, it just won’t open the server.

It was working fine few weeks ago. Not sure what has changed.

The logs are showing this message:

2024-05-09 09:23:33,978|MainThread|acestream.SocketHandler.InterruptSocket|bound on 127.0.0.1:50700
2024-05-09 09:23:33,979|MainThread|acestream.SocketHandler.SocketHandler|bind: socket bound: host=0.0.0.0 port=8621
2024-05-09 09:23:33,979|MainThread|acestream.LM|listen on 8621
2024-05-09 09:23:34,269|MainThread|acestream.httpserver|start: addr= port=6878 allow_remote=0 allow_intranet=1
2024-05-09 09:23:34,270|MainThread|acestream|failed to init app: OSError(10013, ‘An attempt was made to access a socket in a way forbidden by its access permissions’, None, 10013, None)
Traceback (most recent call last):
File “core.c”, line 419, in
File “core.c”, line 1433, in
File “core.c”, line 1739, in
File “ACEStream\Video\VideoServer.pyc”, line 123, in init
File “socketserver.pyc”, line 452, in init
File “http\server.pyc”, line 138, in server_bind
File “socketserver.pyc”, line 466, in server_bind
OSError: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions
2024-05-09 09:23:34,324|MainThread|acestream.coreapp|_exit_shutdown: session_port=-1 force=False
2024-05-09 09:23:34,342|MainThread|acestream.coreapp|_exit_shutdown: error
Traceback (most recent call last):
File “core.c”, line 6704, in
AttributeError: ‘NoneType’ object has no attribute ‘shutdown’

Any help is appreciated. Thanks!

Such error can be raised due to firewall related problem or due ports overlapping.
You should reboot your laptop/PC and try to run Ace Stream first, before any other internet-related apps (browser, chat, IM client, etc).
Also you can check for system “excluded” ports - run in the elevated CMD prompt

netsh interface ipv4 show excludedportrange protocol=tcp

Thanks for your response Benny.
This is the result of that command:

Protocol tcp Port Exclusion Ranges

Start Port    End Port
----------    --------
      5357        5357
      6823        6922
     50000       50059     *
     64891       64990

* - Administered port exclusions.

It appears like the port used by ace_engine according to the log is excluded in that range of tcp ports (6878).

How can I change that?

Thanks!

After some googling, I tried executing:

net stop winnat
net start winnat

And now those port ranges are no longer excluded. I don’t know what application excluded those ports, but now it’s working fine.

Thanks for your support!

I am not able to watch any ace streams at all. I get this error when I launch a stream either by link or content ID. Any advice is welcome, thanks.

2024-11-05 13:51:06,054|BGTaskQueueThread-2|acestream.coreapp|got command: READY key=1mcXu2Ujtsjy9z7k-0e619db47646c99add294fe6b812d6c5809d3c31
2024-11-05 13:51:06,055|BGTaskQueueThread-2|acestream.BGInstanceConnection|send AUTH 197
2024-11-05 13:51:06,064|BGTaskQueueThread-2|acestream.coreapp|got command: LOADASYNC 4660 PID e61b6538df35e5016635dfa2b3073f5b82ee4c2b
2024-11-05 13:51:06,069|BGTaskQueueThread-2|acestream.BGInstanceConnection|send_load_response: request_id=4660 response={“status”: 1, “files”: [[“SPORT1%2B%20%5BDE%5D”, 0]], “infohash”: “ff6a3378d51f3b4d92b8444d72576a6df97dbdc4”, “checksum”: “3c9d6a246fbd2816e6eaa08e7c8ffecfbd166807”}
2024-11-05 13:51:06,070|BGTaskQueueThread-2|acestream.coreapp|got command: START PID e61b6538df35e5016635dfa2b3073f5b82ee4c2b 0 fullscreen=0
2024-11-05 13:51:06,073|BGTaskQueueThread-2|acestream.BGInstanceConnection|send STATE 1
2024-11-05 13:51:06,073|BGTaskQueueThread-2|acestream.coreapp|start_download_wrapper: dlfile=SPORT1+ [DE] fileindex=0
2024-11-05 13:51:06,073|BGTaskQueueThread-2|acestream.coreapp|start_download_wrapper: starting new download
2024-11-05 13:51:06,076|BGTaskQueueThread-2|acestream.coreapp|start_download: starting new download: infohash=ff6a3378d51f3b4d92b8444d72576a6df97dbdc4 tftype=bt provider=None(None) initialdlstatus=None output_format=default pausable=None transcode=(audio=False mp3=False ac3=False)
2024-11-05 13:51:06,106|AceStreamCoreThread|acestream.LiveDownloadImpl.ff6a3378d51f3b4d92b8444d72576a6df97dbdc4|network_create_engine_wrapper: error
Traceback (most recent call last):
File “ACEStream\Core\APIImplementation\LiveDownloadImpl.pyc”, line 244, in network_create_engine_wrapper
File “core.c”, line 1139, in
File “core.c”, line 1315, in
File “core.c”, line 125, in
File “ACEStream\Core\Session.pyc”, line 445, in add_port_forward_listener
AttributeError: ‘NoneType’ object has no attribute ‘add_listener’
2024-11-05 13:51:06,136|AceStreamCoreThread|acestream.LM|_run: error
Traceback (most recent call last):
File “ACEStream\Core\APIImplementation\LaunchManyCore.pyc”, line 533, in _run
File “ACEStream\Core\BitTornado\ServerPortHandler.pyc”, line 322, in listen_forever
File “ACEStream\Core\BitTornado\RawServer.pyc”, line 238, in listen_forever
File “core.c”, line 241, in
TypeError: object of type ‘NoneType’ has no len()

I am also a premium paid member since about a week ago but haven’t been able to watch any streams on PC due to this error. I am on Windows 10. Android phone works fine though.

I have tried:

  • reinstalling AceStream with all AntiVirus, Windows Defender, Firewall turned off.
  • manually putting content ID into AceStream and AcePlayer
  • Manually starting the Ace Engine
  • Manually starting AceStream as “Run as Admin”
  • Checking port 6878 is available using netsh command in elevated CMD
  • Clear Disk cache from tray icon’s settings
  • Enable UPnP from tray icon’s settings
  • Enable Debug from tray icon’s settings

UPDATE: It is now working. Looks like it was one of the last three things I tried fixed it. (it was either Disk cache, Enable UPnP or Enable Debug in the tray icon’s settings)