zizifn / edgetunnel

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

Error 1101 Worker threw exception #283

Closed wrackful closed 2 months ago

wrackful commented 2 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 2 months ago

same Error,this afternoon

jingjiecb commented 2 months ago

1101 too, have you found any solution?

wrackful commented 2 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 2 months ago

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

wrackful commented 2 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 2 months ago

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

wrackful commented 2 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 2 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 2 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 1 month ago

is there any solution for this problem?

zizifn commented 1 month 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