7i / shorter

URL shortener with pastebin and file upload functions
BSD Zero Clause License
8 stars 3 forks source link

Internal server error #6

Open Gowee opened 2 years ago

Gowee commented 2 years ago

Hi!

Thanks for the service. I find it pretty useful to share links to my Kindle where the keyboard is hard to use.

But I encounter unexpected Internal server error when accessing the shortened URL.

7i.se/B 

now pointing to: 

https://readonly.link/articles/github.com/xieyuheng/inner/-/translations/zh/how-i-became-interested-in-foundations-of-mathematics.md 

This link will be removed Tue 2021-12-28 06:23 UTC (24h0m0s from now)
❯ curl -v https://7i.se/B
*   Trying 109.228.170.219:443...
* Connected to 7i.se (109.228.170.219) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_CHACHA20_POLY1305_SHA256
* ALPN, server accepted to use http/1.1
* Server certificate:
*  subject: CN=7i.se
*  start date: Dec 26 22:48:51 2021 GMT
*  expire date: Mar 26 22:48:50 2022 GMT
*  subjectAltName: host "7i.se" matched cert's "7i.se"
*  issuer: C=US; O=Let's Encrypt; CN=R3
*  SSL certificate verify ok.
> GET /B HTTP/1.1
> Host: 7i.se
> User-Agent: curl/7.80.0
> Accept: */*
> 
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* Mark bundle as not supporting multiuse
< HTTP/1.1 500 Internal Server Error
< Content-Type: text/plain; charset=utf-8
< Strict-Transport-Security: max-age=63072000; includeSubDomains
< X-Content-Type-Options: nosniff
< Date: Mon, 27 Dec 2021 06:26:10 GMT
< Content-Length: 22
< 
Internal Server Error
* Connection #0 to host 7i.se left intact
7i commented 2 years ago

I have made a temporary fix for these types of errors as part of another fix, I had to fix how 7i redirects urls as there were people abusing 7i.se for scams etc. So unfortunately now one extra click is needed to navigate to the link.

Gowee commented 1 year ago

Thanks for your great work.

I find the website appears to be down now.

7i commented 1 year ago

Thanks for the heads up, the raspberry pi had some error while auto updating, it is up again now.