question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Files not accessible via IPv6

See original GitHub issue

In certain cases (such as [1]), users only have access to the internet via IPv6. Unfortunately huggingface.co (or the domain hosting the files) does not have AAAA records and is not reachable from IPv6, causing ValueError: Connection error, and we cannot find the requested files in the cached path. Please try again or make sure your Internet connection is on. when triggering downloads:

from transformers import AutoTokenizer
AutoTokenizer.from_pretrained('facebook/mbart-large-cc25')

[1] https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html#task-networking-vpc-dual-stack “One of the benefits of using a VPC in dual-stack mode is that tasks that are assigned an IPv6 address are able to access the internet as long as the VPC is configured with either an internet gateway or an egress-only internet gateway. NAT gateways are not needed.”

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
leezucommented, Aug 18, 2021

Thank you @n1t0. I verified AutoTokenizer.from_pretrained and AutoModel.from_pretrained from an IPv6-only instance (no IPv4 route to internet) works now. Thank you for enabling dual-stack support on your end!

1reaction
julien-ccommented, Jun 28, 2021

we are looking into this

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix an IPv6 No Network Access Error - Lifewire
How to Fix an IPv6 No Network Access Error ; Settings > ; Update & security > ; Troubleshoot. Next, select ; Internet...
Read more >
file sharing problem in the IPv6 environment
I configed IPv6 in my windows server 2008. The IPv6 address of the server is 2001:251:e101::128.
Read more >
networking - Website accessible via IPv6 is not ... - Super User
networking - Website accessible via IPv6 is not accessible from outside of my network - Super User. Stack Overflow for Teams – Start ......
Read more >
apache fail to serve static files when ipv6 enabled - Server Fault
Then port 81 is listening on ipv6, and here a request will not return ... that is listening on ipv6, even for access...
Read more >
Shared folders not accessable using file folder sharing after ...
IF you can access it by the IPADDRESS, then it's an issue people are seeing with Win10(1803) and accessing network shares by PCNAME...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found