Forecasting time series data in plotly gives empty and wrong plot

Duplicate of How to plot forecast using plotly for time series data having Index with Datetime value