SCDF Dashboard is Not Accessible After Creating SCDF Service Instance
search cancel

SCDF Dashboard is Not Accessible After Creating SCDF Service Instance

book

Article ID: 297196

calendar_today

Updated On:

Products

Support Only for Spring

Issue/Introduction

After creating an SCDF service instance, developers may have issues accessing the SCDF dashboard. The dashboard may appear loading slowly or not opening at all. See screenshot for reference. 

SCDF-error.png

Symptoms:
Viewing Service Instance Logs

You can view the service instance logs to get more information. To capture the logs from the service instance run the below command.
$ cf service-logs data-flow
In the dataflow-log.txt you will see 500 error for the /about request.
2022-06-22T22:11:28.818+05:30 [RTR/1] [OUT] dataflow-cf43ea93-475c-4a51-bbb5-387b72b2c7cf.app.dev.usw2.pcf.syfbank.com - [2022-06-22T16:39:19.458474843Z] "GET /about HTTP/1.1" 500 0 574 "https://dataflow-cf43ea93-475c-4a51-bbb5-387b72b2c7cf.app.dev.usw2.pcf.syfbank.com/dashboard/index.html"
 
2022-06-22T22:11:44.565+05:30 [APP/PROC/WEB/0] [OUT] 2022-06-22 16:41:44.565 INFO 42 --- [nio-8080-exec-8] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at : http://localhost:8888
2022-06-22T22:11:44.566+05:30 [APP/PROC/WEB/0] [OUT] 2022-06-22 16:41:44.566 INFO 42 --- [nio-8080-exec-8] c.c.c.ConfigServicePropertySourceLocator : Connect Timeout Exception on Url - http://localhost:8888. Will be trying the next url if available
2022-06-22T22:11:44.567+05:30 [APP/PROC/WEB/0] [OUT] 2022-06-22 16:41:44.566 WARN 42 --- [nio-8080-exec-8] c.c.c.ConfigServicePropertySourceLocator : Could not locate PropertySource: I/O error on GET request for "http://localhost:8888/data-flow-server-cf43ea93-475c-4a51-bbb5-387b72b2c7cf/cloud": Connection refused (Connection refused)

Environment

Product Version: 1.10

Cause

The 500 error in the logs originates when "about" tries to load SHA's for jars which only the tile uses, like the below.
 
org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https://repo1.maven.org/maven2/org/springframework/cloud/spring-cloud-dataflow-shell/2.7.2/spring-cloud-dataflow-shell-2.7.2.jar.sha1"

Resolution

Check to see if the public internet access is enabled in the tile config? If so, disabling this feature will disable fetching the SHA and resolve this issue.

Screen Shot 2022-07-01 at 8.59.52 AM.png