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

Jars are downloaded several times during application running (and it fails) #895

Open
bfolleas opened this issue Mar 17, 2023 · 0 comments

Comments

@bfolleas
Copy link

hello,
I've created karakun/OpenWebStart#536 (comment) but the isuue is perhaps more specific to IcedTea-Web ?

My JWS application is hosted on AWS public Cloud (it’s AWS but could be another one), for example : https://myapp.com/
The codebase of the application in jnlp is https://myapp.com/

When I run OWS, it downloads all jars, starts the application, but when I navigate into my app it tries to download jars, and my app fails.
I checked in the cache, and into the logs: the jars are correctly downloaded before starting the application. I don’t know why there is an additional download.
I suspected that the OWS cache reference jars by IP and not by dns name, because the DNS resolution of https://myapp.com/ could return several IPs.
So I did a test by replacing the codebase of my app with an IP instead of DNS name, ex : https://50.50.20.12/
Then, the application runs correctly, and in the logs I can see that the jars are no longer downloaded.

Do you think that my problem is due to DNS resolution ?

Thanks for your help

Regards

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