I am running one python script using Jenkins. It is working fine. Today, I got two failure with below error Traceback. the third time it was succeeded. I am creating this ticket so your team can understand the route cause of it.
Traceback (most recent call last):
File "/home/ubuntu/rest_api/scripts/daily_analysis_report.py", line 132, in <module>
main()
File "/home/ubuntu/rest_api/scripts/daily_analysis_report.py", line 111, in main
subplot_chart = pcharts.analytics_subplot_line(past_days_metrics, plot_titles, subplot_title)
File "/home/ubuntu/rest_api/scripts/plotly_charts/charts.py", line 132, in analytics_subplot_line
py.image.save_as(fig, filename=file_path)
File "/home/ubuntu/rest_api/venv/local/lib/python2.7/site-packages/plotly/plotly/plotly.py", line 787, in save_as
img = cls.get(figure_or_data, format, width, height, scale)
File "/home/ubuntu/rest_api/venv/local/lib/python2.7/site-packages/plotly/plotly/plotly.py", line 710, in get
raise exceptions.PlotlyError(return_data['error'])
plotly.exceptions.PlotlyError:
<html><head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>502 Server Error</title>
</head>
<body text=#000000 bgcolor=#ffffff>
<h1>Error: Server Error</h1>
<h2>The server encountered a temporary error and could not complete your request.<p>Please try again in 30 seconds.</h2>
<h2></h2>
</body></html>
Build step 'Execute shell' marked build as failure
I am running one python script using Jenkins. It is working fine. Today, I got two failure with below error Traceback. the third time it was succeeded. I am creating this ticket so your team can understand the route cause of it.
I am using plotly version 1.12.9