shadowsocks / ShadowsocksX-NG

Next Generation of ShadowsocksX
GNU General Public License v3.0
32.27k stars 7.96k forks source link

shadowsocksX-NG doesn't work on MAC OS 12.1 #1401

Open nealgavin opened 2 years ago

nealgavin commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

System and Shadowsocksx-NG version: (please complete the following information):

Diagnoisis file:

Please first upgrade to the latest version. Then export the diagnosis file and upload it to here.

ss-local.log

Please upload the ss-local.log file here the file is in ~/Library/Logs 1) Open 'Advanced Settings -> enable Verbose Mode' 2) Continue run Shadowsocksx-NG for 5 minutes 3) Upload the ~/Library/Logs/ss-local.log here (with or without compress)

Application log

Open the Console.app and search Shadowsocksx-NG Copy paste the log here

Crash Log

If the app crashes and pop up a crash log, please copy and paste here

Additional context Add any other context about the problem here.

azhinu commented 2 years ago

The same issue with latest security update on Catalina. This probably occurs due to incompatible dlyb. dyld: Library not loaded: /usr/local/opt/mbedtls@2/lib/libmbedcrypto.7.dylib

As I see, this project has been abandoned. Somebody can rebuild this app with new binaries/libraries. Actually, this app is just GUI over shell scripts and CLI tools.

For now, everybody can update binaries for himself. As a simplest way, install ss-local and v2ray plugin

brew install shadowsocks-libev v2ray-plugin
#Then copy binaries to the App
cp -f /usr/local/opt/shadowsocks-libev/bin/ss-local  /Applications/ShadowsocksX-NG.app/Contents/Resources/ss-local
cp -f /usr/local/opt/v2ray/bin/v2ray  /Applications/ShadowsocksX-NG.app/Contents/Resources/v2ray-plugin
#And remove quarantine attribute to allow run binary
sudo xattr -d com.apple.quarantine '/Applications/ShadowsocksX-NG.app/Contents/Resources/v2ray-plugin'

Restart ShadowsocksX-NG and everything should work.

pdliuw commented 2 years ago

it is still not work!


this is my environment, could you help me?

macOS: macOS Monterey version: 12.2.1

Jekinnnnnn commented 2 years ago

已更新评论

it is still not work! this is my environment, could you help me?

序列号挡一下啊...

已处理,您的回复引用的图片无法更新。麻烦您删除下您的引用评论以更新链接图片。

再次感谢您的友好的安全提示🙏

Hanley-ABC commented 2 years ago

you can try to re-install

Hanley-ABC commented 2 years ago

reinstall

pdliuw commented 2 years ago

reinstall

Do you run shadowsocksX-NG-R app on this environment? and it is ok?

macOS: macOS Monterey version: 12.2.1 cpu: Intel Core

Hanley-ABC commented 2 years ago

yes, it's ok now

image
pdliuw commented 2 years ago

yes, it's ok now image

very nice! Could you help me? how to config it ?

Hanley-ABC commented 2 years ago

yes, it's ok now image

very nice! Could you help me? how to config it ?

  1. You should uninstall ShadowSocks
  2. Download the latest shadowsocksX-ng
  3. Install it
  4. Fill information about the socks proxy server
pdliuw commented 2 years ago

yes, it's ok now image

very nice! Could you help me? how to config it ?

  1. You should uninstall ShadowSocks
  2. Download the latest shadowsocksX-ng
  3. Install it
  4. Fill information about the socks proxy server

after try again,it still can not open google

Hanley-ABC commented 2 years ago

yes, it's ok now image

very nice! Could you help me? how to config it ?

  1. You should uninstall ShadowSocks
  2. Download the latest shadowsocksX-ng
  3. Install it
  4. Fill information about the socks proxy server

after try again,it still can not open google

Are you sure your socks proxy is working properly? you can do a test with your telephone by installing a shadowsocks in your phone

pdliuw commented 2 years ago

yes, it's ok now image

very nice! Could you help me? how to config it ?

  1. You should uninstall ShadowSocks
  2. Download the latest shadowsocksX-ng
  3. Install it
  4. Fill information about the socks proxy server

after try again,it still can not open google

Are you sure your socks proxy is working properly? you can do a test with your telephone by installing a shadowsocks in your phone

it can work on my phone

Hanley-ABC commented 2 years ago

yes, it's ok now image

very nice! Could you help me? how to config it ?

  1. You should uninstall ShadowSocks
  2. Download the latest shadowsocksX-ng
  3. Install it
  4. Fill information about the socks proxy server

after try again,it still can not open google

Are you sure your socks proxy is working properly? you can do a test with your telephone by installing a shadowsocks in your phone

it can work on my phone

sorry, in this case, i can't help you any more

pdliuw commented 2 years ago

Now shadow socks works well

yes, it's ok now image

very nice! Could you help me? how to config it ?

  1. You should uninstall ShadowSocks
  2. Download the latest shadowsocksX-ng
  3. Install it
  4. Fill information about the socks proxy server

after try again,it still can not open google

Are you sure your socks proxy is working properly? you can do a test with your telephone by installing a shadowsocks in your phone

it can work on my phone

sorry, in this case, i can't help you any more

Now shadow socks works well It is great What a surprise

os: macOS Monterey version: 12.2.1 CPU: Intel Core

pdliuw commented 2 years ago

it is still not work!

this is my environment, could you help me?

macOS: macOS Monterey version: 12.2.1

Now shadow socks works well

on

os: macOS Monterey version: 12.2.1 CPU: Intel Core

It is great What a surprise

wangjinyu124419 commented 2 years ago

The same issue with latest security update on Catalina. This probably occurs due to incompatible dlyb. dyld: Library not loaded: /usr/local/opt/mbedtls@2/lib/libmbedcrypto.7.dylib

As I see, this project has been abandoned. Somebody can rebuild this app with new binaries/libraries. Actually, this app is just GUI over shell scripts and CLI tools.

For now, everybody can update binaries for himself. As a simplest way, install ss-local and v2ray plugin

brew install shadowsocks-libev v2ray-plugin
#Then copy binaries to the App
cp -f /usr/local/opt/shadowsocks-libev/bin/ss-local  /Applications/ShadowsocksX-NG.app/Contents/Resources/ss-local
cp -f /usr/local/opt/v2ray/bin/v2ray  /Applications/ShadowsocksX-NG.app/Contents/Resources/v2ray-plugin
#And remove quarantine attribute to allow run binary
sudo xattr -d com.apple.quarantine '/Applications/ShadowsocksX-NG.app/Contents/Resources/v2ray-plugin'

Restart ShadowsocksX-NG and everything should work.

参考这个方法,只不过把 下面的命令 cp -f /usr/local/opt/v2ray/bin/v2ray /Applications/ShadowsocksX-NG.app/Contents/Resources/v2ray-plugin 替换为: cp -f /usr/local/opt/v2ray-plugin/bin/v2ray-plugin /Users/{你得用户名}/Library/Application\ Support/ShadowsocksX-NG/plugins 就可以了,其实就是替换一下mac的shadowsocket-ng自带的v2ray-plugin,

weita0 commented 1 year ago

Somehow, I found a starnge way to solve this problem. This approach needs another proxy tool called ClashX, which is available on Github too. Open ClashX before open SS, then close clashX or don't, the SS client should work as expected now.

arvandmoe commented 1 year ago

Doesn't work for me on : Macbook pro M1, MacOS Monterey Anyone else having issues?!

abbassix commented 1 year ago

cp: /usr/local/opt/v2ray/bin/v2ray: No such file or directory

luangong commented 1 year ago

The same issue with latest security update on Catalina. This probably occurs due to incompatible dlyb. dyld: Library not loaded: /usr/local/opt/mbedtls@2/lib/libmbedcrypto.7.dylib

As I see, this project has been abandoned. Somebody can rebuild this app with new binaries/libraries. Actually, this app is just GUI over shell scripts and CLI tools.

For now, everybody can update binaries for himself. As a simplest way, install ss-local and v2ray plugin

brew install shadowsocks-libev v2ray-plugin

# Then copy binaries to the App
cp -f /usr/local/opt/shadowsocks-libev/bin/ss-local  /Applications/ShadowsocksX-NG.app/Contents/Resources/ss-local
cp -f /usr/local/opt/v2ray-plugin/bin/v2ray-plugin  /Applications/ShadowsocksX-NG.app/Contents/Resources/v2ray-plugin

# And remove quarantine attribute to allow run binary
sudo xattr -d com.apple.quarantine '/Applications/ShadowsocksX-NG.app/Contents/Resources/v2ray-plugin'

Restart ShadowsocksX-NG and everything should work.

参考这个方法,只不过把下面的命令

cp -f /usr/local/opt/v2ray-plugin/bin/v2ray-plugin /Applications/ShadowsocksX-NG.app/Contents/Resources

替换为:

cp -f /usr/local/opt/v2ray-plugin/bin/v2ray-plugin ~/Library/Application\ Support/ShadowsocksX-NG/plugins

就可以了,其实就是替换 ShadowsocksX-NG 自带的 v2ray-plugin

It works! Thanks!

TangHengxuan commented 1 year ago

hi, I wonder if you have solved this problem?

azhinu commented 1 year ago

@TangHengxuan I'm successfully using ShadowsocksX-NG, updated by method in 2 comment.

TangHengxuan commented 1 year ago

@azhinu Really appreciate for your help. It's my fault that I should "reply" to another comment. Thanks again.