NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.24k stars 14.23k forks source link

shadowsocks-v2ray-plugin doesn't work anymore in nixos-unstable #219343

Closed kurnevsky closed 1 year ago

kurnevsky commented 1 year ago

Describe the bug

shadowsocks-v2ray-plugin doesn't work anymore in nixos-unstable.

Steps To Reproduce

Try to use it with shadowsocks-rust. Here what I have in logs:

Mar 03 14:14:18 evo shadowsocks-client-start[2497]: 2023-03-03T14:14:18.913685135+03:00 INFO  shadowsocks local 1.15.2 build 2023-02-21T04:22:30.681962420+00:00
Mar 03 14:14:18 evo shadowsocks-client-start[2514]: panic: qtls.CertificateRequestInfo doesn't match
Mar 03 14:14:18 evo shadowsocks-client-start[2514]: goroutine 1 [running]:
Mar 03 14:14:18 evo shadowsocks-client-start[2514]: github.com/marten-seemann/qtls-go1-16.init.0()
Mar 03 14:14:18 evo shadowsocks-client-start[2514]:         github.com/marten-seemann/qtls-go1-16@v0.1.3/unsafe.go:17 +0x198
Mar 03 14:14:21 evo shadowsocks-client-start[2497]: 2023-03-03T14:14:21.915214854+03:00 ERROR plugin exited with status: exit status: 2
Mar 03 14:14:21 evo shadowsocks-client-start[2497]: thread 'tokio-runtime-worker' panicked at 'all plugins are exited. all connections may fail, check your configuration', /build/source/crates/shadowsocks-service/src/local/loadbalancin>
Mar 03 14:14:21 evo shadowsocks-client-start[2497]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Mar 03 14:14:22 evo shadowsocks-client-start[2497]: 2023-03-03T14:14:21.915269624+03:00 INFO

Expected behavior

It works.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

Notify maintainers

@ahrzb

Metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 6.2.1, NixOS, 23.05 (Stoat)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.13.3`
 - channels(root): `"nixos-21.11"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
kurnevsky commented 1 year ago

Version from 988cc958c57ce4350ec248d2d53087777f9e1949 works.

kurnevsky commented 1 year ago

Looks like it got updated again: https://github.com/NixOS/nixpkgs/commit/eb12796851c12259d3a628eda8f8c0a07c455fa9 :)

kurnevsky commented 1 year ago

cc @marsam

kurnevsky commented 1 year ago

Just a note - it seems v2ray plugin is not maintained, but maybe https://github.com/shadowsocks/qtun can be used instead.