Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dio and google font not working on web and mac os #537

Closed
1 task done
businessvivek3600 opened this issue Jan 31, 2024 · 2 comments
Closed
1 task done

dio and google font not working on web and mac os #537

businessvivek3600 opened this issue Jan 31, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@businessvivek3600
Copy link

Package

google_fonts

Existing issue?

What happened?

Expected vs actual result:

Steps to reproduce:

flutter: Error: google_fonts was unable to load font Ubuntu-Regular because the following exception occurred:
Exception: Failed to load font with url https://fonts.gstatic.com/s/a/0c6760f323ee57525ee9fec23bf7c14af2667970250d0931f33a7f195e7ac11b.ttf: ClientException with SocketException: Connection failed (OS Error: Operation not permitted, errno = 1), address = fonts.gstatic.com, port = 443, uri=https://fonts.gstatic.com/s/a/0c6760f323ee57525ee9fec23bf7c14af2667970250d0931f33a7f195e7ac11b.ttf
flutter:

Relevant log output

flutter: Error: google_fonts was unable to load font Ubuntu-Regular because the following exception occurred:
Exception: Failed to load font with url https://fonts.gstatic.com/s/a/0c6760f323ee57525ee9fec23bf7c14af2667970250d0931f33a7f195e7ac11b.ttf: ClientException with SocketException: Connection failed (OS Error: Operation not permitted, errno = 1), address = fonts.gstatic.com, port = 443, uri=https://fonts.gstatic.com/s/a/0c6760f323ee57525ee9fec23bf7c14af2667970250d0931f33a7f195e7ac11b.ttf
flutter:
@businessvivek3600 businessvivek3600 added bug Something isn't working triage Issues that haven't been triaged labels Jan 31, 2024
@Maicarons
Copy link

I got the same issue on the web.
Also, I tried to put fonts into the res folder, but nothing happened.
image
image

@guidezpl
Copy link
Collaborator

Closing in favor of #560

@guidezpl guidezpl closed this as not planned Won't fix, can't repro, duplicate, stale Feb 26, 2024
@guidezpl guidezpl removed the triage Issues that haven't been triaged label Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants