rcaloras / bashhub-client

:cloud: Bash history in the cloud. Indexed and searchable.
https://bashhub.com
Apache License 2.0
1.27k stars 83 forks source link

Bashhub seems to be not working #141

Open vik-y opened 1 week ago

vik-y commented 1 week ago

❯❯❯ bashhub status Sorry, an error occurred communicating with Bashhub. Response Code: 410

Also, bashhub.com/username -> shows 410

Anyone else facing this problem?

Looks like the issue has been there since 16th of November.

agallego7 commented 1 week ago

The same thing happens to me, I get an error when connecting to the bashhub API.

rcaloras commented 1 week ago

Hi, thanks for reporting. There's an outage due to an upgrade with MongoDB's driver. Will investigate more later this week to see if there's a reasonable fix and report back.

TABTyrell commented 1 week ago

I faced the same issue and feel a bit duped now—I can't remember the command I executed earlier! 🤣

pdelteil commented 1 week ago

Same here.

ohmybahgosh commented 5 days ago

SSL Certificate Expired for bashhub.com

The SSL certificate for bashhub.com appears to be expired, which will cause secure HTTPS connections to fail. Below are the details of the certificate:

Click to view certificate details ``` Certificate: Data: Version: 3 (0x2) Serial Number: 51:c2:93:bf:37:d0:98:a9:95:dc:1a:d9:81:94:be:b7 Signature Algorithm: sha256WithRSAEncryption Issuer: C = GB, ST = Greater Manchester, L = Salford, O = Sectigo Limited, CN = Sectigo RSA Domain Validation Secure Server CA Validity Not Before: Oct 27 00:00:00 2023 GMT Not After : Nov 26 23:59:59 2024 GMT Subject: CN = bashhub.com Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:c1:58:de:1f:7d:18:82:b4:d4:8f:9e:94:34:6d: a0:02:da:f8:65:91:66:99:6b:2d:6e:de:43:ab:d4: bb:73:e0:61:12:87:3c:cb:68:54:b6:f5:f0:96:97: 7e:bf:49:a8:7a:ff:ed:55:9f:69:bd:f1:60:2f:16: 4f:06:ba:63:53:31:5d:0d:b9:2b:21:9a:f2:e4:42: 44:1d:6b:53:83:aa:98:b6:d9:e9:01:b0:a3:90:24: 99:7d:4d:ef:f9:4d:5a:9c:ea:fc:23:7e:75:dd:16: c8:f2:01:ea:de:a1:6c:1a:e2:8c:fa:3b:1f:6d:b2: 1e:2f:24:ff:a7:7e:a7:8b:22:a1:5f:59:54:31:d7: 90:f5:1e:9a:6d:32:41:d8:2c:e1:f8:3c:f0:c5:16: 49:87:5f:5f:f4:95:aa:29:95:53:5c:66:b4:bc:54: b4:dd:55:8f:bf:74:84:1a:a3:86:da:6e:b0:95:7b: 1c:f8:d7:ec:6d:90:d9:e7:96:e1:4e:fb:26:7d:fb: fc:9d:59:7d:df:4a:73:d1:0b:28:25:c9:95:34:7a: 91:5f:79:59:00:a3:4e:00:d3:88:40:e4:eb:bd:a2: ea:e6:63:dd:05:6f:ef:79:c7:e2:6e:00:a7:4d:74: 17:81:21:a8:5c:41:80:77:e2:17:51:ce:5e:61:9d: 09:45 Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Authority Key Identifier: 8D:8C:5E:C4:54:AD:8A:E1:77:E9:9B:F9:9B:05:E1:B8:01:8D:61:E1 X509v3 Subject Key Identifier: EB:D9:BF:E4:0B:A5:55:A6:EE:4E:AB:B3:CC:39:5F:B0:8D:75:EE:62 X509v3 Key Usage: critical Digital Signature, Key Encipherment X509v3 Basic Constraints: critical CA:FALSE X509v3 Extended Key Usage: TLS Web Server Authentication, TLS Web Client Authentication X509v3 Certificate Policies: Policy: 1.3.6.1.4.1.6449.1.2.2.7 CPS: https://sectigo.com/CPS Policy: 2.23.140.1.2.1 Authority Information Access: CA Issuers - URI:http://crt.sectigo.com/SectigoRSADomainValidationSecureServerCA.crt OCSP - URI:http://ocsp.sectigo.com X509v3 Subject Alternative Name: DNS:bashhub.com, DNS:www.bashhub.com ```

Until the certificate is renewed, the script will give this error. It happened a year or two ago too.

vik-y commented 5 days ago

I think there certificate expired recently. Earlier it was returning 410, which it returns now also if you override the cert expiry error.

❯ curl -kv https://bashhub.com/xyz
* Host bashhub.com:443 was resolved.
* IPv6: (none)
* IPv4: 52.4.104.79
*   Trying 52.4.104.79:443...
* Connected to bashhub.com (52.4.104.79) port 443
* ALPN: curl offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
* (304) (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384 / [blank] / UNDEF
* ALPN: server accepted http/1.1
* Server certificate:
*  subject: CN=bashhub.com
*  start date: Oct 27 00:00:00 2023 GMT
*  expire date: Nov 26 23:59:59 2024 GMT
*  issuer: C=GB; ST=Greater Manchester; L=Salford; O=Sectigo Limited; CN=Sectigo RSA Domain Validation Secure Server CA
*  SSL certificate verify result: self signed certificate in certificate chain (19), continuing anyway.
* using HTTP/1.x
> GET /xyz HTTP/1.1
> Host: bashhub.com
> User-Agent: curl/8.7.1
> Accept: */*
>
* Request completely sent off
< HTTP/1.1 410 Gone
< Server: nginx
< Date: Thu, 28 Nov 2024 12:05:26 GMT
< Content-Length: 0
< Connection: keep-alive
< Report-To: {"group":"heroku-nel","max_age":3600,"endpoints":[{"url":"https://nel.heroku.com/reports?ts=1732795526&sid=af571f24-03ee-46d1-9f90-ab9030c2c74c&s=rK6GG6Sl9lQd8cRDxiBZnFa%2FWHhkJY8ngAeAlQ5O6Cg%3D"}]}
< Reporting-Endpoints: heroku-nel=https://nel.heroku.com/reports?ts=1732795526&sid=af571f24-03ee-46d1-9f90-ab9030c2c74c&s=rK6GG6Sl9lQd8cRDxiBZnFa%2FWHhkJY8ngAeAlQ5O6Cg%3D
< Nel: {"report_to":"heroku-nel","max_age":3600,"success_fraction":0.005,"failure_fraction":0.05,"response_headers":["Via"]}
< Via: 1.1 vegur
<
* Connection #0 to host bashhub.com left intact
pdelteil commented 4 days ago

Need to find alternatives to this tool. It's abandoned.

ohmybahgosh commented 4 days ago

Looks like the ssl certificate was renewed

burkely-00orso69 commented 2 days ago

Not sure if it's a "me" issue, but I seem to still be experiencing issues despite the cert being renewed.. Not sure if I'm dealing with a networking issue of my own or what not. Maybe not, since I seem to not be able to "reset password" via https://bashhub.com/ ?

vik-y commented 2 days ago

The issue is still not resolved.

Have you stopped maintaining this? @rcaloras

rcaloras commented 2 days ago

Hey all, thanks for continuing to support and use Bashhub. As mentioned, there's an outage due a deprecated driver for MongoDB on Bashhub's server. More specifically, MongoDB recently had an EOL for v5.0 which is causing the need to upgrade the driver.

I spent some time this weekend trying to upgrade the backend, but haven't been able to complete yet as it's required upgrading a number of dependencies (not just the Mongo Driver). No immediate ETA, but anticipate investing time the next couple weeks.

If anyone is interested to help with the upgrade and looking to contribute, I can give access to Bashhub's server repo which is a Scala/Play app. As a long time freely maintained project, contributors/maintainers are certainly appreciated. Let me know here or via message ryan@bashhub.com cc @kootenpv as long time follower invested in the project.

pdelteil commented 2 days ago

@rcaloras

I just sent you a message.