[GH-ISSUE #39] ssserver not launching under ARM64 #17

Closed
opened 2026-10-13 20:10:58 +00:00 by bsakaguchi · 3 comments
Owner

Originally created by @boscogh on GitHub (Oct 10, 2021).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/39

Привет, могу общаться по-русски.

Hi, I'm trying to run server under docker on Oracle Cloud,

uname -a
Linux pasha-vm 5.4.17-2102.205.7.3.el7uek.aarch64 #2 SMP Fri Sep 17 16:33:58 PDT 2021 aarch64 aarch64 aarch64 GNU/Linux

choose option with shadowsocks, but the client seems stuck on reconnection:

Having dancing back and forth I log into server container and don't see shadowsocks server running.
after trying to run it myself I got this:

bash-5.1# ssserver -c /opt/amnezia/shadowsocks/ss-config.json &
[1] 300
bash-5.1# bash: /usr/bin/ssserver: cannot execute binary file: Exec format error

is it an CPU architecture issue?

Originally created by @boscogh on GitHub (Oct 10, 2021). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/39 Привет, могу общаться по-русски. Hi, I'm trying to run server under docker on Oracle Cloud, ``` uname -a Linux pasha-vm 5.4.17-2102.205.7.3.el7uek.aarch64 #2 SMP Fri Sep 17 16:33:58 PDT 2021 aarch64 aarch64 aarch64 GNU/Linux ``` choose option with shadowsocks, but the client seems stuck on reconnection: Having dancing back and forth I log into server container and don't see shadowsocks server running. after trying to run it myself I got this: ``` bash-5.1# ssserver -c /opt/amnezia/shadowsocks/ss-config.json & [1] 300 bash-5.1# bash: /usr/bin/ssserver: cannot execute binary file: Exec format error ``` is it an CPU architecture issue?
Author
Owner

@boscogh commented on GitHub (Oct 10, 2021):

sorry, I don't dig too much, but if I run your prebuilt client on Windows Intel, and server is on Arm64, may this be the problem?
because as I can see shadowsocks is build on the platform, not downloaded as package

<!-- gh-comment-id:939436672 --> @boscogh commented on GitHub (Oct 10, 2021): sorry, I don't dig too much, but if I run your prebuilt client on Windows Intel, and server is on Arm64, may this be the problem? because as I can see shadowsocks is build on the platform, not downloaded as package
Author
Owner

@pokamest commented on GitHub (Oct 13, 2021):

Take a look to https://github.com/amnezia-vpn/desktop-client/blob/master/client/server_scripts/openvpn_shadowsocks/Dockerfile
ShadowSocks x64 used in Dockerfile
I will appreciate if you propose patch for this Docker file which will enable arm support

<!-- gh-comment-id:942332610 --> @pokamest commented on GitHub (Oct 13, 2021): Take a look to https://github.com/amnezia-vpn/desktop-client/blob/master/client/server_scripts/openvpn_shadowsocks/Dockerfile ShadowSocks x64 used in Dockerfile I will appreciate if you propose patch for this Docker file which will enable arm support
Author
Owner

@pokamest commented on GitHub (Oct 25, 2021):

Merged!
Thank you!

<!-- gh-comment-id:950943057 --> @pokamest commented on GitHub (Oct 25, 2021): Merged! Thank you!
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#17
No description provided.