question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Issue] Problem loading big amount of domains

See original GitHub issue

I’m trying to add a big program, around 5.5 million domains, the inscope and outscope are big also.

I don’t know why it’s failing, this is what I tried:

cat domains-big.txt | bbrf domain add - -s subfinder --show-new

Doesn’t add any domain nor output any error.

If I do this sed -n '50001 ,100000p' domains-big.txt| bbrf domain add - -s subfinder --show-new

I get this error “[ERROR] local variable ‘success’ referenced before assignment

The same error doing:

awk 'NR > 50000 && NR <= 100000' domains-big.txt | bbrf domain add - -s subfinder --show-new

Any idea why this might happen?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:16 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
z0mb13s3ccommented, Mar 28, 2021

Yup, 1.1.2 & 1.1.3 give me both the same error. At first I thought it’s something to do with subfinder but then I tried chaos, enabled the debug and figured it’s bbrf. I’m not sure if it’s the client or the server though. Here’s the full output, maybe it helps.

DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): xxx.xxx.xxx.xxx:1234
DEBUG:urllib3.connectionpool:https://xxx.xxx.xxx.xxx:1234 "GET /bbrf/program HTTP/1.1" 200 862
[DEBUG] getting program scope
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): xxx.xxx.xxx.xxx:12345
DEBUG:urllib3.connectionpool:https://xxx.xxx.xxx.xxx:1234 "GET /bbrf/program HTTP/1.1" 200 862
[DEBUG] getting program blacklist
[DEBUG] adding document in bulk
DEBUG:urllib3.connectionpool:https://xxx.xxx.xxx.xxx:1234 "POST /bbrf/_bulk_docs HTTP/1.1" 400 91
[ERROR] string indices must be integers
1reaction
honokicommented, Mar 27, 2021

There was a bug in the --show-new flag that I have silently fixed yesterday in v1.1.3

However, that is probably unrelated to the large input failing. I’ll run some local tests to see if there’s a size limit on couchdb. I can imagine maybe it times out when the input is too large.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Large number of domains on 1 client causing problems!
Hi, I've had a nightmare of a time migrating 1 client with 2070 domains from Plesk 9.5.4 to Plesk 10.4.4 MU#6. This has...
Read more >
Domain Troubleshooting | Public DNS - Google Developers
When Google Public DNS cannot resolve a domain, it is often due to a problem with that domain or its authoritative name servers....
Read more >
Five Common Issues in Domain Management, and Solutions
Issue #1: missed renewals ... These hundreds or thousands of domain names vary in expiration dates, and their renewal notices are emailed to...
Read more >
8 Tips on How to Reduce DNS Lookups and Speed Them Up
Tip 3 – Reduce Number of Domains (hostnames)​​ The easiest way to reduce DNS lookups on your site is to simply get rid...
Read more >
My website is down: what to do? - Hosting - Namecheap.com
1. Check that the domain name and the specific URL you're trying to access are typed correctly. · 2. Clear browser cache and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found