Skip to content

[BUG] Error on 307 Temporary Redirect #52

@runyournode

Description

@runyournode

In order to check the connection with the real hf hub, olah is trying to get:

https://huggingface.co/datasets/Salesforce/wikitext/resolve/main/.gitattributes

but is unable to follow the redirect to:

https://huggingface.co/api/resolve-cache/datasets/Salesforce/wikitext/b08601e04326c79dfdd32d625aee71d232d685c3/.gitattributes?%2Fdatasets%2FSalesforce%2Fwikitext%2Fresolve%2Fmain%2F.gitattributes=&etag=%22957b2579c6ef20995a09efd9a17f8fd90606f5ed%22

I don't know if it has any other side effect appart from reporting a false failed connection in the logs.

Server logs

2025-10-10 08:52:23 | INFO | stdout | Namespace(config='config.toml', host='localhost', port=8090, hf_scheme='https', hf_netloc='huggingface.co', hf_lfs_netloc='cdn-lfs.huggingface.co', mirror_scheme='http', mirror_netloc='localhost:8090', mirror_lfs_netloc='localhost:8090', has_lfs_site=False, ssl_key=None, ssl_cert=None, repos_path='./repos', cache_size_limit=None, cache_clean_strategy='LRU', log_path='./logs')
2025-10-10 08:52:23 | INFO | stdout | Namespace(config='config.toml', host='localhost', port=8090, hf_scheme='https', hf_netloc='huggingface.co', hf_lfs_netloc='cdn-lfs.huggingface.co', mirror_scheme='http', mirror_netloc='localhost:8090', mirror_lfs_netloc='localhost:8090', has_lfs_site=False, ssl_key=None, ssl_cert=None, repos_path='./repos', cache_size_limit=None, cache_clean_strategy='LRU', log_path='./logs')
2025-10-10 08:52:23 | ERROR | stderr | INFO:     Started server process [1198]
2025-10-10 08:52:23 | ERROR | stderr | INFO:     Waiting for application startup.
2025-10-10 08:52:23 | ERROR | stderr | INFO:     Application startup complete.
2025-10-10 08:52:23 | ERROR | stderr | INFO:     Uvicorn running on http://localhost:8090 (Press CTRL+C to quit)
2025-10-10 08:52:23 | INFO | httpx | HTTP Request: HEAD https://huggingface.co/datasets/Salesforce/wikitext/resolve/main/.gitattributes "HTTP/1.1 307 Temporary Redirect"
2025-10-10 08:52:23 | ERROR | stderr | Failed to reach Huggingface Site.
```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions