gluetun: Shadowsocks crashing and exiting on startup

This is a new problem for me - since yesterday 24.7.20, I’m getting this in my PIA container log:

2020-07-24T11:03:31.113+0200	ERROR	shadowsocks: shadowsocks error: Error relocating /usr/lib/libcork.so.15: __gettimeofday_time64: symbol not found
2020-07-24T11:03:31.114+0200	ERROR	shadowsocks: shadowsocks error: Error relocating /usr/lib/libcork.so.15: __stat_time64: symbol not found
2020-07-24T11:03:31.114+0200	ERROR	shadowsocks: shadowsocks error: Error relocating /usr/lib/libcork.so.15: __localtime64_r: symbol not found
2020-07-24T11:03:31.115+0200	ERROR	shadowsocks: shadowsocks error: Error relocating /usr/lib/libcork.so.15: __gmtime64_r: symbol not found
2020-07-24T11:03:31.116+0200	ERROR	shadowsocks: shadowsocks error: Error relocating /usr/bin/ss-server: __time64: symbol not found
2020-07-24T11:03:31.117+0200	ERROR	shadowsocks: shadowsocks error: Error relocating /usr/bin/ss-server: __localtime64: symbol not found
2020-07-24T11:03:31.117+0200	ERROR	shadowsocks: exit status 127
2020-07-24T11:03:31.118+0200	INFO	shadowsocks: retrying in 1 minute

running on Raspbian, on Raspberry PI 4 (Linux pi4 5.4.51-v7l+ #1327 SMP Thu Jul 23 11:04:39 BST 2020 armv7l GNU/Linux)

Anyone have any tips?

Thanks in advance,

Steve

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 61 (24 by maintainers)

Commits related to this issue

Most upvoted comments

hmmm… that builds now, but it looks like ShadowSocks is dropping an error…

image

that seems to have done the trick…i’ll let it run for a while to be sure, but it looks fixed. Thanks, so much!

Ah oops probably made the wrong release then (chose the master branch instead of shadowsocks branch). Thanks for the good 👀!!

Wait for the build and pull that rc2 tag again.

I’ll profile resources for the standalone shadowsocks program I wrote to see where the crazy cpu spikes come from.

Also note that now shadowsocks is part of /entrypoint (well I should change the name to gluetun haha). The Go version might also be a tiny bit more cpu taxing than the C version although it shouldn’t be such a big change I think. Maybe try with another encryption method (SHADOWSOCKS_METHOD=aes_128_gcm).

Those aren’t only spikes, some periods are more than 15 minutes long.

Oops, it seems like I rushed Shadowsocks a bit too much. Give me a few more days 😄

Alright my Go Shadowsocks server is ready, I just need to plug it in Gluetun now. Will do it tomorrow 😉

Quick update, I’m like 80% done, I made another whole Docker image to run a Shadowsocks server (going a bit off the goal here but why not)… It’s working well, I’m just polishing off the code to have as a nice Go API so that I can easily plug it in gluetun. Should be done this weekend 👍

Done, I flagged the shadowsocks-libev package. I’m working on integrating Shadowsocks directly in the Go code but it might take more than one day. I’ll ping back here once it’s done.

Typo alert 🚒

It’s qmcgaw not gmcgaw, then it should be able to pull even without having to login Docker. Docker thought it was a private image because of the typo.

I’ll check and let you know tomorrow… it’s 3:30 on a work night here…

Thanks, still need to try the latest version…

On Sat, Jul 25, 2020 at 5:21 PM Quentin McGaw notifications@github.com wrote:

It should work now, it seems Alpine fixed their signature error for Shadowsocks. (wait for build to finish https://github.com/qdm12/private-internet-access-docker/runs/909946999?check_suite_focus=true). Let me know and feel free to close the issue.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/qdm12/private-internet-access-docker/issues/211#issuecomment-663867190, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFHXQC5ZLIOMUENS2X25BRDR5LZ67ANCNFSM4PGQ3TOA .

It should work now, it seems Alpine fixed their signature error for Shadowsocks. (wait for build to finish). Let me know and feel free to close the issue.

Related to the latest commit. Using the standard alpine package repository failed to install shadowsocks (bad signature) for some reason. I changed it to the Netherlands mirror to fix it. Well it seems that fixed the installation but it installs a non working version… I’ll try another repository. Thanks for reporting!