-
Notifications
You must be signed in to change notification settings - Fork 200
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
Error while fetching config #435
Comments
Can you check if you can access that URL in browser or with curl? Most likely this is a connection problem (could be caused by VPN, I can point you to possible workarounds in that case) |
Upgraded to v0.8.9, issue persists. 2022/03/26 15:34:57.146432 config.go:58: Failed to fetch config from "https://ra |
Same here (using v0.8.10 via Docker on Ubuntu): $ docker run --rm -it --pull always ghcr.io/arriven/db1000n
latest: Pulling from arriven/db1000n
Digest: sha256:5008f4b828091afbf4d33aafa7d7aa5d8c0caecbcee8df3088c0c5d61572a5a8
Status: Image is up to date for ghcr.io/arriven/db1000n:latest
2022/03/27 10:20:43.771119 main.go:51: DB1000n [Version: v0.8.10][PID=1]
2022/03/27 10:20:43.771318 countrychecker.go:46: Checking IP address, attempt #1
2022/03/27 10:20:46.772057 countrychecker.go:98: Can't check users country. Please manually check that VPN is enabled or that you have non Ukrainian IP address.
2022/03/27 10:20:47.772378 countrychecker.go:46: Checking IP address, attempt #2
2022/03/27 10:20:50.772751 countrychecker.go:98: Can't check users country. Please manually check that VPN is enabled or that you have non Ukrainian IP address.
2022/03/27 10:20:51.772939 countrychecker.go:46: Checking IP address, attempt #3
2022/03/27 10:20:54.775135 countrychecker.go:98: Can't check users country. Please manually check that VPN is enabled or that you have non Ukrainian IP address.
2022/03/27 10:21:14.832729 config.go:58: Failed to fetch config from "https://raw.githubusercontent.com/db1000n-coordinators/LoadTestConfig/main/config.v0.7.json": Get "https://raw.githubusercontent.com/db1000n-coordinators/LoadTestConfig/main/config.v0.7.json": context deadline exceeded
2022/03/27 10:21:15.780133 config.go:135: Decrypted config
2022/03/27 10:21:15.846643 runner.go:103: New config received, applying
2022/03/27 10:21:15.846752 runner.go:114: Config is encrypted, disabling logs
2022/03/27 10:21:15.848336 runner.go:208: 24 job instances (re)started
[Error] No traffic generated. If you see this message a lot - contact admins
2022/03/27 10:22:44.780434 config.go:58: Failed to fetch config from "https://raw.githubusercontent.com/db1000n-coordinators/LoadTestConfig/main/config.v0.7.json": Get "https://raw.githubusercontent.com/db1000n-coordinators/LoadTestConfig/main/config.v0.7.json": context deadline exceeded
2022/03/27 10:22:44.800847 runner.go:121: The config has not changed. Keep calm and carry on!
[Error] No traffic generated. If you see this message a lot - contact admins
2022/03/27 10:23:44.777684 config.go:58: Failed to fetch config from "https://raw.githubusercontent.com/db1000n-coordinators/LoadTestConfig/main/config.v0.7.json": Get "https://raw.githubusercontent.com/db1000n-coordinators/LoadTestConfig/main/config.v0.7.json": context deadline exceeded
2022/03/27 10:23:44.799319 runner.go:121: The config has not changed. Keep calm and carry on!
[Error] No traffic generated. If you see this message a lot - contact admins I can access the URL with VPN enabled: $ curl -I https://raw.githubusercontent.com/db1000n-coordinators/LoadTestConfig/main/config.v0.7.json
HTTP/2 200
... Everything works if:
|
@michaelKaefer you can try running the container with --network host or you can try a solution with one instance of db1000n running as updater publishing local copy of the config fetching it without vpn, but that's more complex |
@tvoretsmira I'll try to write a quick command that would allow you to use a set of http proxies instead of relying on VPN but that might be less effective |
A lot depends on VPN. v0.8.10 with VPN in China does not display any config fetching error. |
@tvoretsmira @michaelKaefer try following this example: https://github.com/Arriven/db1000n/blob/main/examples/docker/static-docker-compose.yml This is exactly why I added updater mode to reliably bypass this issue. |
How do I use this file? |
@tvoretsmira as of v0.8.12 you can use this command without VPN to use You can also replace the url with any other that would return a text file with a list of proxies but I've heard that the author of that list is happy to give it to people (see #424 ) Using VPN would be more effective as you can't run all the attacks through proxy but that's better than not being able to run any attacks at all Edit replaced go run with actual executable and removed debug flag from the command |
obviously you should use |
Current version of docker does not seem to support Win7 x64. I had no success installing it. |
yes, in terms of effectiveness I'd put them in the following order:
|
The problem for me was an overly persistent ovpn tunnel interface that would not refresh. Steps I took:
|
there is also a problem with outdated config - when the first github's url has failed for some reason, the other 2 bitbucket's ones are not actual. The one doesn't exist any more (404 error) and the other contains old outdated targets: warn failed to fetch config {"path": "https://raw.githubusercontent.com/xzyallzjx-231/iouzjla-612/main/20.json", "error": "Get "https://raw.githubusercontent.com/xzyallzjx-231/iouzjla-612/main/20.js |
Expected Behavior
The config is expected to be fetched.
Actual Behavior
2022/03/26 10:47:04.100470 config.go:58: Failed to fetch config from "https://ra
w.githubusercontent.com/db1000n-coordinators/LoadTestConfig/main/config.v0.7.jso
n": Get "https://raw.githubusercontent.com/db1000n-coordinators/LoadTestConfig/m
ain/config.v0.7.json": context deadline exceeded
Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: