Author: 똘켓

Android

Exit with code 1 due to network error: RemoteHostClosedError

Rotativa PDF 생성 기능을 사용하던 중에 발생된 오류이다. System.Exception:Error:Failed loading pagehttps://test.com/Survey/ReportPrint?enckey=b975eb3fb2b42d7c86d0fa1b6c3a1a9f&date=2019-05-28 sometimes it will work just to ignore this error with –load-error-handling ignore) Exit with code 1 due to network error: RemoteHostClosedError 위치 :Rotitiva.WkhtmltopdfDriver.Convert(String wkhtmltopdfPath, String switches, String html) ………………. [백엔드 코드]string CustomOpton = string.Empty; string fileName = string.Empty; string fileName2 = string.Empty; Rotativa.UrlAsPdf actionPDF; byte[] PDFData = null;    CustomOpton = “–print-media-type  –javascript-delay 5000”; fileName = ...