abbasnaqdi / nekoray-macos

This script is made to build https://github.com/MatsuriDayo/nekoray software for use on macOS operating system.
576 stars 53 forks source link

Error in using Tun Mode: start core error occurred: execve: No such file or directory #28

Closed msamsami closed 9 months ago

msamsami commented 1 year ago

Issue: "Proxy Mode" works fine, but I get the following error when switching to "Tun Mode":

[Error] Core exited, restarting.
start core error occurred: execve: No such file or directory

When I select a config in this situation, the error extends to the following:

[Error] Core exited, restarting.
start core error occurred: execve: No such file or directory
Try to start the config, but the core has not listened to the grpc port, so restart it...
start core error occurred: execve: No such file or directory

How to reproduce:

  1. Enable the "Tun Mode" checkbox
  2. A window opens and asks for admin permission: "Please run NekoBox as admin"
  3. I click "Yes", and the app restarts. Then, the error mentioned above is shown in the logs section:

nekoray core error

ShinkaiMakoto commented 1 year ago

same issue

nvprotas commented 1 year ago

same

shuplenkov commented 1 year ago

same

vinovod commented 1 year ago

Confirm, have the same issue.

Additionally, all connections are interrupted if app is completely exited. It looks like tun or proxy mode breaks connection for browsers even after app is closed.

abbasnaqdi commented 1 year ago

Hi, this problem exists in the main project and I don't have a solution to solve this problem. Keep using proxy mode.

alinasiri8102 commented 1 year ago

run the app with the following command in the terminal: sudo /Applications/nekoray.app/Contents/MacOS/nekoray

alinasiri8102 commented 1 year ago

run the app with the following command in the terminal: sudo /Applications/nekoray.app/Contents/MacOS/nekoray

better solution:

  1. open the program normally (without previous command)
  2. go to: preferences > open config folder
  3. remove the entire config folder (don't forget to backup your configs before)
  4. restart the program
Genya34 commented 1 year ago

run the app with the following command in the terminal: sudo /Applications/nekoray.app/Contents/MacOS/nekoray

better solution:

  1. open the program normally (without previous command)
  2. go to: preferences > open config folder
  3. remove the entire config folder (don't forget to backup your configs before)
  4. restart the program

Unfortunately this solution doesn't work, but the previous solution works good

hosseinian commented 12 months ago

I will test this solution next time. Because now I must restart the Mac to fix problem.