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

Import of external link sometimes randomly fails #436

Open
wimdeblauwe opened this issue Feb 13, 2025 · 0 comments
Open

Import of external link sometimes randomly fails #436

wimdeblauwe opened this issue Feb 13, 2025 · 0 comments

Comments

@wimdeblauwe
Copy link

I like to use icons like this:

@startuml
!include <C4/C4_Container>

'See https://github.com/tupadr3/plantuml-icon-font-sprites for icons
!$ICONURL = "https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/v3.0.0/icons"
!include $ICONURL/common.puml
!include $ICONURL/devicons/java.puml

Container(backend, "Backend", "Java/Spring Boot", "Main processor of information", $sprite="java")

@enduml

However, sometimes, the icon cannot be loaded and the diagram preview shows an error like "Could not open https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/v3.0.0/icons/common.puml" for example.

If I check the idea.log, I see this log line:

2025-02-13 09:17:46,598 [4336294]   INFO - STDERR - issue raw.githubusercontent.com java.util.concurrent.ExecutionException: java.io.IOException: HTTP error 404 with 404: Not Found

If I manually check the URL, it always works fine. To get out of it, I usually need to wait a bit and change some random thing like adding a space and suddenly it work again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant