zizifn / edgetunnel

Running V2ray inside edge/serverless runtime
GNU General Public License v2.0
7.11k stars 24.87k forks source link

Error 1101 Worker threw exception #283

Closed wrackful closed 7 months ago

wrackful commented 7 months ago

From today, the new worker created with this code will be suspended by cloudflare, I think, and it gives the following error: Error 1101 Worker threw exception

What is the solution?

marco9989 commented 7 months ago

same Error,this afternoon

jingjiecb commented 7 months ago

1101 too, have you found any solution?

wrackful commented 7 months ago

1101 too, have you found any solution?

No, currently no solution has been found and no one is responding anywhere, I am investigating

zizifn commented 7 months ago

solved, please check https://github.com/zizifn/edgetunnel/blob/main/src/worker-vless.js

wrackful commented 7 months ago

solved, please check https://github.com/zizifn/edgetunnel/blob/main/src/worker-vless.js

Thanks for the reply, but no, the problem has not been solved , please create a new worker and test

wrackful commented 7 months ago

I think the problem can be for these 3 functions stringify unsafeStringify isValidUUID

wrackful commented 7 months ago

when change return to true is problem solved ,But this is not a principled solution , I am still working on the method function isValidUUID(uuid) { const uuidRegex = /^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i; return true }

zizifn commented 7 months ago

solved, please check https://github.com/zizifn/edgetunnel/blob/main/src/worker-vless.js

Thanks for the reply, but no, the problem has not been solved , please create a new worker and test

from my testing New script on new worker is working fine. could you test it in new worker?

wrackful commented 7 months ago

i tested on new worker , I found the problem, I am searching for the solution, the problem is this code at the beginning of the codes : if (!isValidUUID(userID)) { throw new Error('uuid is not valid'); }

farahmahmoudm commented 6 months ago

is there any solution for this problem?

zizifn commented 6 months ago

is there any solution for this problem?

https://github.com/zizifn/edgetunnel/issues/283#issuecomment-2088814329

please create new worker and try it with updated code

ECS-tasy commented 2 months ago

我去年用的老的代码,开了两个workers,绑的不同的proxyIP。其中一个proxyIP失效了,我没改,用了一段时间,突然有天翻不了了,我就一直用另一个。今天发现那个翻不了的原来error 1101了。 如果说是识别代码把我ban掉的话,另一个worker好好的,难道是因为长期没走proxyIP被识别出来异常使用?

zizifn commented 1 month ago

最新 code 吗?

zizifn commented 1 month ago

socket5 我没更新,我今晚更新下吧

zizifn commented 1 month ago

isValidUUID

大佬, 使用socks5那个脚本有这个问题 workers测试的时候正常 image

浏览器访问就1101 image

然后同样的配置用不带socks5那个脚本就一切正常

应该可以了,你试试

Tmalll commented 1 month ago

isValidUUID

大佬, 使用socks5那个脚本有这个问题 workers测试的时候正常 image 浏览器访问就1101 image 然后同样的配置用不带socks5那个脚本就一切正常

应该可以了,你试试

ok, 好了!能用了!