Hi everyone, I’m pretty new to plotly and orca, please let me know if i’m missing something!
When I try to use the
to_image() method, which returns an image as an encoded string I get this error:
ValueError: The image request was rejected by the orca conversion utility with the following error: 522: client socket timeout
It is somewhat inconsistent. Sometimes there is no problem, sometimes it doesn’t work at all even if the image is exactly the same.
The chart I am trying to plot is a scattermapbox, with a polygon layer.
I am trying to do this from a controller function (I’m using web2py), to serve a view which contains the images.
The error is more likely to occur when I try the export from the controller. When I do it locally from a script it usually goes well (as you can see above).
Edit: (I’m using python 2.7)