Package Details: nekoray 4.3.4-1

Git Clone URL: https://aur.archlinux.org/nekoray.git (read-only, click to copy)
Package Base: nekoray
Description: Qt based cross-platform GUI proxy configuration manager (backend: sing-box)
Upstream URL: https://github.com/Mahdi-zarei/nekoray
Keywords: nekoray qv2ray v2ray
Licenses: GPL-3.0-or-later
Submitter: zhullyb
Maintainer: zhullyb (zhaose, lilac, Integral)
Last Packager: lilac
Votes: 21
Popularity: 3.58
First Submitted: 2023-02-28 00:41 (UTC)
Last Updated: 2025-04-23 10:52 (UTC)

Dependencies (12)

Required by (0)

Sources (3)

Latest Comments

1 2 3 4 Next › Last »

tarsenicum commented on 2025-04-20 10:35 (UTC)

Hi, community! Does anyone have a solution for this?

grpc-status error code: 2 , error msg: open /home/user/.config/nekoray/geoip.db: permission denied

I tried 777 for geo-assets; ln -s, as @Akari-chan noticed; and loading geo-assets via GUI Settings -> Basic Settings -> Assets, but the error is still here.

Also, same error with geosite.db, it depends on the current routing config. Without rulesets everything works fine

I also use sudo setcap cap_net_admin=ep /usr/lib/nekoray/nekobox_core, as @khfxcc mentioned, and sudo chmod u+s /usr/lib/nekoray/nekobox_core for Tun mode.

mundane commented on 2025-04-18 14:30 (UTC)

Same issue: fix-geoasset.patch ... FAILED ==> ERROR: One or more files did not pass the validity check!

kotman commented on 2025-04-14 04:17 (UTC)

I also have problem with fix-geoasset:

fix-geoasset.patch ... FAILED ==> ERROR: One or more files did not pass the validity check!

sergeG239 commented on 2025-04-12 21:42 (UTC)

fix-geoasset.patch ... FAILED ==> ERROR: One or more files did not pass the validity check!

khfxcc commented on 2025-03-24 10:12 (UTC) (edited on 2025-03-24 10:15 (UTC) by khfxcc)

Just updated, I can't use Tun. When clicking Tun, I got this error

stsrt service: start inbound/tun[tun-in]:configure tun interface: operation not permitted

Although this is not a big problem, I can't search anything using the chromium browser, but I can access google just fine using firefox.

Changing to nekoray-bin can solve the above problem, but it is not a long-term solution.

Wait a minute, I was inspired by nekoray-bin. After executing sudo /usr/bin/setcap cap_net_admin=ep /usr/lib/nekoray/nekobox_core, the Tun mode can be turned on normally,everything is fine

Akari-chan commented on 2025-03-23 23:29 (UTC) (edited on 2025-03-24 01:03 (UTC) by Akari-chan)

I too, just updated, and every proxy was "unavailable" when running url test.

I "fixed" it by saving ("share selected" etc) my proxies to some text file, deleting the old config (mv ~/.config/{nekoray,nekoray.old}) and essentially recreating it.

There's probably a release note somewhere outlining the exact breaking change that needs to be handled, but I wasn't able to find it.

EDIT:

Also, if you use geoip/geosite packages and getting

grpc-status error code: 2 , error msg: open /home/username/.config/nekoray/geoip.db: no such file or directory
[Error] gRPC: QNetworkReply::NetworkError code: 301

when trying to open Routing settings, this

ln -s /usr/share/sing-box/geosite.db ~/.config/nekoray/geosite.db
ln -s /usr/share/sing-box/geoip.db ~/.config/nekoray/geoip.db

works around it. Idk why the patch didn't help, it should look there.

JisuWoniu commented on 2025-03-23 10:55 (UTC)

Just updated from MatsuriDayo's original version, got this error on all requests:

Get "***": http2: client connection force closed via ClientConn.Close

Are there any steps to migrate?

Sovenok-Hacker commented on 2024-12-24 16:39 (UTC)

If someone have any problems with protobuf, just clear your AUR helper cache (eg. yay -Sc for yay) and reinstall nekoray package. It should rebuild the package for new protobuf version. It helped for me.

dreieck commented on 2024-11-25 22:50 (UTC)

Please follow the Arch Linux guide on Git submodules and download them via source and reference them in prepare(), instead of downloading stuff in build() (!):

==> Starting build()...
Submodule '3rdparty/QHotkey' (https://github.com/Skycoder42/QHotkey.git) registered for path '3rdparty/QHotkey'
Cloning into '/var/cache/makepkg/build/nekoray/src/nekoray/3rdparty/QHotkey'...
Submodule path '3rdparty/QHotkey': checked out '52e25acf221e5ac86ce648f6922620fb2d6a7121'
/var/cache/makepkg/build/nekoray/src /var/cache/makepkg/build/nekoray/src/nekoray
Cloning into 'sing-box'...
remote: Enumerating objects: 16237, done.
remote: Total 16237 (delta 0), reused 0 (delta 0), pack-reused 16237 (from 1)
Receiving objects: 100% (16237/16237), 4.45 MiB | 1.93 MiB/s, done.
Resolving deltas: 100% (11628/11628), done.
/var/cache/makepkg/build/nekoray/src/sing-box /var/cache/makepkg/build/nekoray/src /var/cache/makepkg/build/nekoray/src/nekoray
Note: switching to '06557f6cef23160668122a17a818b378b5a216b5'.
[...]
Cloning into 'libneko'...
remote: Enumerating objects: 87, done.
remote: Counting objects: 100% (87/87), done.
remote: Compressing objects: 100% (51/51), done.
remote: Total 87 (delta 32), reused 73 (delta 18), pack-reused 0 (from 0)
Receiving objects: 100% (87/87), 12.55 KiB | 12.55 MiB/s, done.
Resolving deltas: 100% (32/32), done.
/var/cache/makepkg/build/nekoray/src/libneko /var/cache/makepkg/build/nekoray/src /var/cache/makepkg/build/nekoray/src/nekoray
Note: switching to '1c47a3af71990a7b2192e03292b4d246c308ef0b'.
[...]

Also, please download go specific stuff in prepare(), not in build(), so that build() can run offline:

go: downloading github.com/codeclysm/extract v2.2.0+incompatible
go: downloading github.com/juju/errors v0.0.0-20220331221717-b38fca44723b
go: downloading github.com/h2non/filetype v1.1.3

/var/cache/makepkg/build/nekoray/src/nekoray
/var/cache/makepkg/build/nekoray/src/nekoray/go/cmd/nekobox_core /var/cache/makepkg/build/nekoray/src/nekoray
go: downloading github.com/go-chi/chi/v5 v5.0.12
go: downloading github.com/sagernet/sing v0.4.3
go: downloading google.golang.org/grpc v1.63.2
go: downloading google.golang.org/protobuf v1.33.0
[ ... lots more ... ]

Regards!