-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QUESTION] 2.0.6 Widgets timeout errors #581
Comments
This comment was marked as outdated.
This comment was marked as outdated.
If you could also share the relevant parts of your config file, that would be helpful. Looking at the error, looks like this part is the cause: Example
- type: gl-current-cpu
timeout: 5000
options:
hostname: https://glances.dns-device.local |
I've increased the default timeout a bit, and have also added instructions for setting higher timeout to the troubleshooting guide If you're enjoying Dashy, please consider Staring the repo. It helps new users discover it, and will prevent your issues from being auto-closed due to lack of GitHub activity. |
Hi LIssy,
|
Hi, |
@Al4ndil, Just up the timeout |
Sorry but can you explain me more how to make this in my case ?! I don't use widget and i don't know where i must put "timeout : 2000"... |
Sure, there's an example above in ⬆️ this comment, I'll paste it below for ya, but basically just put This is explained more here, in the widget docs. Originally posted by lissy93 March 29, 2022 Looking at the error, looks like this part is the cause: Example
- type: gl-current-cpu
timeout: 5000
options:
hostname: https://glances.dns-device.local |
@Lissy93 I'm sorry again but i don't use any widget. So where i need to put timeout ? |
This ticket is about widget timeout errors, so not sure how you are getting this error message if you don't have a widget...? Sorry, don't think I understand what you mean, could you explain the issue further? It might be helpful to see a screenshot, and also any console messages (here's instructions if you're unsure how) |
In this pastebin, there is all my conf.yml
|
Could you share:
You config looks fine 👍 |
No problem on the web ui.
|
Doesn't seem to be any errors. |
Sorry but I'm very confused.... |
Hmmm the errors are on the logs of Dashy |
Ahhhh, lol now I know what you mean. I thought u were trolling me! So those aren't errors, they're nothing to worry about, it's described in more detail in the Troubleshooting Guide, but is just info. The status check info was a mistake tho, it's this line here, and will be removed in the next version. But it doesn't affect anything, so you're all good. |
No no no ! I wouldn't have allowed myself to troll you :) Thx for your answer ! :) |
The fix for this issue has now been released in 2.0.7 ✨ If you haven't done so already, please update your instance to Feel free to reach out if you need any more support. If you are enjoying Dashy, consider supporting the project. |
Hi Lissy, There seems to be an error in the 2.0.7 version using the the item target openingmethod. It is not used anymore and is falling back to the default in Greetings Henk. |
Oops, my bad, I did a LOT of refactoring for items, and looks like I messed up the target attribute, thanks for raising. |
Problem fixed. Have a nice (easter) weekend. Greetings, |
Environment
Self-Hosted (Docker)
Version
2.0.6
Describe the problem
today at 12:07:47{
today at 12:07:47 headers: {},
today at 12:07:47 enableInsecure: false,
today at 12:07:47 acceptCodes: 'null',
today at 12:07:47 maxRedirects: 'null'
today at 12:07:47}
today at 12:07:47{
today at 12:07:47 headers: {},
today at 12:07:47 enableInsecure: false,
today at 12:07:47 acceptCodes: 'null',
today at 12:07:47 maxRedirects: 'null'
today at 12:07:47}
today at 12:07:47{
today at 12:07:47 headers: {},
today at 12:07:47 enableInsecure: true,
today at 12:07:47 acceptCodes: 'null',
today at 12:07:47 maxRedirects: 'null'
today at 12:07:47}
Additional info
updated to 2.0.6 yesterday (using latest label) gives errors in the log and the view.
widgets are giving back values, but still give errors.
turning off proxy makes no difefrence. (- type: gl-current-cpu useProxy: false).
Going back to 2.0.5 solves the issue.
console gives time-out;
⚠️ Warning ⚠️ Unable to fetch data This is likely not an issue with Dashy, but rather your configuration. If you think it is a bug, please open a ticket on GitHub: https://git.io/JukXk
CoolConsole.js:18 Stack Trace
Error: timeout of 500ms exceeded
i @ CoolConsole.js:18
l @ ErrorHandler.js:27
error @ WidgetMixin.js:75
(anonymous) @ WidgetMixin.js:123
Promise.catch (async)
(anonymous) @ WidgetMixin.js:122
makeRequest @ WidgetMixin.js:114
fetchData @ GlancesMixin.js:26
update @ WidgetMixin.js:67
(anonymous) @ WidgetMixin.js:71
2createError.js:16 Uncaught (in promise) Error: timeout of 500ms exceeded
at t.exports (createError.js:16:15)
at XMLHttpRequest.w.ontimeout (xhr.js:130:14)
Please tick the boxes
The text was updated successfully, but these errors were encountered: