spring-cloud / spring-cloud-dataflow-ui

This repo provides the Dashboard application of Spring Cloud Data Flow
https://dataflow.spring.io/
Apache License 2.0
210 stars 118 forks source link

Spring boot version field is disabled in SCDF UI 2.11.0 dashboard while registering the app in dashboard, this is preventing registration of app because of missing fields #1991

Closed rathodajay10 closed 3 months ago

rathodajay10 commented 6 months ago

Description: Recently I upgraded Spring cloud dataflow Server and skipper from 2.9.0 to 2.11.0, After the upgrade first of all all the apps that were running earlier were gone, I don't see anything on the dashboard. secondly, I am trying to import the application manually by importing the docker URI. In latest version we can choose the Spring boot version field which is disabled for me and that is preventing me from registering existing apps. It wasn't the case in the previous version. Let me know if i am missing some propert y or some environment variables? Thanks

Screenshot 2024-03-13 at 12 55 49

Release versions: SCDF server version - 2.11.0 SCDF skipper version - 2.11.0

Custom apps: This app is running on the Kubernetes cluster behind the proxy, If i run the jar locally i can see the spring boot version field in the application register tab but not on kubernetes cluster.

corneil commented 6 months ago

I suggest using 2.11.2 since it has many fixes. I cannot remember encountering the specific symptoms you are encountering. However I would suggest using browser to clear the data / cookies for the specific site.

rathodajay10 commented 6 months ago

Thank you so much for the response. Will do it and let you know.

rathodajay10 commented 6 months ago

Hello Corneill, I have upgraded the jar to 2.11.2 and cleared the cache and cookies still have the same issue. Tried the incognito mode as well.

Screenshot 2024-03-13 at 16 47 06 Screenshot 2024-03-13 at 16 48 16
corneil commented 4 months ago

@rathodajay10 Can you use developer tools (F12) to view network activity.

When you click on Applications and expand the Registry one or more applications you should see a request to the server like http://localhost:9393/schema/versions and then a response: {"defaultSchemaVersion":"2","versions":["2","3"]} This is used to provide the entries for the dropdown.

rathodajay10 commented 3 months ago

Thanks Corneil for the reply and solution. There was issue with our Nginx which was blocking this API calls hence not rendering the default versions of it. we can close this issue.