Page 1 of 1
Export of graphics Error
Posted: Thursday 24 October 2024 17:44
by Toulon7559
Never a problem in the past, last 4 weeks did not use Domoticz, and now suddenly stumbling on this message when trying to get export from Domoticz of graphs in jpeg-format or png-format
.
Sorry, you have been blocked
Your are unable to access export.highcharts.com
Why have I been blocked?
Most likely your request lack the required HTTP referer and user-agent headers. Also, chart configurations that fail to render properly, excessive requests ("hammering") and similar will result in progressively longer periods of blocking.
What can I do to resolve this?
First of all check your headers, and also read our Fair Usage Policy to make sure your usage is not significantly above expected levels. Blocking is based on your IP, which may be shared, so blocking might not be caused by your actions.
.
Any explanation why this
now happens, and how to remedy?
Because unclear to me what is meant in 2nd and 3rd section, because I rarely ask for export of graphs.
Re: Export of graphics
Posted: Thursday 24 October 2024 20:52
by waltervl
I have the same issue I just noticed.
So it is not you only. Highcharts.com library is used to create the graphs. It seems they have an issue or more likely got more strict lately on how to adress their servers.
I move it to section bugs because perhaps something has to be changed on Domoticz side.
Re: Export of graphics Error
Posted: Thursday 24 October 2024 21:30
by waltervl
So it seems highcharts has changed its policy recently and Domoticz is apparently not complying...
https://www.highcharts.com/forum/viewtopic.php?t=52902
Edit: I created an issue for this
https://github.com/domoticz/domoticz/issues/6188
Re: Export of graphics Error
Posted: Friday 08 November 2024 12:58
by Toulon7559
There seems to be something different than just a change of policy by Google.....
Graphics appear 'undisturbed' ( in my opinion meaning that Highcharts still applied for the compilations),
but only export seems to be affected by the changes at Google.
For myself pragmatically solved by application of Nimbus for screenshot.
Might imply that for Domoticz the issue might be solved by application of a different excport-function.
Re: Export of graphics Error
Posted: Friday 08 November 2024 13:06
by waltervl
Toulon7559 wrote: ↑Friday 08 November 2024 12:58
There seems to be something different than just a change of policy by Google .....
Graphics appear 'undisturbed' ( in opinion meaning that Highcharts still applied for the compilations),
but only export seems to be affected by the changes at Google.
For myself pragmatically solved by application of Nimbus for screenshot.
Might imply that for Domoticz the issue
might be solved by application of a different excport-function.
This is NOT a policy change of Google but a policy change of Highcharts. Domoticz is using their servers to create the PNG/JPG file. And Highcharts is now limiting the access to their servers to prevent overload.
Highcharts also delivers a function to create the PNG/JPG file of the graph by a script on your domoticz server (without using the Highcharts servers) but that seems difficult to implement.
Re: Export of graphics Error
Posted: Friday 08 November 2024 23:19
by Toulon7559
You are right:
sorry to have mixed up Google and Highcharts ........
With my latest message only intended to tell that in Domoticz the generation of the graphs is still OK for viewing in Domoticz,
but that 'problem' seems to be export of the graph, which can be 'escaped' by application of screenshot on the view.
Re: Export of graphics Error
Posted: Monday 11 November 2024 16:05
by waltervl
The issue has been "solved" by removing the export function from the charts menu as it was too complicated to implement the local export Highcharts function. Workaround is to take a screenshot from your local system.
https://github.com/domoticz/domoticz/issues/6188
Re: Export of graphics Error
Posted: Sunday 09 March 2025 9:32
by gizmocuz
After updating Highcharts to 12.1, the export seems to be working again!
(Available in beta 16495)
I also added a 'Today' zoomlevel in the day charts and changed the default dark theme here