Configuration missing: JSREPORT_API_KEY

System.InvalidOperationException: Configuration missing: JSREPORT_API_KEY
   at IncidentReporter.API.Helpers.JsReportUtils.<RenderPdfAsync>d__0.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\JsReportUtils.cs:line 31
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at IncidentReporter.API.Helpers.PdfExportSwitchHelper.<TryRenderPdfViaJsReportAsync>d__0.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\PdfExportSwitchHelper.cs:line 64


System.IO.FileNotFoundException: HTML template missing for Electrical Work category. Expected HTML template path: D:\App-Data\iis\api-qa-staging.oqsha.com\api-qa-staging.oqsha.com\Templates/PDFs\264\WorkPermitV2\ElectricalWork\ExportWorkPermitV2.html
File name: 'D:\App-Data\iis\api-qa-staging.oqsha.com\api-qa-staging.oqsha.com\Templates/PDFs\264\WorkPermitV2\ElectricalWork\ExportWorkPermitV2.html'
   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\WorkPermitV2PDFHelper.cs:line 89
   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\WorkPermitV2PDFHelper.cs:line 0
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\WorkPermitV2Bll.cs:line 1556


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Workflows/States/Types


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Categories/All


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Departments?SortingColumn=Name&SortingOrder=Asc&SiteId=845&SiteId=846&SiteId=900


Request Body : {"PageNumber":1,"PageLimit":1000,"UserId":9308}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Zones


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Zones/Sites


Request Body : {"ZoneIds":[10]}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/WorkPermitV2/All


Request URL : https://api-qa-staging-2.oqsha.com/Transition-History?orgId=264&ModuleId=85&EntityId=471


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/AccessControl/Roles


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/WorkPermitV2/471


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Workflows/Transitions/Available


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?ModuleName=Work Permit V2&siteId=845&departmentId=262&isActive=true


Request Body : {"PageNumber":1,"PageLimit":1000,"SiteIds":[845],"IsPublished":true,"UserId":9308}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Departments


Request Body : {"SiteId":[845],"SearchTerm":"","SortingColumn":["Name"],"SortingOrder":["asc"],"PageNumber":1,"PageSize":1000}


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?ModuleName=Work Permit V2&siteId=845&isActive=true


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/FileUpload


Work Permit V2 Notification Count from State Router: 0


Work Permit V2 ActorContext from State Router: System.Collections.Generic.Dictionary`2[System.String,System.Collections.Generic.List`1[System.Int32]]


Trigger config check for Module: Work Permit V2, TriggerEvent: record_updated, CategoryId: 177 returned: False


Queueing Work Permit V2 Timer Engine event. OrgId=264, ModuleId=85, WorkPermitId=471, TriggerEvent=Accepted


Publishing Timer Engine events. EventCount=1, Endpoint=/api/timer-engine/events/bulk


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/PendingActionsNotifications


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Departments?SortingColumn=Name&SortingOrder=Asc&SiteId=845&SiteId=846&SiteId=900


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Categories/All


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Workflows/States/Types


Request Body : {"PageNumber":1,"PageLimit":1000,"UserId":9308}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Zones


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Zones/Sites


Request Body : {"ZoneIds":[10]}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/WorkPermitV2/All


Request URL : https://api-qa-staging-2.oqsha.com/Transition-History?orgId=264&ModuleId=85&EntityId=471


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/AccessControl/Roles


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/WorkPermitV2/471


Request Body : {"PageNumber":1,"PageLimit":1000,"SiteIds":[845],"IsPublished":true,"UserId":9308}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Workflows/Transitions/Available


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?ModuleName=Work Permit V2&siteId=845&departmentId=262&isActive=true


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Departments


Request Body : {"SiteId":[845],"SearchTerm":"","SortingColumn":["Name"],"SortingOrder":["asc"],"PageNumber":1,"PageSize":1000}


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?ModuleName=Work Permit V2&siteId=845&isActive=true


Timer Engine event publish failed.

System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:5670
   at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
   at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)
   at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar)
   --- End of inner exception stack trace ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at IncidentReporter.API.Helpers.TimerEngineHelper.<PublishEventsAsync>d__4.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\TimerEngineHelper.cs:line 186
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at IncidentReporter.API.Helpers.TimerEngineHelper.<>c__DisplayClass1_0.<<PublishEventsInBackground>b__1>d.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\TimerEngineHelper.cs:line 46

Ext Authroized By EHS Officer / Coordinatore

Gas area identified and authorized permission obtained from concerned department?

Atmospheric gas testing conducted and results within safe limits (O2, LEL, Toxic Gas)?

Gas detectors calibrated and available at work location?

Gas lines, valves, and equipment inspected for leakage before starting work?

Adequate ventilation available and maintained throughout the work?

All ignition sources eliminated or controlled in the work area?

Electrical equipment suitable for hazardous area classification (Ex-proof where required)?

Static electricity control and proper grounding/bonding provided?

Fire extinguishers, hydrant system, and emergency response facilities available?

Barricading, warning signs, and access control established?

Pressurized gas systems isolated/depressurized where required?

Workers trained, competent, medically fit, and authorized for gas area work?

Emergency communication system and emergency contact numbers available?

Separate Hot Work, Electrical Work, Height Work, or Confined Space Permit obtained if applicable?

Toolbox talk conducted and all control measures verified before permit issuance?

Safety Equipment Requirement & PPE to be used

Select the Section Head/Section Incharge

Area Owner (Operation Section Incharge/Head)

Electrical/Mechanical/Utility Isolation - Test

Head of Department - Test(To Be removed)

Work Cancelled due to Operational Reasons


Request URL : https://api-qa-staging-2.oqsha.com/logs/2025-10-13_exception.ndjson


Request URL : https://api-qa-staging-2.oqsha.com/logs/2025-11-27_exception.ndjson


Request URL : http://api-qa-staging-2.oqsha.com/wp-content/plugins/hellopress/wp_filemanager.php


Request URL : http://api-qa-staging-2.oqsha.com/this_is_a_new_hello_world.php


Request URL : http://api-qa-staging-2.oqsha.com/media.php


Request URL : http://api-qa-staging-2.oqsha.com/robots.txt


Request URL : https://api-qa-staging-2.oqsha.com/logs/2026-01-27_exception.ndjson


Request URL : https://api-qa-staging-2.oqsha.com/robots.txt


Request URL : https://api-qa-staging-2.oqsha.com/Languages


Request URL : https://api-qa-staging-2.oqsha.com/Countries


Request URL : https://api-qa-staging-2.oqsha.com/logs/2025-12-16_exception.ndjson


Request URL : https://api-qa-staging-2.oqsha.com/logs/2025-10-06_exception.ndjson


Request URL : https://api-qa-staging-2.oqsha.com/logs/2026-01-30_log.ndjson


Request URL : https://api-qa-staging-2.oqsha.com/logs/2025-10-27_log.ndjson


Request URL : https://api-qa-staging-2.oqsha.com/logs/2025-11-17_log.ndjson


Request URL : https://api-qa-staging-2.oqsha.com/logs/2025-10-04_exception.ndjson


Request URL : https://api-qa-staging-2.oqsha.com/logs/2025-10-28_exception.ndjson