Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

base64 decode fail #2

Closed
xuchaoji opened this issue Aug 4, 2023 · 4 comments
Closed

base64 decode fail #2

xuchaoji opened this issue Aug 4, 2023 · 4 comments

Comments

@xuchaoji
Copy link

xuchaoji commented Aug 4, 2023

[v2sub-ERR ] [0804-221908] base64 decode fail
[v2sub-ERR ] [0804-221908]

Invalid parameters

[v2sub-ERR ] [0804-221908] parse sub msg error, subMsg:

Invalid parameters

panic: decode base64 fail while parse sub msg

goroutine 1 [running]:
github.com/Ericwyn/v2sub/sub.checkSub.func1(0xc000245800)
/root/v2sub/sub/sub_mgr.go:224 +0xf6
github.com/Ericwyn/v2sub/ajax.Send({{0xc000281140, 0x34}, {0x80172f, 0x3}, 0x0, 0x0, {0x0, 0x0}, 0x0, 0xc0001cdf80, ...})
/root/v2sub/ajax/ajax.go:132 +0x967
github.com/Ericwyn/v2sub/sub.checkSub({{0x7ffd5973f3fe?, 0x4?}, {0x7ffd5973f3f2?, 0x2?}})
/root/v2sub/sub/sub_mgr.go:216 +0x178
github.com/Ericwyn/v2sub/sub.AddSub({0x7ffd5973f3f2, 0xb}, {0x7ffd5973f3fe, 0x34})
/root/v2sub/sub/sub_mgr.go:69 +0x16c
github.com/Ericwyn/v2sub/sub.ParseArgs({0xc0000b0020?, 0x3, 0x3})
/root/v2sub/sub/sub_mgr.go:25 +0x15c
main.parseArg({0xc0000b0010?, 0xc0000021a0?, 0xc00021ff70?})
/root/v2sub/v2sub.go:41 +0xc7
main.main()
/root/v2sub/v2sub.go:29 +0xc6

@xuchaoji
Copy link
Author

xuchaoji commented Aug 4, 2023

solved, the right cmd to add sub is:

v2sub -sub add mysub "https:xxxxx"

"" is necessary

@xuchaoji xuchaoji closed this as completed Aug 4, 2023
@Ericwyn
Copy link
Owner

Ericwyn commented Aug 4, 2023

你这啥链接啊?方便共享一下不?

@Ericwyn
Copy link
Owner

Ericwyn commented Aug 4, 2023

是的,因为链接里面有非 url encoder 的东西没法被识别

@xuchaoji
Copy link
Author

xuchaoji commented Aug 4, 2023

你这啥链接啊?方便共享一下不?

订阅连接需要加双引号

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants