certstream-server-go icon indicating copy to clipboard operation
certstream-server-go copied to clipboard

Buffer Full

Open Rceros opened this issue 1 year ago • 6 comments
trafficstars

Hello,

I use python code to connect :

process = subprocess.Popen( ['certstream', '--url', 'ws://127.0.0.1:8080'], stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True ) output_pattern = re.compile(r'[(.?)] (https://.?) - (.*?)$')

try:
    for line in process.stdout:
        match = output_pattern.match(line.strip())
        if match:
            time, log_url, domain = match.groups()
            json_entry = {
                "id": id_counter,
                "time": time,
                "log_url": log_url,
                "domaine": domain

My python code transforme output in real time into JSON --> database.

After a few minutes of use, I get this error message and the logs pause :

2024/06/04 00:06:31 broadcastmanager.go:99: Not providing client '10.10..:54222' with cert because our buffer is full. The client can't keep up.

Is this normal and how can it be corrected please?

Rceros avatar Jun 04 '24 00:06 Rceros