You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@devlake.apache.org by "DavidW1519 (via GitHub)" <gi...@apache.org> on 2024/05/30 21:02:09 UTC
[I] [Question][Module Name] my data doesnt show on the dashboard can someone help me please [incubator-devlake]
DavidW1519 opened a new issue, #7549:
URL: https://github.com/apache/incubator-devlake/issues/7549
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
## Question
im havin trouble getting my data to show un the dashboard, the data connection was a success but when i go to dashboard is not showing anything
## Screenshots

when i inspect im getting those error messages and i dont know what to do please and thanks for your help
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug][Module Name] my data doesnt show on the dashboard can someone help me please [incubator-devlake]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7549:
URL: https://github.com/apache/incubator-devlake/issues/7549#issuecomment-2267212241
This issue has been automatically marked as stale because it has been inactive for 60 days. It will be closed in next 7 days if no further activity occurs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Question][Module Name] my data doesnt show on the dashboard can someone help me please [incubator-devlake]
Posted by "DavidW1519 (via GitHub)" <gi...@apache.org>.
DavidW1519 commented on issue #7549:
URL: https://github.com/apache/incubator-devlake/issues/7549#issuecomment-2145554913
how to reproduce:
- downloaded docker compose.yml and env.example from https://github.com/apache/incubator-devlake/releases ver 1.0.0 beta9
- generated the encryption key with openssl and put it on the file .env
- Run docker-compose up -d
- go to http://localhost:4000 did the tutorial to connect to github
- imported this https://github.com/devsecopsmaturitymodel/DevSecOps-MaturityModel to my repository to make a test also made the token
- after the tutorial i went to dashboard and nothing is showing so i press f12 and found this error
-

also tried what dosubot said but still not working
-
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug][Module Name] my data doesnt show on the dashboard can someone help me please [incubator-devlake]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7549:
URL: https://github.com/apache/incubator-devlake/issues/7549#issuecomment-2412576168
This issue has been closed because it has been inactive for a long time. You can reopen it if you encounter the similar problem in the future.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug][Module Name] my data doesnt show on the dashboard can someone help me please [incubator-devlake]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #7549: [Bug][Module Name] my data doesnt show on the dashboard can someone help me please
URL: https://github.com/apache/incubator-devlake/issues/7549
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Question][Module Name] my data doesnt show on the dashboard can someone help me please [incubator-devlake]
Posted by "d4x1 (via GitHub)" <gi...@apache.org>.
d4x1 commented on issue #7549:
URL: https://github.com/apache/incubator-devlake/issues/7549#issuecomment-2141670286
@DavidW1519 You can change this issue's type to bug, and provide more details about the version and your operations to help us reproduce it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Question][Module Name] my data doesnt show on the dashboard can someone help me please [incubator-devlake]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #7549:
URL: https://github.com/apache/incubator-devlake/issues/7549#issuecomment-2140864982
<!-- Greeting -->
Hey @DavidW1519! I'm here to help you with any issues you're facing. I can assist you in solving bugs, answering questions, and becoming a contributor. Let's tackle this together!
<!-- Answer -->
To resolve the issue of failed WebSocket connections to the `/api/live/ws` endpoint on `localhost:4000`, follow these steps:
1. **Check WebSocket Configuration in Grafana**:
Ensure that the Grafana service is configured to allow WebSocket connections. The `GF_LIVE_ALLOWED_ORIGINS` environment variable should be set to `'*'` to allow connections from any origin.
2. **Network Configuration**:
Verify that there are no firewall rules or network policies blocking WebSocket traffic. Since the `config-ui` service is mapped to `localhost:4000`, ensure that this port is open and accessible.
3. **Service Dependencies**:
Confirm that all dependent services are running correctly. The `config-ui` service depends on the `devlake` service, which in turn depends on the `mysql` service. Ensure all these services are up and running without errors.
4. **Browser Console**:
Check the browser console for any error messages related to WebSocket connections. This can provide more specific information about why the connection is failing.
5. **WebSocket Endpoint**:
Test the WebSocket endpoint `/api/live/ws` using a WebSocket client or a simple script. Here is an example of how you can test the WebSocket connection using a JavaScript snippet in the browser console:
```javascript
let socket = new WebSocket("ws://localhost:4000/api/live/ws");
socket.onopen = function(e) {
console.log("[open] Connection established");
};
socket.onmessage = function(event) {
console.log(`[message] Data received from server: ${event.data}`);
};
socket.onclose = function(event) {
if (event.wasClean) {
console.log(`[close] Connection closed cleanly, code=${event.code} reason=${event.reason}`);
} else {
console.log('[close] Connection died');
}
};
socket.onerror = function(error) {
console.log(`[error] ${error.message}`);
};
```
If the connection is successful, you should see the "Connection established" message in the console. If there are errors, the error message will provide more details on what might be going wrong.
By following these steps, you should be able to identify and resolve the issue with the WebSocket connections to the `/api/live/ws` endpoint on `localhost:4000` <sup>[[1]](https://github.com/apache/incubator-devlake/blob/main/devops/releases/lake-v0.10.1/docker-compose.yml)</sup><sup>[[2]](https://github.com/apache/incubator-devlake/blob/main/devops/releases/lake-v0.10.0/docker-compose.yml)</sup>.
<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org