Coder Social home page Coder Social logo

discussion's Introduction

Discussion

For general discussion over FastGit development and usage.

discussion's People

Contributors

kevinzonda avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

discussion's Issues

Support Token

github is trying to depreciate direct login, so is it possible to support token or OAuth in https git proxy?

Any plan to support github.io?

When we use the GitHub Pages, the domain will start as XXX.github.io
Is there any plan to support this domain?

使用Github仓库提供的Pages功能的话,域名是XXX.github.io,是否考虑支持此域名?

connection was reset in China Mainland | 连接被重置

  • Location: Shanghai, China
  • 位置:**上海
  • ISP: China Telecom
  • 互联网服务提供商:**电信
  • DNS: dns.google 2001:4860:4860::8888
  • Remote addresses 远程地址: ipv4: 157.240.12.50, ipv6: 2001::76c1:f025
    Neither ipv4 nor ipv6 can connect. ipv4和ipv6都无法连接

屏幕截图 2022-08-31 222307
屏幕截图 2022-08-31 222532
屏幕截图 2022-08-31 222636
屏幕截图 2022-08-31 223020

[Draft] FastGit Download Rebuild

Cuz lack of funds, we consider that use another way to provide download service or just stop it.

Here's our possible plans:

  1. Use CDN (e.g., CloudFlare, Akamai) + low-price VM
    Disadvantage: may lead low-quality service
  2. Shut down
    Disadvantage: I don't want to stop it
  3. Use another low-price VM to instead now VM
    Disadvantage: may lead low-quality service

In any case, we should try to keep the service available as much as possible. And on this basis, try to provide a better experience. At present, the reason why we are struggling with whether we should shut down the service is that we cannot provide the best service.

how to use git push?

2021-09-06_17-19

when i want to push commit, i got this.

this is my config list:

filter.lfs.clean=git-lfs clean -- %f
filter.lfs.smudge=git-lfs smudge -- %f
filter.lfs.process=git-lfs filter-process
filter.lfs.required=true
url.https://hub.fastgit.org/.insteadof=https://github.com/
core.editor=vim
init.defaultbranch=main

assets.fastgit.org is not available

~ curl assets.fastgit.org                                       
<html>
<script language="javascript" type="text/javascript">   
    // 直接跳转  
    window.location.href = 'https://www.hcie.im';
</script>
</html>%
~ curl -v https://assets.fastgit.org                            
*   Trying 91.217.139.122:443...
* Connected to assets.fastgit.org (91.217.139.122) port 443 (#0)
* ALPN: offers h2
* ALPN: offers 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 (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 change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN: server accepted h2
* Server certificate:
*  subject: CN=monitor.hcie.im
*  start date: Oct 11 00:00:00 2022 GMT
*  expire date: Jan  9 23:59:59 2023 GMT
*  subjectAltName does not match assets.fastgit.org
* SSL: no alternative certificate subject name matches target host name 'assets.fastgit.org'
* Closing connection 0
* TLSv1.3 (OUT), TLS alert, close notify (256):
curl: (60) SSL: no alternative certificate subject name matches target host name 'assets.fastgit.org'
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

fastgit.org 域名到期了?

刚刚发现,昨天已经续费并因此恢复了,那我就关闭该 Issues 了~


今天又看了下,发现域名到期了?2024-03-26 18:04:25(北京时间) 已经到期几天了,如果再不续费就彻底丢了。。。


昨天 Raw 还能打开,今天意外发现打开是无关内容。。。

因为这些元素均被 广告屏蔽扩展 屏蔽了,所以网页最终显示为空白。我 F12 看了下内容如下:

01

raw.fastgit.org出现下载不完整的情况

代码中使用
URL u = new URL(“https://raw.fastgit.org/xxx”);
HttpURLConnection httpUrl;
httpUrl.getInputStream();FileOutputStream;
在网络情况不良的情况下,不会反回连接超时,而是直接返回成功,但实际下载文件不完整。

类似情况:
1.在使用raw.fastgit.org下载超过3M的文本文件时,会出现在文件中间截断并且返回下载成功的信息。
2.使用手机4g访问大文件时,也有一定概率出现文件被截断的情况。

大文件示例:https://raw.fastgit.org/yuanyan3060/Arknights-Bot-Resource/master/gamedata/levels/enemydata/enemy_database.json

正常文件结尾:
image

异常文件结尾(手机访问):
image

Closing download service discussion

We are considering closing download.fastgit.org service. Since months ago, we are always troubled by some attackers. They always request maliciously to waste our traffic. Most suspicious IPs are from China. We feel confused that why we are under attacking for so long when we provide public and free service and do not bother anyone. Maybe they just want us to close the service.

Refer: #3
Date: 03/12/2020

不支持hash吗?

像这样:git clone https://hub.fastgit.org/a/a.git#0123456789,我们想用来加速npm依赖里的git依赖。

FastGit Service returned 301 redirect to github.com

Today when I access fastgit, it returned 301 redirection

$ curl -v hub.fastgit.org
* Rebuilt URL to: hub.fastgit.org/
*   Trying 104.18.40.99...
* TCP_NODELAY set
*   Trying 2606:4700:3037::ac43:c99f...
* TCP_NODELAY set
* Immediate connect fail for 2606:4700:3037::ac43:c99f: Network is unreachable
*   Trying 2606:4700:3033::6812:2863...
* TCP_NODELAY set
* Immediate connect fail for 2606:4700:3033::6812:2863: Network is unreachable
*   Trying 2606:4700:3034::6812:2963...
* TCP_NODELAY set
* Immediate connect fail for 2606:4700:3034::6812:2963: Network is unreachable
* Connected to hub.fastgit.org (104.18.40.99) port 80 (#0)
> GET / HTTP/1.1
> Host: hub.fastgit.org
> User-Agent: curl/7.61.1
> Accept: */*
> 
< HTTP/1.1 301 Moved Permanently
< Date: Mon, 24 Aug 2020 09:49:27 GMT
< Transfer-Encoding: chunked
< Connection: keep-alive
< Cache-Control: max-age=3600
< Expires: Mon, 24 Aug 2020 10:49:27 GMT
< Location: https://github.com/
< cf-request-id: 04c178793e0000053444144200000001
< Server: cloudflare
< CF-RAY: 5c7c29d53aca0534-LAX
< 
* Connection #0 to host hub.fastgit.org left intact

if I use HTTPS connection, it returned 301 also:

$ curl -v https://hub.fastgit.org
* Rebuilt URL to: https://hub.fastgit.org/
*   Trying 104.18.41.99...
* TCP_NODELAY set
*   Trying 2606:4700:3037::ac43:c99f...
* TCP_NODELAY set
* Immediate connect fail for 2606:4700:3037::ac43:c99f: Network is unreachable
*   Trying 2606:4700:3034::6812:2963...
* TCP_NODELAY set
* Immediate connect fail for 2606:4700:3034::6812:2963: Network is unreachable
*   Trying 2606:4700:3033::6812:2863...
* TCP_NODELAY set
* Immediate connect fail for 2606:4700:3033::6812:2863: Network is unreachable
* Connected to hub.fastgit.org (104.18.41.99) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, [no content] (0):
* 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 change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, [no content] (0):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
*  subject: C=US; ST=CA; L=San Francisco; O=Cloudflare, Inc.; CN=sni.cloudflaressl.com
*  start date: Aug 23 00:00:00 2020 GMT
*  expire date: Aug 23 12:00:00 2021 GMT
*  subjectAltName: host "hub.fastgit.org" matched cert's "hub.fastgit.org"
*  issuer: C=US; O=Cloudflare, Inc.; CN=Cloudflare Inc ECC CA-3
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* TLSv1.3 (OUT), TLS app data, [no content] (0):
* TLSv1.3 (OUT), TLS app data, [no content] (0):
* TLSv1.3 (OUT), TLS app data, [no content] (0):
* Using Stream ID: 1 (easy handle 0x561fe2b03720)
* TLSv1.3 (OUT), TLS app data, [no content] (0):
> GET / HTTP/2
> Host: hub.fastgit.org
> User-Agent: curl/7.61.1
> Accept: */*
> 
* TLSv1.3 (IN), TLS handshake, [no content] (0):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS app data, [no content] (0):
* Connection state changed (MAX_CONCURRENT_STREAMS == 256)!
* TLSv1.3 (OUT), TLS app data, [no content] (0):
* TLSv1.3 (IN), TLS app data, [no content] (0):
* TLSv1.3 (IN), TLS app data, [no content] (0):
< HTTP/2 301 
< date: Mon, 24 Aug 2020 09:51:36 GMT
< cache-control: max-age=3600
< expires: Mon, 24 Aug 2020 10:51:36 GMT
< location: https://github.com/
< cf-request-id: 04c17a70d10000eaf84082d200000001
< expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
< server: cloudflare
< cf-ray: 5c7c2cfae901eaf8-LAX
< 
* Connection #0 to host hub.fastgit.org left intact

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.