Hey, have a question about datahub deployment on E...
# troubleshoot
a
Hey, have a question about datahub deployment on EKS. I followed the instruction specified in official tutorial: https://datahubproject.io/docs/deploy/aws All pods have status "RUNNING". However, when I log into the UI, I'm getting blank screen and logs are the following:
Copy code
Caused by: com.linkedin.r2.message.rest.RestException: Received error 404 from server for URI <http://datahub-datahub-gms:8080/dashboards>
        at com.linkedin.r2.transport.http.common.HttpBridge$1.onResponse(HttpBridge.java:76)
        ... 4 common frames omitted
17:38:19 [Thread-256] WARN  n.g.e.SimpleDataFetcherExceptionHandler - Exception while fetching data (/search) : java.lang.RuntimeException: Failed to execute search: entity type CHART, query *, filters: [], start: 0, count: 20
java.util.concurrent.CompletionException: java.lang.RuntimeException: Failed to execute search: entity type CHART, query *, filters: [], start: 0, count: 20
        at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
        at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1592)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.RuntimeException: Failed to execute search: entity type CHART, query *, filters: [], start: 0, count: 20
        at com.linkedin.datahub.graphql.resolvers.search.SearchResolver.lambda$get$1(SearchResolver.java:62)
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
        ... 1 common frames omitted
Caused by: com.linkedin.restli.client.RestLiResponseException: com.linkedin.restli.client.RestLiResponseException: Response status 404, serviceErrorMessage: No root resource defined for path '/charts'
        at com.linkedin.restli.internal.client.ExceptionUtil.wrapThrowable(ExceptionUtil.java:130)
        at com.linkedin.restli.internal.client.ResponseFutureImpl.getResponseImpl(ResponseFutureImpl.java:130)
        at com.linkedin.restli.internal.client.ResponseFutureImpl.getResponse(ResponseFutureImpl.java:94)
        at com.linkedin.chart.client.Charts.search(Charts.java:104)
        at com.linkedin.datahub.graphql.types.chart.ChartType.search(ChartType.java:98)
        at com.linkedin.datahub.graphql.resolvers.search.SearchResolver.lambda$get$1(SearchResolver.java:53)
        ... 2 common frames omitted
Caused by: com.linkedin.restli.client.RestLiResponseException: RestException{_response=RestResponse[headers={Content-Length=7258, Date=Mon, 29 Aug 2022 17:38:19 GMT, Server=Jetty(9.4.46.v20220331), X-RestLi-Error-Response=true, X-RestLi-Protocol-Version=2.0.0},cookies=[],status=404,entityLength=7258]}
        at com.linkedin.restli.internal.client.ExceptionUtil.exceptionForThrowable(ExceptionUtil.java:102)
        at com.linkedin.restli.client.RestLiCallbackAdapter.convertError(RestLiCallbackAdapter.java:66)
        at com.linkedin.common.callback.CallbackAdapter.onError(CallbackAdapter.java:86)
        at com.linkedin.r2.message.timing.TimingCallback.onError(TimingCallback.java:81)
        at com.linkedin.r2.transport.common.bridge.client.TransportCallbackAdapter.onResponse(TransportCallbackAdapter.java:47)
        at com.linkedin.r2.filter.transport.FilterChainClient.lambda$createWrappedClientTimingCallback$0(FilterChainClient.java:113)
        at com.linkedin.r2.filter.transport.ResponseFilter.onRestError(ResponseFilter.java:79)
        at com.linkedin.r2.filter.TimedRestFilter.onRestError(TimedRestFilter.java:92)
        at com.linkedin.r2.filter.FilterChainIterator$FilterChainRestIterator.doOnError(FilterChainIterator.java:166)
        at com.linkedin.r2.filter.FilterChainIterator$FilterChainRestIterator.doOnError(FilterChainIterator.java:132)
        at com.linkedin.r2.filter.FilterChainIterator.onError(FilterChainIterator.java:101)
        at com.linkedin.r2.filter.TimedNextFilter.onError(TimedNextFilter.java:48)
        at com.linkedin.r2.filter.message.rest.RestFilter.onRestError(RestFilter.java:84)
        at com.linkedin.r2.filter.TimedRestFilter.onRestError(TimedRestFilter.java:92)
        at com.linkedin.r2.filter.FilterChainIterator$FilterChainRestIterator.doOnError(FilterChainIterator.java:166)
        at com.linkedin.r2.filter.FilterChainIterator$FilterChainRestIterator.doOnError(FilterChainIterator.java:132)
        at com.linkedin.r2.filter.FilterChainIterator.onError(FilterChainIterator.java:101)
        at com.linkedin.r2.filter.TimedNextFilter.onError(TimedNextFilter.java:48)
        at com.linkedin.r2.filter.message.rest.RestFilter.onRestError(RestFilter.java:84)
        at com.linkedin.r2.filter.TimedRestFilter.onRestError(TimedRestFilter.java:92)
        at com.linkedin.r2.filter.FilterChainIterator$FilterChainRestIterator.doOnError(FilterChainIterator.java:166)
        at com.linkedin.r2.filter.FilterChainIterator$FilterChainRestIterator.doOnError(FilterChainIterator.java:132)
        at com.linkedin.r2.filter.FilterChainIterator.onError(FilterChainIterator.java:101)
        at com.linkedin.r2.filter.TimedNextFilter.onError(TimedNextFilter.java:48)
        at com.linkedin.r2.filter.message.rest.RestFilter.onRestError(RestFilter.java:84)
        at com.linkedin.r2.filter.TimedRestFilter.onRestError(TimedRestFilter.java:92)
        at com.linkedin.r2.filter.FilterChainIterator$FilterChainRestIterator.doOnError(FilterChainIterator.java:166)
        at com.linkedin.r2.filter.FilterChainIterator$FilterChainRestIterator.doOnError(FilterChainIterator.java:132)
        at com.linkedin.r2.filter.FilterChainIterator.onError(FilterChainIterator.java:101)
        at com.linkedin.r2.filter.TimedNextFilter.onError(TimedNextFilter.java:48)
        at com.linkedin.r2.filter.transport.ClientRequestFilter.lambda$createCallback$0(ClientRequestFilter.java:102)
        at com.linkedin.r2.transport.http.common.HttpBridge$1.onResponse(HttpBridge.java:82)
        at com.linkedin.r2.transport.http.client.rest.ExecutionCallback.lambda$onResponse$0(ExecutionCallback.java:64)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        ... 1 common frames omitted
Caused by: com.linkedin.r2.message.rest.RestException: Received error 404 from server for URI <http://datahub-datahub-gms:8080/charts>
        at com.linkedin.r2.transport.http.common.HttpBridge$1.onResponse(HttpBridge.java:76)
        ... 4 common frames omitted
Do you maybe know what may have caused this issue?
g
What version of datahub are you running?
And, to clarify, does log in work?
a
Here's what browser console shows after login:
Copy code
Uncaught (in promise) Error: Could not fetch logged in user from cache. + Exception while fetching data (/corpUser) : java.lang.RuntimeException: Failed to retrieve entities of type CorpUser
    at Yn (useGetAuthenticatedUser.tsx:15:15)
    at Ci (HomePageHeader.tsx:112:18)
    at ai (react-dom.production.min.js:157:137)
    at Vi (react-dom.production.min.js:180:154)
    at Bu (react-dom.production.min.js:269:343)
    at Sc (react-dom.production.min.js:250:347)
    at Ec (react-dom.production.min.js:250:278)
    at kc (react-dom.production.min.js:250:138)
    at mc (react-dom.production.min.js:243:163)
    at react-dom.production.min.js:123:115
datahub-gms: enabled: true image: repository: linkedin/datahub-gms tag: "v0.8.43"
g
This is very strange 🤔
and can you double check your frontend is also 8.43?
I’ve never seen this error before…
that error that you are showing is coming from the frontend? as in the browser?
the initial error?
or is it coming from the frontend server?
are you sure gms is healthy?
it appears that either gms and frontend are on different versions
or frontend is unable to connect to gms
b
BUMP - I have the same error @some-engine-8571/ @adamant-rain-51672. I'm deployed into AWS EKS, using OIDC via Azure AD to connect. I authenticate and login to the UI and then it just remains blank (white) and i have the same error in the UI logs: "Caused by: com.linkedin.r2.message.rest.RestException: Received error 404 from server for URI http://datahub-datahub-gms:8080/dashboards at com.linkedin.r2.transport.http.common.HttpBridge$1.onResponse(HttpBridge.java:76)" I've followed the deployment guides yet i still cant get this deployed & working? ** EDIT - The values for the front end were set to use the "latest" version, updated this to use "v0.8.43" (which is what gms is set to) and this 'seems' to have fixed it **
a
@best-fireman-42901 Have you tested with updated values? Is it solving the issue?
Tested update values, problem disappeared. Thanks! Maybe a suggestion would be to update docs?