grails / grails-forge

This is Grails project creator. Grails projects may be created using the browser interface, Command Line, or via CURL.
Apache License 2.0
3 stars 9 forks source link

Network Errors Logged On Page Load #283

Open osscontributor opened 4 months ago

osscontributor commented 4 months ago
Screenshot 2024-02-13 at 9 15 03 AM

When I load the page in the browser I am seeing errors sending requests to https://prev.grails.org/versions and https://next.grails.org/versions coming out of MicronautStarterSDK.js.

FYI: https://github.com/micronaut-projects/micronaut-starter-ui/issues/102 looks like it might be tangentially related, but probably not the same issue.

puneetbehl commented 4 months ago

This has no side-effects. Currently, there are no previous or next version of Grails framework supported with the current CLI that's why these requests are failing.

Once, we have some milestone available for Grails 7, that would point to next.grails.org. And, similarly once the GA for 7 is out. The Grails 6 will point to prev.grails.org. So, I believe the DNS will be:

https://prev.grails.org - Grails 6 https://latest.grails.org - Grails 7 https://next.grails.org - Grails 8 Milestone or RC.

osscontributor commented 4 months ago

This has no side-effects.

Do you know why we have the JavaScript making calls to servers that do not currently have DNS entries?

puneetbehl commented 4 months ago

No, but I think it is moved here as part of initial setup. We can plan to update the codebase to not make these calls for now.

osscontributor commented 4 months ago

We can plan to update the codebase to not make these calls for now.

Sounds good. Thank you!