GithubHelp home page GithubHelp logo

martinbjeldbak / acestream-http-proxy Goto Github PK

View Code? Open in Web Editor NEW
15.0 6.0 5.0 54 KB

Stream AceStream sources on macOS and other systems without needing to install AceStream player

Home Page: https://hub.docker.com/r/martinbjeldbak/acestream-http-proxy

Dockerfile 100.00%
acestream acestream-http-proxy acestream-player docker hls mpeg-ts

acestream-http-proxy's Introduction

AceStream HTTP Proxy

Build and push Docker image to DockerHub Lint

This Docker image runs the AceStream Engine and exposes its HTTP API.

As a result, you will be able to watch AceStreams over HLS or MPEG-TS, without needing to install the AceStream player or any other dependencies locally.

This is especially useful for Desktop and NAS usage for anyone who wants to tune in to AceStream channels, and who don't want to go through the trouble of installing AceStream and its dependencies natively.

Note: ARM-based CPUs are not currently supported, see issues #5 and #13.

Usage

Ensure you have Docker installed and running. You can then pull down and run the container as shown below.

docker run -t -p 80:80 ghcr.io/martinbjeldbak/acestream-http-proxy

You are then able to access AceStreams by pointing your favorite media player (VLC, IINA, etc.) to either of the below URLs, depending on the desired streaming protocol.

For HLS:

http://127.0.0.1/ace/manifest.m3u8?id=dd1e67078381739d14beca697356ab76d49d1a2

For MPEG-TS:

http://127.0.0.1/ace/getstream?id=dd1e67078381739d14beca697356ab76d49d1a2

where dd1e67078381739d14beca697356ab76d49d1a2d is the ID of the AceStream channel.

This image can also be deployed to a server, where it can proxy AceStream content over HTTP.

Contributing

First of all, thanks!

Ensure you have Docker installed with support for docker-compose, as outlined above. This image is simply a simplified wrapper around the AceStream HTTP API in order to make it more user friendly to get running. All options supported by the AceStream Engine are supported in this project. Any contributions to support more configuration is greatly appreciated!

Dockerfile steps are roughly guided by https://wiki.acestream.media/Install_Ubuntu.

For a list of AceStream versions, see here: https://docs.acestream.net/products/#linux

For convenience of easy image rebuilding, this repository contains a docker-compose.yml file. You can then build & run the image locally by running the following command:

docker-compose up --build

The image will now be running, with the following ports exposed:

  • 6878: AceStream engine port. Docs for command line arguments and debugging can be found here

acestream-http-proxy's People

Contributors

dependabot[bot] avatar martinbjeldbak avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

acestream-http-proxy's Issues

Issue UnicodeDecodeError

Hello, I've been running the docker for months without an issue but I've recently been having this issue, this doesn't stop the container but the urls I used to use with my VLC are not working any longer, the only solution is to restart the container until it fails.

It looks like there is a UnicodeDecodeError in your Python application, specifically in the check_plugin_signature function of the ACEStream/PluginsContainer/streamlink/session.py module. The error is caused by attempting to decode a byte sequence that contains non-ASCII characters using the 'ascii' codec.

Can you please check it and let me know how to fix it? thanks in advance for your help?

`

date stream content
2024-02-11T10:48:02.260573496Z stdout UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 1834: ordinal not in range(128)
2024-02-11T10:48:02.260500268Z stdout return codecs.ascii_decode(input, self.errors)[0]
2024-02-11T10:48:02.260441576Z stdout File "/usr/lib/python3.8/encodings/ascii.py", line 26, in decode
2024-02-11T10:48:02.260360111Z stdout File "ACEStream/PluginsContainer/streamlink/session.py", line 531, in check_plugin_signature
2024-02-11T10:48:02.260245988Z stdout Traceback (most recent call last):
2024-02-11T10:48:00.154301369Z stdout 2024-02-11 10:48:00,153|ProxyServerTaskQueueThread-3|acestream.streamlink|check_plugin_signature: error
2024-02-11T10:47:58.714172502Z stdout UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position 769: ordinal not in range(128)
2024-02-11T10:47:58.714124788Z stdout return codecs.ascii_decode(input, self.errors)[0]
2024-02-11T10:47:58.714066468Z stdout File "/usr/lib/python3.8/encodings/ascii.py", line 26, in decode
2024-02-11T10:47:58.714008238Z stdout File "ACEStream/PluginsContainer/streamlink/session.py", line 531, in check_plugin_signature
2024-02-11T10:47:58.713880424Z stdout Traceback (most recent call last):
2024-02-11T10:47:58.713196337Z stdout 2024-02-11 10:47:58,712|ProxyServerTaskQueueThread-3|acestream.streamlink|check_plugin_signature: error
2024-02-11T10:47:52.991884883Z stdout 2024-02-11 10:47:49,751|PlaylistTaskManagerThread-32|acestream.TaskManager|started
2024-02-11T10:47:52.991779469Z stdout 2024-02-11 10:47:49,749|Instance2InstanceThread-31|acestream.APIServer|run: ready to receive remote commands on 62062
2024-02-11T10:47:52.991712857Z stdout 2024-02-11 10:47:49,747|MainThread|acestream.SocketHandler.SocketHandler|bind: socket bound: host=0.0.0.0 port=62062
2024-02-11T10:47:52.991615004Z stdout 2024-02-11 10:47:49,746|MainThread|acestream.SocketHandler.InterruptSocket|bound on 127.0.0.1:46270
2024-02-11T10:47:52.991510156Z stdout 2024-02-11 10:47:49,670|MainThread|acestream.VideoServer|start: addr= port=80 allow_remote=0 allow_intranet=1
2024-02-11T10:47:52.991346317Z stdout 2024-02-11 10:47:49,626|MainThread|acestream.LM|listen on 8621
2024-02-11T10:47:52.990373346Z stdout 2024-02-11 10:47:49,625|MainThread|acestream.SocketHandler.SocketHandler|bind: socket bound: host=0.0.0.0 port=8621
2024-02-11T10:47:52.990322531Z stdout 2024-02-11 10:47:49,624|MainThread|acestream.SocketHandler.InterruptSocket|bound on 127.0.0.1:58349
2024-02-11T10:47:52.990268725Z stdout 2024-02-11 10:47:49,601|MainThread|acestream.coreapp|cannot load session config, use default
2024-02-11T10:47:52.990215878Z stdout 2024-02-11 10:47:49,582|MainThread|acestream|set debug level: 0
2024-02-11T10:47:52.990168003Z stdout 2024-02-11 10:47:49,581|MainThread|acestream|enable debug: 0
2024-02-11T10:47:52.990106914Z stdout 2024-02-11 10:47:49,579|MainThread|acestream.coreapp|set_debug_from_ui: level=0
2024-02-11T10:47:52.990034592Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:47:52.989959843Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:47:52.989870844Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:47:52.989740558Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:47:52.989517797Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:47:52.989473881Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:47:52.989416662Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:47:52.989345774Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:47:52.989298826Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:47:52.989248102Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:47:52.989203253Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:47:52.989156457Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:47:52.989032659Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:47:49.398996091Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:47:49.296522328Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:47:49.285989408Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:47:49.274701073Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:47:49.265372175Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:47:49.255889394Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:47:49.246654507Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:47:49.236965771Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:47:49.225869128Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:47:49.214930540Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:47:49.204111249Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:47:49.193195567Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:47:49.182937570Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:47:49.025361852Z stdout 2024-02-11 10:47:49,024|MainThread|acestream.coreapp|state_dir='/root/.ACEStream'
2024-02-11T10:47:49.024317546Z stdout 2024-02-11 10:47:49,023|MainThread|acestream.coreapp|use fixed i2i_port: 62062
2024-02-11T10:47:49.023137450Z stdout 2024-02-11 10:47:49,022|MainThread|acestream|get_default_api_version: 2
2024-02-11T10:47:49.021084720Z stdout 2024-02-11 10:47:49,020|MainThread|acestream.coreapp|process monitor initialized
2024-02-11T10:47:49.018430899Z stdout 2024-02-11 10:47:49,017|MainThread|acestream.coreapp|pid=9
2024-02-11T10:47:48.999817839Z stdout 2024-02-11 10:47:48,999|MainThread|acestream|set debug level: 0
2024-02-11T10:47:48.998466838Z stdout 2024-02-11 10:47:48,998|MainThread|acestream|enable debug: 0
2024-02-11T10:47:48.997684143Z stdout 2024-02-11 10:47:48,997|MainThread|acestream|python_version=3.8.0-final-0
2024-02-11T10:47:48.996891180Z stdout 2024-02-11 10:47:48,996|MainThread|acestream|user_agent=Mozilla/5.0 (Linux) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.50 Safari/537.36 AceStream/3.1.75rc4
2024-02-11T10:47:48.996053224Z stdout 2024-02-11 10:47:48,995|MainThread|acestream|is_gui_mode=0
2024-02-11T10:47:48.995064596Z stdout 2024-02-11 10:47:48,994|MainThread|acestream|use_m2crypto=False
2024-02-11T10:47:48.994241979Z stdout 2024-02-11 10:47:48,993|MainThread|acestream|use_local_db=True
2024-02-11T10:47:48.993235547Z stdout 2024-02-11 10:47:48,992|MainThread|acestream|version=3.1.75rc4 code=3017500 revision=d7429ec date=2022-10-19
2024-02-11T10:47:48.992474323Z stdout 2024-02-11 10:47:48,992|MainThread|acestream|app=acestream
2024-02-11T10:47:48.991454067Z stdout 2024-02-11 10:47:48,990|MainThread|acestream|platform=linux
2024-02-11T10:47:48.990739475Z stdout 2024-02-11 10:47:48,990|MainThread|acestream|Start Ace Stream 3.1.75rc4
2024-02-11T10:47:48.988820906Z stdout 2024-02-11 10:47:48,987|MainThread|acestream|init segmenter done: log_path=/root/.ACEStream/logs/segmenter.log
2024-02-11T10:40:21.958632401Z stdout UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 1834: ordinal not in range(128)
2024-02-11T10:40:21.958583328Z stdout return codecs.ascii_decode(input, self.errors)[0]
2024-02-11T10:40:21.958469837Z stdout File "/usr/lib/python3.8/encodings/ascii.py", line 26, in decode
2024-02-11T10:40:12.555373123Z stdout File "ACEStream/PluginsContainer/streamlink/session.py", line 531, in check_plugin_signature
2024-02-11T10:40:12.555245844Z stdout Traceback (most recent call last):
2024-02-11T10:40:12.238523459Z stdout 2024-02-11 10:40:12,237|ProxyServerTaskQueueThread-3|acestream.streamlink|check_plugin_signature: error
2024-02-11T10:40:01.871696177Z stdout UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position 769: ordinal not in range(128)
2024-02-11T10:40:01.871646589Z stdout return codecs.ascii_decode(input, self.errors)[0]
2024-02-11T10:40:01.871590314Z stdout File "/usr/lib/python3.8/encodings/ascii.py", line 26, in decode
2024-02-11T10:40:01.871527692Z stdout File "ACEStream/PluginsContainer/streamlink/session.py", line 531, in check_plugin_signature
2024-02-11T10:40:01.871405799Z stdout Traceback (most recent call last):
2024-02-11T10:40:01.870266100Z stdout 2024-02-11 10:40:01,828|ProxyServerTaskQueueThread-3|acestream.streamlink|check_plugin_signature: error
2024-02-11T10:39:35.222258631Z stdout 2024-02-11 10:39:35,211|PlaylistTaskManagerThread-32|acestream.TaskManager|started
2024-02-11T10:39:35.222202216Z stdout 2024-02-11 10:39:35,208|Instance2InstanceThread-31|acestream.APIServer|run: ready to receive remote commands on 62062
2024-02-11T10:39:35.222129867Z stdout 2024-02-11 10:39:35,207|MainThread|acestream.SocketHandler.SocketHandler|bind: socket bound: host=0.0.0.0 port=62062
2024-02-11T10:39:35.222081596Z stdout 2024-02-11 10:39:35,206|MainThread|acestream.SocketHandler.InterruptSocket|bound on 127.0.0.1:51724
2024-02-11T10:39:35.222030347Z stdout 2024-02-11 10:39:34,885|MainThread|acestream.VideoServer|start: addr= port=80 allow_remote=0 allow_intranet=1
2024-02-11T10:39:35.221982632Z stdout 2024-02-11 10:39:34,039|MainThread|acestream.LM|listen on 8621
2024-02-11T10:39:35.221930179Z stdout 2024-02-11 10:39:34,038|MainThread|acestream.SocketHandler.SocketHandler|bind: socket bound: host=0.0.0.0 port=8621
2024-02-11T10:39:35.221873669Z stdout 2024-02-11 10:39:34,038|MainThread|acestream.SocketHandler.InterruptSocket|bound on 127.0.0.1:53445
2024-02-11T10:39:35.221819745Z stdout 2024-02-11 10:39:33,110|MainThread|acestream.coreapp|cannot load session config, use default
2024-02-11T10:39:35.221772327Z stdout 2024-02-11 10:39:32,902|MainThread|acestream|set debug level: 0
2024-02-11T10:39:35.221724884Z stdout 2024-02-11 10:39:32,902|MainThread|acestream|enable debug: 0
2024-02-11T10:39:35.221667184Z stdout 2024-02-11 10:39:32,900|MainThread|acestream.coreapp|set_debug_from_ui: level=0
2024-02-11T10:39:35.221622722Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:39:35.221577362Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:39:35.221531231Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:39:35.221486336Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:39:35.221437393Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:39:35.221360599Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:39:35.221316448Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:39:35.221272799Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:39:35.221220971Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:39:35.221175644Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:39:35.221123111Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:39:35.220977359Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:39:35.220933975Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:39:35.220889677Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:39:35.220842936Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:39:35.220796394Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:39:35.220748838Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:39:35.220704732Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:39:35.220660870Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:39:35.220617056Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:39:35.220572765Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:39:35.220526342Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:39:35.220468351Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:39:35.220385041Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:39:35.220263597Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:39:32.674342555Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T10:39:29.929110481Z stdout 2024-02-11 10:39:29,928|MainThread|acestream.coreapp|state_dir='/root/.ACEStream'
2024-02-11T10:39:29.928901644Z stdout 2024-02-11 10:39:29,928|MainThread|acestream.coreapp|use fixed i2i_port: 62062
2024-02-11T10:39:29.928607982Z stdout 2024-02-11 10:39:29,928|MainThread|acestream|get_default_api_version: 2
2024-02-11T10:39:29.927582770Z stdout 2024-02-11 10:39:29,927|MainThread|acestream.coreapp|process monitor initialized
2024-02-11T10:39:29.926602067Z stdout 2024-02-11 10:39:29,926|MainThread|acestream.coreapp|pid=9
2024-02-11T10:39:29.777293939Z stdout 2024-02-11 10:39:29,777|MainThread|acestream|set debug level: 0
2024-02-11T10:39:29.776560847Z stdout 2024-02-11 10:39:29,776|MainThread|acestream|enable debug: 0
2024-02-11T10:39:29.776203769Z stdout 2024-02-11 10:39:29,775|MainThread|acestream|python_version=3.8.0-final-0
2024-02-11T10:39:29.775994410Z stdout 2024-02-11 10:39:29,775|MainThread|acestream|user_agent=Mozilla/5.0 (Linux) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.50 Safari/537.36 AceStream/3.1.75rc4
2024-02-11T10:39:29.775659973Z stdout 2024-02-11 10:39:29,775|MainThread|acestream|is_gui_mode=0
2024-02-11T10:39:29.775264666Z stdout 2024-02-11 10:39:29,775|MainThread|acestream|use_m2crypto=False
2024-02-11T10:39:29.775085229Z stdout 2024-02-11 10:39:29,774|MainThread|acestream|use_local_db=True
2024-02-11T10:39:29.774908049Z stdout 2024-02-11 10:39:29,774|MainThread|acestream|version=3.1.75rc4 code=3017500 revision=d7429ec date=2022-10-19
2024-02-11T10:39:29.774856644Z stdout 2024-02-11 10:39:29,774|MainThread|acestream|app=acestream
2024-02-11T10:39:29.774806129Z stdout 2024-02-11 10:39:29,774|MainThread|acestream|platform=linux
2024-02-11T10:39:29.774618370Z stdout 2024-02-11 10:39:29,773|MainThread|acestream|Start Ace Stream 3.1.75rc4
2024-02-11T10:39:29.582232188Z stdout 2024-02-11 10:39:29,581|MainThread|acestream|init segmenter done: log_path=/root/.ACEStream/logs/segmenter.log
2024-02-11T09:57:19.295507482Z stdout UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 1834: ordinal not in range(128)
2024-02-11T09:57:19.295454868Z stdout return codecs.ascii_decode(input, self.errors)[0]
2024-02-11T09:57:19.295339086Z stdout File "/usr/lib/python3.8/encodings/ascii.py", line 26, in decode
2024-02-11T09:57:19.295284131Z stdout File "ACEStream/PluginsContainer/streamlink/session.py", line 531, in check_plugin_signature
2024-02-11T09:57:19.295174660Z stdout Traceback (most recent call last):
2024-02-11T09:57:19.294421694Z stdout 2024-02-11 09:57:19,293|ProxyServerTaskQueueThread-3|acestream.streamlink|check_plugin_signature: error
2024-02-11T09:57:08.425493923Z stdout UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position 769: ordinal not in range(128)
2024-02-11T09:57:08.425277929Z stdout return codecs.ascii_decode(input, self.errors)[0]
2024-02-11T09:57:08.425222276Z stdout File "/usr/lib/python3.8/encodings/ascii.py", line 26, in decode
2024-02-11T09:57:08.425164918Z stdout File "ACEStream/PluginsContainer/streamlink/session.py", line 531, in check_plugin_signature
2024-02-11T09:57:08.425056566Z stdout Traceback (most recent call last):
2024-02-11T09:57:08.424277765Z stdout 2024-02-11 09:57:08,413|ProxyServerTaskQueueThread-3|acestream.streamlink|check_plugin_signature: error
2024-02-11T09:56:58.116442997Z stdout 2024-02-11 09:56:58,115|PlaylistTaskManagerThread-32|acestream.TaskManager|started
2024-02-11T09:56:58.115698576Z stdout 2024-02-11 09:56:58,114|Instance2InstanceThread-31|acestream.APIServer|run: ready to receive remote commands on 62062
2024-02-11T09:56:58.114269541Z stdout 2024-02-11 09:56:58,113|MainThread|acestream.SocketHandler.SocketHandler|bind: socket bound: host=0.0.0.0 port=62062
2024-02-11T09:56:58.113373553Z stdout 2024-02-11 09:56:58,112|MainThread|acestream.SocketHandler.InterruptSocket|bound on 127.0.0.1:45506
2024-02-11T09:56:53.760901681Z stdout 2024-02-11 09:56:53,758|MainThread|acestream.VideoServer|start: addr= port=80 allow_remote=0 allow_intranet=1
2024-02-11T09:56:52.015328475Z stdout 2024-02-11 09:56:51,811|MainThread|acestream.localdb|No existing database found. Attempting to creating a new database '/root/.ACEStream/sqlite/torrentstream.sdb'
2024-02-11T09:56:52.015283031Z stdout 2024-02-11 09:56:51,810|MainThread|acestream.LM|listen on 8621
2024-02-11T09:56:52.015232185Z stdout 2024-02-11 09:56:51,809|MainThread|acestream.SocketHandler.SocketHandler|bind: socket bound: host=0.0.0.0 port=8621
2024-02-11T09:56:52.015181005Z stdout 2024-02-11 09:56:51,809|MainThread|acestream.SocketHandler.InterruptSocket|bound on 127.0.0.1:52935
2024-02-11T09:56:52.015125813Z stdout 2024-02-11 09:56:51,030|MainThread|acestream.coreapp|cannot load session config, use default
2024-02-11T09:56:52.015080309Z stdout 2024-02-11 09:56:50,979|MainThread|acestream|set debug level: 0
2024-02-11T09:56:52.015034111Z stdout 2024-02-11 09:56:50,978|MainThread|acestream|enable debug: 0
2024-02-11T09:56:52.014977686Z stdout 2024-02-11 09:56:50,977|MainThread|acestream.coreapp|set_debug_from_ui: level=0
2024-02-11T09:56:52.014914873Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T09:56:52.014872421Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T09:56:52.014829344Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T09:56:52.014785695Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T09:56:52.014739707Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T09:56:52.014693273Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T09:56:52.014649984Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T09:56:52.014603921Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T09:56:52.014515029Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T09:56:52.014471426Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T09:56:52.014428612Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T09:56:52.014385155Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T09:56:52.014341158Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T09:56:52.014294099Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T09:56:52.014244255Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T09:56:52.014146266Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T09:56:50.802754647Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T09:56:50.790597718Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T09:56:50.779904218Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T09:56:50.769146571Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T09:56:50.758211310Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T09:56:50.745182475Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T09:56:50.734060089Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T09:56:50.723130992Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T09:56:50.712070640Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T09:56:50.701286186Z stdout ls: cannot access '/dev/disk/by-id/': No such file or directory
2024-02-11T09:56:50.609410372Z stdout 2024-02-11 09:56:50,609|MainThread|acestream.coreapp|state_dir='/root/.ACEStream'
2024-02-11T09:56:50.609172352Z stdout 2024-02-11 09:56:50,608|MainThread|acestream.coreapp|use fixed i2i_port: 62062
2024-02-11T09:56:50.608901782Z stdout 2024-02-11 09:56:50,608|MainThread|acestream|get_default_api_version: 2
2024-02-11T09:56:50.607767362Z stdout 2024-02-11 09:56:50,607|MainThread|acestream.coreapp|process monitor initialized
2024-02-11T09:56:50.606852832Z stdout 2024-02-11 09:56:50,606|MainThread|acestream.coreapp|pid=9
2024-02-11T09:56:50.574222447Z stdout 2024-02-11 09:56:50,573|MainThread|acestream|set debug level: 0
2024-02-11T09:56:50.573553377Z stdout 2024-02-11 09:56:50,573|MainThread|acestream|enable debug: 0
2024-02-11T09:56:50.573347989Z stdout 2024-02-11 09:56:50,573|MainThread|acestream|python_version=3.8.0-final-0
2024-02-11T09:56:50.573196374Z stdout 2024-02-11 09:56:50,572|MainThread|acestream|user_agent=Mozilla/5.0 (Linux) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.50 Safari/537.36 AceStream/3.1.75rc4
2024-02-11T09:56:50.572952869Z stdout 2024-02-11 09:56:50,572|MainThread|acestream|is_gui_mode=0
2024-02-11T09:56:50.572624202Z stdout 2024-02-11 09:56:50,572|MainThread|acestream|use_m2crypto=False
2024-02-11T09:56:50.572453432Z stdout 2024-02-11 09:56:50,572|MainThread|acestream|use_local_db=True
2024-02-11T09:56:50.572094790Z stdout 2024-02-11 09:56:50,571|MainThread|acestream|version=3.1.75rc4 code=3017500 revision=d7429ec date=2022-10-19
2024-02-11T09:56:50.572044586Z stdout 2024-02-11 09:56:50,571|MainThread|acestream|app=acestream
2024-02-11T09:56:50.571989778Z stdout 2024-02-11 09:56:50,571|MainThread|acestream|platform=linux
2024-02-11T09:56:50.571791870Z stdout 2024-02-11 09:56:50,571|MainThread|acestream|Start Ace Stream 3.1.75rc4
2024-02-11T09:56:50.538179209Z stdout 2024-02-11 09:56:50,537|MainThread|acestream|init segmenter done: log_path=/root/.ACEStream/logs/segmenter.log

`

Installation on M1/M2 Mac workaround for "/lib64/ld-linux-x86-64.so.2: No such file or directory"

Installation on a running Docker instance on a M2 Mac completed successfully but refused to run.

Used the documented "docker run -t -p 6878:6878 ghcr.io/martinbjeldbak/acestream-http-proxy".

Docker terminal throwing an error message: "/lib64/ld-linux-x86-64.so.2: No such file or directory"

Googled and found a related scenario at https://stackoverflow.com/questions/68630526/lib64-ld-linux-x86-64-so-2-no-such-file-or-directory-error in the comments.

Paraphrasing poorly - Mac M1/M2 are native Arm environments and Docker gets confused running Arm containers.

Deleting the container and reinstalling adding the "--platform linux/x86_64" resolves the error. Command as follows:

"docker run -t -p 6878:6878 --platform linux/x86_64 ghcr.io/martinbjeldbak/acestream-http-proxy"

Still won't run. Log file:

2023-03-04 12:54:59 2023-03-04 17:54:59,598|MainThread|acestream|init segmenter done: log_path=/root/.ACEStream/logs/segmenter.log
2023-03-04 12:54:59 2023-03-04 17:54:59,601|MainThread|acestream|Start Ace Stream 3.1.75rc4
2023-03-04 12:54:59 2023-03-04 17:54:59,601|MainThread|acestream|platform=linux
2023-03-04 12:54:59 2023-03-04 17:54:59,602|MainThread|acestream|app=acestream
2023-03-04 12:54:59 2023-03-04 17:54:59,602|MainThread|acestream|version=3.1.75rc4 code=3017500 revision=d7429ec date=2022-10-19
2023-03-04 12:54:59 2023-03-04 17:54:59,603|MainThread|acestream|use_local_db=True
2023-03-04 12:54:59 2023-03-04 17:54:59,603|MainThread|acestream|use_m2crypto=False
2023-03-04 12:54:59 2023-03-04 17:54:59,604|MainThread|acestream|is_gui_mode=0
2023-03-04 12:54:59 2023-03-04 17:54:59,605|MainThread|acestream|user_agent=Mozilla/5.0 (Linux) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.50 Safari/537.36 AceStream/3.1.75rc4
2023-03-04 12:54:59 2023-03-04 17:54:59,606|MainThread|acestream|python_version=3.8.0-final-0
2023-03-04 12:54:59 2023-03-04 17:54:59,606|MainThread|acestream|enable debug: 0
2023-03-04 12:54:59 2023-03-04 17:54:59,608|MainThread|acestream|set debug level: 0
2023-03-04 12:54:59 2023-03-04 17:54:59,631|MainThread|acestream.coreapp|pid=14
2023-03-04 12:54:59 2023-03-04 17:54:59,632|MainThread|acestream.coreapp|process monitor initialized
2023-03-04 12:54:59 2023-03-04 17:54:59,636|MainThread|acestream|get_default_api_version: 2
2023-03-04 12:54:59 2023-03-04 17:54:59,637|MainThread|acestream.coreapp|use fixed i2i_port: 62062
2023-03-04 12:54:59 2023-03-04 17:54:59,637|MainThread|acestream.coreapp|state_dir='/root/.ACEStream'
2023-03-04 12:54:59 ls: cannot access '/dev/disk/by-id/': No such file or directory
2023-03-04 12:54:59 ls: cannot access '/dev/disk/by-id/': No such file or directory
2023-03-04 12:54:59 ls: cannot access '/dev/disk/by-id/': No such file or directory
2023-03-04 12:54:59 ls: cannot access '/dev/disk/by-id/': No such file or directory
2023-03-04 12:54:59 ls: cannot access '/dev/disk/by-id/': No such file or directory
2023-03-04 12:54:59 ls: cannot access '/dev/disk/by-id/': No such file or directory
2023-03-04 12:55:00 ls: cannot access '/dev/disk/by-id/': No such file or directory
2023-03-04 12:55:00 ls: cannot access '/dev/disk/by-id/': No such file or directory
2023-03-04 12:55:00 ls: cannot access '/dev/disk/by-id/': No such file or directory
2023-03-04 12:55:00 ls: cannot access '/dev/disk/by-id/': No such file or directory
2023-03-04 12:55:00 ls: cannot access '/dev/disk/by-id/': No such file or directory
2023-03-04 12:55:00 ls: cannot access '/dev/disk/by-id/': No such file or directory
2023-03-04 12:55:00 ls: cannot access '/dev/disk/by-id/': No such file or directory
2023-03-04 12:55:00 ls: cannot access '/dev/disk/by-id/': No such file or directory
2023-03-04 12:55:00 ls: cannot access '/dev/disk/by-id/': No such file or directory
2023-03-04 12:55:00 ls: cannot access '/dev/disk/by-id/': No such file or directory
2023-03-04 12:55:00 ls: cannot access '/dev/disk/by-id/': No such file or directory
2023-03-04 12:55:00 ls: cannot access '/dev/disk/by-id/': No such file or directory
2023-03-04 12:55:00 ls: cannot access '/dev/disk/by-id/': No such file or directory
2023-03-04 12:55:00 ls: cannot access '/dev/disk/by-id/': No such file or directory
2023-03-04 12:55:00 ls: cannot access '/dev/disk/by-id/': No such file or directory
2023-03-04 12:55:00 ls: cannot access '/dev/disk/by-id/': No such file or directory
2023-03-04 12:55:00 ls: cannot access '/dev/disk/by-id/': No such file or directory
2023-03-04 12:55:00 ls: cannot access '/dev/disk/by-id/': No such file or directory
2023-03-04 12:55:00 ls: cannot access '/dev/disk/by-id/': No such file or directory
2023-03-04 12:55:00 ls: cannot access '/dev/disk/by-id/': No such file or directory
2023-03-04 12:55:00 2023-03-04 17:55:00,965|MainThread|acestream.coreapp|set_debug_from_ui: level=0
2023-03-04 12:55:00 2023-03-04 17:55:00,969|MainThread|acestream|enable debug: 0
2023-03-04 12:55:00 2023-03-04 17:55:00,970|MainThread|acestream|set debug level: 0
2023-03-04 12:55:01 2023-03-04 17:55:01,024|MainThread|acestream.coreapp|cannot load session config, use default
2023-03-04 12:55:01 2023-03-04 17:55:01,211|MainThread|acestream.SocketHandler.InterruptSocket|bound on 127.0.0.1:59873
2023-03-04 12:55:01 2023-03-04 17:55:01,213|MainThread|acestream.SocketHandler.SocketHandler|bind: socket bound: host=0.0.0.0 port=8621
2023-03-04 12:55:01 2023-03-04 17:55:01,213|MainThread|acestream.LM|listen on 8621
2023-03-04 12:55:01 2023-03-04 17:55:01,214|MainThread|acestream.localdb|No existing database found. Attempting to creating a new database '/root/.ACEStream/sqlite/torrentstream.sdb'
2023-03-04 12:55:01 2023-03-04 17:55:01,278|AceStreamCoreThread|acestream.SocketHandler.SocketHandler|create_multicast_sockets: failed to create socket: ip=239.255.17.18 port=32968 local=172.17.0.5: <class 'OSError'>:[Errno 92] Protocol not available
2023-03-04 12:55:01 2023-03-04 17:55:01,319|MainThread|acestream.VideoServer|start: addr= port=6878 allow_remote=0 allow_intranet=1
2023-03-04 12:55:01 2023-03-04 17:55:01,457|MainThread|acestream.coreapp|failed to start aircast manager
2023-03-04 12:55:01 Traceback (most recent call last):
2023-03-04 12:55:01 File "core/src/CoreApp.pyx", line 1569, in
2023-03-04 12:55:01 File "core/src/AirCast/AirCastManager.pyx", line 158, in
2023-03-04 12:55:01 File "core/src/AirCast/DiscoveryManager.pyx", line 300, in
2023-03-04 12:55:01 File "ACEStream/third_party/zeroconf/zeroconf.py", line 1405, in init
2023-03-04 12:55:01 File "ACEStream/third_party/zeroconf/zeroconf.py", line 1441, in _init_sockets
2023-03-04 12:55:01 OSError: [Errno 92] Protocol not available
2023-03-04 12:55:01 2023-03-04 17:55:01,532|MainThread|acestream.SocketHandler.InterruptSocket|bound on 127.0.0.1:39490
2023-03-04 12:55:01 2023-03-04 17:55:01,533|MainThread|acestream.SocketHandler.SocketHandler|bind: socket bound: host=0.0.0.0 port=62062
2023-03-04 12:55:01 2023-03-04 17:55:01,539|Instance2InstanceThread-30|acestream.APIServer|run: ready to receive remote commands on 62062
2023-03-04 12:55:01 2023-03-04 17:55:01,542|PlaylistTaskManagerThread-31|acestream.TaskManager|started
2023-03-04 12:55:03 2023-03-04 17:55:03,086|ProxyServerTaskQueueThread-3|acestream.streamlink|check_plugin_signature: error
2023-03-04 12:55:03 Traceback (most recent call last):
2023-03-04 12:55:03 File "ACEStream/PluginsContainer/streamlink/session.py", line 531, in check_plugin_signature
2023-03-04 12:55:03 File "/usr/lib/python3.8/encodings/ascii.py", line 26, in decode
2023-03-04 12:55:03 return codecs.ascii_decode(input, self.errors)[0]
2023-03-04 12:55:03 UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position 769: ordinal not in range(128)
2023-03-04 12:55:05 2023-03-04 17:55:05,104|ProxyServerTaskQueueThread-3|acestream.streamlink|check_plugin_signature: error
2023-03-04 12:55:05 Traceback (most recent call last):
2023-03-04 12:55:05 File "ACEStream/PluginsContainer/streamlink/session.py", line 531, in check_plugin_signature
2023-03-04 12:55:05 File "/usr/lib/python3.8/encodings/ascii.py", line 26, in decode
2023-03-04 12:55:05 return codecs.ascii_decode(input, self.errors)[0]
2023-03-04 12:55:05 UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 1834: ordinal not in range(128)

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.