Giter VIP home page Giter VIP logo

Comments (9)

Razikus avatar Razikus commented on August 22, 2024

Hmm, is it direct or with proxy?

from uashield.

constantin-ukr avatar constantin-ukr commented on August 22, 2024

sorry, forgot to add the docker command (
updated ticket

from uashield.

Razikus avatar Razikus commented on August 22, 2024

hmmm
switch to our official image now
ghcr.io/opengs/uashield:latest

sudo docker run -d --restart=always --name=worker1 io/opengs/uashield:latest 50 true

i don't know what is moro/uashield-cli is

from uashield.

constantin-ukr avatar constantin-ukr commented on August 22, 2024

ok will give feedback tomorrow

from uashield.

dimaborisenko avatar dimaborisenko commented on August 22, 2024

Same here.
image

I'm using UA-Cyber-SHIELD-Setup-0.0.9.exe

Azure VM Standard D2as v4 (2 vcpus, 8 GiB memory).
App parallel processes: 512.

from uashield.

dmpanch avatar dmpanch commented on August 22, 2024

Same here after some time running.

image

Logs after traffic down:

err
uashield    | Unhandled error. ({ type: 'error', error: 'Request failed with status code 403' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'timeout of 10000ms exceeded' })
uashield    | Done in 135.83s.
uashield    | yarn run v1.22.17
uashield    | $ NODE_ENV=production node ./build/headless/headless.js
uashield    | Using 256 workers, proxy - false
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'Request failed with status code 403' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'Request failed with status code 403' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'read ECONNRESET' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'unable to verify the first certificate' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'unable to verify the first certificate' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'unable to verify the first certificate' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'read ECONNRESET' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'unable to verify the first certificate' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'unable to verify the first certificate' })
uashield    | err
uashield    | Unhandled error. ({
uashield    |   type: 'error',
uashield    |   error: 'write EPROTO 140571267763016:error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1543:SSL alert number 40\n'
uashield    | })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'unable to verify the first certificate' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'Request failed with status code 403' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'Request failed with status code 502' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'Request failed with status code 403' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'Request failed with status code 502' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'Request failed with status code 403' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'Request failed with status code 502' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'Request failed with status code 502' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'Request failed with status code 403' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'Request failed with status code 403' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'Request failed with status code 403' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'Request failed with status code 502' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'Request failed with status code 502' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'Request failed with status code 403' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'Request failed with status code 403' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'Request failed with status code 403' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'unable to verify the first certificate' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'unable to verify the first certificate' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'Request failed with status code 403' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'Request failed with status code 403' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'Request failed with status code 500' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'Request failed with status code 500' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'Request failed with status code 403' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'Request failed with status code 503' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'unable to verify the first certificate' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'Request failed with status code 502' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'Request failed with status code 502' })
uashield    | err
uashield    | Unhandled error. ({ type: 'error', error: 'read ECONNRESET' })
uashield    | err
uashield    | Unhandled error. ({
uashield    |   type: 'error',
uashield    |   error: 'write EPROTO 140571267763016:error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1543:SSL alert number 40\n'
uashield    | })
uashield    | err

Intermittent graph from 20:00 to 00:45 - running with proxies.
From 0:45 to 1:45 - running without proxies, with 2 service restarts.
After that after 0 traffic on the interface.

image

from uashield.

Razikus avatar Razikus commented on August 22, 2024

Its all probably related to this
chrome_11kpTMH7cf

Timings on your screens are confirming that a bit
for now not all workers are downloading a sites and proxies, but they are downloaded every 5 minutes and distributed to the workers
probably this is a bottleneck and should be done without interruption of the whole process, in new thread or something

from uashield.

Razikus avatar Razikus commented on August 22, 2024

i just rewote headless version to make some kind of test if this is related to electron/node/js/ts or something
it's not probably

If someone can test it a bit and check if somehting changed it would be awesome
docker run -d --restart=always -e ONLYOK=false -e USEPROXY=true -e TIMEOUT=5000 -e WORKERS=1024 ghcr.io/opengs/uashield:go-experimental

beware - it doesn't support proxy/sites list updating yet, so it downalods it before startup

code:
https://github.com/opengs/uashield/blob/experimental/goguys/main.go

from uashield.

opengs avatar opengs commented on August 22, 2024

Too much changed after this issue. Application is fully refactored. Currently such behaviour depends only on targets and proxyes. (count / if they alive / how fresh they are / when they wrere up[dated last time)

from uashield.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.