Skip to content
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

Public certstream-server down #110

Closed
Brandl opened this issue Dec 6, 2023 · 9 comments
Closed

Public certstream-server down #110

Brandl opened this issue Dec 6, 2023 · 9 comments

Comments

@Brandl
Copy link

Brandl commented Dec 6, 2023

Hey Ryan and the CaliDog team,

first off I highly appreciate the work you do and hope are doing well.
I have been using your server as a client, since I didn't want to run my own server for a side-project.
According to my logs and datadog, the server went black Sunday night and hasn't come back up.

https://p.datadoghq.com/sb/e72980047-c37b10c02bf48fa80b013416ac899d15?refresh_mode=sliding&theme=dark&from_ts=1694116226902&to_ts=1701892226902&live=true

Also, could you please elaborate on this part of the README:

single Hetzner dedicated server without issue (~250TB of data every month!).

What specs does the server have and how much of that 250 TB is distributed between http watcher and the websocket clients?
If I run it myself would I get away with significantly less traffic? Have you ever contacted Hetzner or been contacted concerning traffic?

Kind regards

@ImLunaHey
Copy link

went down around the same time for me too.

https://twitter.com/OmgImAlexis/status/1732362070723792963

@ImLunaHey
Copy link

if this server doesnt come back up soon i may stand my own version of it up. 🙏

would also be interested in what the average stats would be to run one of these for my own projects and/or the public. 🤔

@WylieG
Copy link

WylieG commented Dec 7, 2023

If its any help, the server went down at
2023-12-05 04:14:45.2244-ERROR: The server returned status code '521' when status code '101' was expected.

I have my own instance running elsewhere so I've moved some of my services to that.

@iuime
Copy link

iuime commented Dec 8, 2023

Are there alternative solutions?

@WylieG
Copy link

WylieG commented Dec 8, 2023 via email

@Fitblip
Copy link
Member

Fitblip commented Dec 14, 2023

Hi, apologies for the downtime.

The public server is not really meant to be consumed for more than simple proofs of concepts - if you're ingesting this data yourself you should consider running your own server - https://github.com/CaliDog/certstream-server. There are congestion issues that might cause you to lose certificates when the server's bandwidth is maxed out (which is usually the case despite it being a gigabit connection).

Things are back up but please consider running your own server if you're using it for something important!

@Fitblip Fitblip closed this as completed Dec 14, 2023
@kick707
Copy link

kick707 commented Dec 15, 2023 via email

@WylieG
Copy link

WylieG commented Dec 15, 2023 via email

@d-Rickyy-b
Copy link

I am running my own version of the certstream-server (that has been mentioned above) and it needs about 13.5 Mbit/s bandwidth downstream (from the CT Log) and 1-20 Mbit/s upstream per client (depending on the stream).

root@certstream:~$ vnstat -d

 enp0s3  /  daily

          day        rx      |     tx      |    total    |   avg. rate
     ------------------------+-------------+-------------+---------------
     2023-12-09    37.17 GiB |  776.66 MiB |   37.93 GiB |    3.77 Mbit/s
     2023-12-10   129.65 GiB |    7.23 GiB |  136.87 GiB |   13.61 Mbit/s
     2023-12-11   139.13 GiB |   80.71 GiB |  219.84 GiB |   21.86 Mbit/s
     2023-12-12   133.95 GiB |  164.79 GiB |  298.74 GiB |   29.70 Mbit/s
     2023-12-13   135.06 GiB |  162.04 GiB |  297.10 GiB |   29.54 Mbit/s
     2023-12-14   136.94 GiB |  165.05 GiB |  301.99 GiB |   30.02 Mbit/s
     2023-12-15   131.88 GiB |  163.10 GiB |  294.98 GiB |   29.33 Mbit/s
     2023-12-16   127.01 GiB |  159.98 GiB |  287.00 GiB |   28.53 Mbit/s
     2023-12-17     9.66 GiB |   10.93 GiB |   20.58 GiB |   31.02 Mbit/s
     ------------------------+-------------+-------------+---------------
     estimated    146.36 GiB |  165.60 GiB |  311.96 GiB |

Some explanation on the data: I started traffic recording on 2023-12-09 some time in the evening, so I only got a fraction of the data. rx is the data received from the ct log (and of course all other requests to the server).

tx is the transmitted data from the certstream server to the client. Starting on 2023-12-11 there is a single client that connects to the full-cert websocket and consumes about 17 Mbit/s of bandwidth.

While this might not be directly comparable to the original certstream-server it does give an approximate indication on how much data is being processed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants