2026-09-18 11:46:22.231 [INFO ] [main]  Application - Starting Application v0.0.1-SNAPSHOT on server.1rx.in with PID 3213088 (/home/rxco/public_html/uat1rxco/onerx-service-0.0.1-SNAPSHOT.war started by rxco in /home/rxco/public_html/uat1rxco)
2026-09-18 11:46:22.243 [INFO ] [main]  Application - The following profiles are active: uat
2026-09-18 11:46:33.936 [WARN ] [main]  Database - Flyway upgrade recommended: MariaDB 10.11 is newer than this version of Flyway and support has not been tested. The latest supported version of MariaDB is 10.4.
2026-09-18 11:46:42.510 [INFO ] [main]  ResilienceConfig - CircuitBreakerRegistry configured. (window=20, failureRate=50.0, slowCall=8s, openWait=30s)
2026-09-18 11:46:42.536 [INFO ] [main]  ResilienceConfig - BulkheadRegistry configured. (maxConcurrentCalls=10, maxWaitMillis=1000)
2026-09-18 11:46:42.550 [INFO ] [main]  AsyncConfig - Executor configured. (prefix=webhook-, pool=30, queue=500)
2026-09-18 11:46:43.447 [WARN ] [main]  ChemistScanSessionComponent - chemist.scan.token.secret is not configured — QR scan tokens are signed with a key unique to this instance. Configure the same secret on every node so a scan and its consultation survive a restart or a different node.
2026-09-18 11:46:43.874 [WARN ] [main]  JpaBaseConfiguration$JpaWebConfiguration - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2026-09-18 11:46:44.401 [DEBUG] [main]  WebSocketHandlerMapping - Patterns [/rx-websocket/**] in 'stompWebSocketHandlerMapping'
2026-09-18 11:46:44.474 [DEBUG] [main]  WebSocketAnnotationMethodMessageHandler - 
	c.m.o.s.c.DashboardController:
	
2026-09-18 11:46:44.475 [DEBUG] [main]  WebSocketAnnotationMethodMessageHandler - 
	c.m.o.s.c.OrderController:
	
2026-09-18 11:46:44.475 [DEBUG] [main]  WebSocketAnnotationMethodMessageHandler - 
	c.m.o.s.f.c.FitnessConsoleController:
	
2026-09-18 11:46:44.475 [DEBUG] [main]  WebSocketAnnotationMethodMessageHandler - 
	c.m.o.s.c.AnalyticsController:
	
2026-09-18 11:46:44.476 [DEBUG] [main]  WebSocketAnnotationMethodMessageHandler - 
	c.m.o.s.c.PrescriptionController:
	
2026-09-18 11:46:44.476 [DEBUG] [main]  WebSocketAnnotationMethodMessageHandler - 
	c.m.o.s.c.LoginController:
	
2026-09-18 11:46:44.476 [DEBUG] [main]  WebSocketAnnotationMethodMessageHandler - 
	c.m.o.s.c.VideoController:
	
2026-09-18 11:46:44.479 [DEBUG] [main]  WebSocketAnnotationMethodMessageHandler - 
	c.m.o.s.c.VendorController:
	
2026-09-18 11:46:44.479 [DEBUG] [main]  WebSocketAnnotationMethodMessageHandler - 
	c.m.o.s.c.c.ChemistGroupController:
	
2026-09-18 11:46:44.479 [DEBUG] [main]  WebSocketAnnotationMethodMessageHandler - 
	c.m.o.s.c.ComplianceDashboardController:
	
2026-09-18 11:46:44.480 [DEBUG] [main]  WebSocketAnnotationMethodMessageHandler - 
	c.m.o.s.c.PatientController:
	
2026-09-18 11:46:44.480 [DEBUG] [main]  WebSocketAnnotationMethodMessageHandler - 
	c.m.o.s.c.c.ChemistAdminController:
	
2026-09-18 11:46:44.480 [DEBUG] [main]  WebSocketAnnotationMethodMessageHandler - 
	c.m.o.s.c.AdminController:
	
2026-09-18 11:46:44.480 [DEBUG] [main]  WebSocketAnnotationMethodMessageHandler - 
	c.m.o.s.c.WSController:
	
2026-09-18 11:46:44.481 [DEBUG] [main]  WebSocketAnnotationMethodMessageHandler - 
	c.m.o.s.f.c.FitnessVerificationController:
	
2026-09-18 11:46:44.481 [DEBUG] [main]  WebSocketAnnotationMethodMessageHandler - 
	c.m.o.s.c.MedicineController:
	
2026-09-18 11:46:44.481 [DEBUG] [main]  WebSocketAnnotationMethodMessageHandler - 
	c.m.o.s.c.ReportsController:
	
2026-09-18 11:46:44.481 [DEBUG] [main]  WebSocketAnnotationMethodMessageHandler - 
	c.m.o.s.c.AppointmentController:
	
2026-09-18 11:46:44.482 [DEBUG] [main]  WebSocketAnnotationMethodMessageHandler - 
	c.m.o.s.c.PrescriptionConfigurationController:
	
2026-09-18 11:46:44.482 [DEBUG] [main]  WebSocketAnnotationMethodMessageHandler - 
	c.m.o.s.c.c.ChemistCustomerController:
	
2026-09-18 11:46:44.490 [DEBUG] [main]  WebSocketAnnotationMethodMessageHandler - 
	c.m.o.s.c.MessageController:
	{[MESSAGE],[/private-message]}: getPrivateMessage(WebSocketMessage,Principal)
	{[MESSAGE],[/message]}: getMessage(WebSocketMessage)
2026-09-18 11:46:44.491 [DEBUG] [main]  WebSocketAnnotationMethodMessageHandler - 
	c.m.o.s.c.UserController:
	
2026-09-18 11:46:44.491 [DEBUG] [main]  WebSocketAnnotationMethodMessageHandler - 
	c.m.o.s.c.c.ChemistDashboardController:
	
2026-09-18 11:46:44.492 [DEBUG] [main]  WebSocketAnnotationMethodMessageHandler - 
	s.d.s.w.ApiResourceController:
	
2026-09-18 11:46:44.493 [DEBUG] [main]  WebSocketAnnotationMethodMessageHandler - 
	o.s.b.a.w.s.e.BasicErrorController:
	
2026-09-18 11:46:44.540 [INFO ] [main]  AsyncConfig - Executor configured. (prefix=async-, pool=50, queue=500)
2026-09-18 11:46:45.473 [INFO ] [main]  Application - Started Application in 23.983 seconds (JVM running for 26.253)
2026-09-18 11:47:00.001 [INFO ] [MessageBroker-1]  RxSchedulerJob - RxSchedulerJob Start Time 2026-09-18T06:17:00.001Z
2026-09-18 11:47:00.040 [INFO ] [MessageBroker-1]  RxSchedulerJob - RxSchedulerJob End Time 2026-09-18T06:17:00.040Z
2026-09-18 11:47:01.063 [INFO ] [http-nio-10000-exec-1]  SchedulerEngineService - Cancel rx request received from Scheduler engine. rxId = 14d7f909-b2ad-4663-adfd-eb49e57efdf0
2026-09-18 11:47:01.110 [INFO ] [async-1]  VendorComponent - Fetching vendor details. (vendor=Akidha)
2026-09-18 11:47:29.095 [INFO ] [http-nio-10000-exec-3]  VendorComponent - Fetching vendor details. (vendor=Marvel)
2026-09-18 11:47:38.216 [INFO ] [http-nio-10000-exec-6]  AuthorizationRequestFilter - request received from ipaddres 0:0:0:0:0:0:0:1
2026-09-18 11:47:41.330 [INFO ] [http-nio-10000-exec-6]  OrderComponent - Received order to create prescription. (order =OrderRequest(pharmacyOrderId=404-7623963-2495509, shipmentCode=3bcecd65-9d61-4016-94ea-5413d08e3e2c, pharmacyId=621b9c54-2666-4023-bf71-093897942880, orderTimeMillis=1761731998081, type=POST_ORDER, subType=null, member=null, customerDisplayName=null, languagePreference=English, customer=Customer(name=Confirm on call), patients=[Patient(name=Confirm on call, gender=UNSPECIFIED, age=0, complains=null, diagnoses=null, procedures=null, id=null)], medicines=[OrderedMedicine(id=ATOCOR_ATORVASTATIN#20.0#MILLIGRAMS###1_TABLETS, name=Atocor 20Mg - Strip of 15 Tablets, composition=ATORVASTATIN-20MG, type=TABLETS, quantity=15, preference=, dosage=1-0-0, days=10, frequency=DAILY, comments=null, uuid=1a3ea8f9-4a11-4beb-b88d-9cb7f1433975, url=https://www.amazon.in/dp/B08C39ZLGF, pharmacyRejectionReason=null, category=null, chronic=null)], uploadFileType=pdf, customAttributes=null, preferredConsultationTime=null, videoConsultationUrl=null, deliveryDate=null))
2026-09-18 11:47:41.331 [INFO ] [http-nio-10000-exec-6]  VendorComponent - Fetching vendor details. (vendor=amazon)
2026-09-18 11:47:44.409 [INFO ] [MessageBroker-2]  WebSocketMessageBrokerStats - WebSocketSession[0 current WS(0)-HttpStream(0)-HttpPoll(0), 0 total, 0 closed abnormally (0 connect failure, 0 send limit, 0 transport error)], stompSubProtocol[processed CONNECT(0)-CONNECTED(0)-DISCONNECT(0)], stompBrokerRelay[null], inboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], outboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], sockJsScheduler[pool size = 6, active threads = 1, queued tasks = 5, completed tasks = 1]
2026-09-18 11:48:34.216 [INFO ] [http-nio-10000-exec-3]  SchedulerEngineService - Assign rx request received from Scheduler engine. rxId = 06e0900c-cff3-43d2-9b53-3f2806b98696, vendor=null, doctors=[4925b649-cf6c-4a17-af0e-2ca9dfd36d07]
2026-09-18 11:48:34.228 [INFO ] [async-3]  VendorComponent - Fetching vendor details. (vendor=ekincare)
2026-09-18 11:50:44.222 [INFO ] [http-nio-10000-exec-3]  AuthorizationRequestFilter - request received from ipaddres 0:0:0:0:0:0:0:1
2026-09-18 11:50:44.232 [INFO ] [http-nio-10000-exec-3]  OrderComponent - Received order to create prescription. (order =OrderRequest(pharmacyOrderId=404-7623963-2495509, shipmentCode=3bcecd65-9d61-4016-94ea-5413d08e3e2c, pharmacyId=621b9c54-2666-4023-bf71-093897942880, orderTimeMillis=1761731998081, type=POST_ORDER, subType=null, member=null, customerDisplayName=null, languagePreference=English, customer=Customer(name=Confirm on call), patients=[Patient(name=Confirm on call, gender=UNSPECIFIED, age=0, complains=null, diagnoses=null, procedures=null, id=null)], medicines=[OrderedMedicine(id=ATOCOR_ATORVASTATIN#20.0#MILLIGRAMS###1_TABLETS, name=Atocor 20Mg - Strip of 15 Tablets, composition=ATORVASTATIN-20MG, type=TABLETS, quantity=15, preference=, dosage=1-0-0, days=10, frequency=DAILY, comments=null, uuid=a48424d3-4bcd-44b0-82be-6af9a6f4a1f1, url=https://www.amazon.in/dp/B08C39ZLGF, pharmacyRejectionReason=null, category=null, chronic=null)], uploadFileType=pdf, customAttributes=null, preferredConsultationTime=null, videoConsultationUrl=null, deliveryDate=null))
2026-09-18 11:51:31.273 [ERROR] [http-nio-10000-exec-3]  AuthenticationComponent - User not found. username=ashsh@plazza.com
2026-09-18 11:51:59.243 [INFO ] [http-nio-10000-exec-2]  AuthorizationRequestFilter - request received from ipaddres 65.2.121.10
2026-09-18 11:51:59.258 [INFO ] [http-nio-10000-exec-2]  OrderComponent - Received order to create prescription. (order =OrderRequest(pharmacyOrderId=CART-22673, shipmentCode=null, pharmacyId=null, orderTimeMillis=1789712519257, type=POST_ORDER, subType=null, member=null, customerDisplayName=null, languagePreference=English, customer=Customer(name=Plazza), patients=[Patient(name=Abhijeet, gender=MALE, age=null, complains=null, diagnoses=null, procedures=null, id=null)], medicines=[OrderedMedicine(id=DRS047485, name=Montek LC Tablet, composition=null, type=null, quantity=1, preference=, dosage=, days=0, frequency=, comments=, uuid=null, url=null, pharmacyRejectionReason=null, category=null, chronic=null)], uploadFileType=pdf, customAttributes=null, preferredConsultationTime=null, videoConsultationUrl=null, deliveryDate=null))
2026-09-18 11:51:59.258 [INFO ] [http-nio-10000-exec-2]  VendorComponent - Fetching vendor details. (vendor=plazza)
2026-09-18 11:51:59.267 [INFO ] [http-nio-10000-exec-2]  OrderComponent - Invalid patient alternate mobile number. Supported format is xxxxxxxxxx. order id CART-22673
2026-09-18 11:52:00.001 [INFO ] [MessageBroker-3]  RxSchedulerJob - RxSchedulerJob Start Time 2026-09-18T06:22:00.001Z
2026-09-18 11:52:00.014 [INFO ] [MessageBroker-3]  RxSchedulerJob - RxSchedulerJob End Time 2026-09-18T06:22:00.014Z
2026-09-18 11:52:02.469 [INFO ] [http-nio-10000-exec-2]  PrescriptionComponent - Processing create a draft prescription request. (patientId=22f68702-550c-44c5-873b-44c6adc1d388, orderId =CART-22673, vendorId=plazza)
2026-09-18 11:52:02.706 [INFO ] [http-nio-10000-exec-2]  SchedulerServiceRespository - Get All available doctor present in the pool for vendor = plazza prescriptionId = 33f25d7f-0dc7-4d52-aa47-46c485ed326f, doctroIds = [695369eb-f91e-44ad-ac18-ed220903232b] 
2026-09-18 11:52:02.706 [INFO ] [http-nio-10000-exec-2]  PrescriptionComponent - Available doctorIds [695369eb-f91e-44ad-ac18-ed220903232b] for prescriptionId
2026-09-18 11:52:02.715 [INFO ] [async-7]  Msg91Repository - send whatsapp contact list is empty for orderId CART-22673 
2026-09-18 11:52:02.718 [INFO ] [http-nio-10000-exec-2]  PrescriptionComponent - allow rx validation is set false for vendor plazza 
2026-09-18 11:52:02.746 [ERROR] [async-8]  SimpleAsyncUncaughtExceptionHandler - Unexpected exception occurred invoking async method: public void com.myrx.onerx.service.repository.MedicineServiceRepository.prefetchMedicines(java.util.List) throws com.myrx.onerx.common.exception.model.SystemException
com.myrx.onerx.common.exception.model.SystemException: Error while prefetching medicines for dosage recommendation.
	at com.myrx.onerx.service.repository.MedicineServiceRepository.prefetchMedicines(MedicineServiceRepository.java:60) ~[classes!/:0.0.1-SNAPSHOT]
	at com.myrx.onerx.service.repository.MedicineServiceRepository$$FastClassBySpringCGLIB$$5750832b.invoke(<generated>) ~[classes!/:0.0.1-SNAPSHOT]
	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]
	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:771) ~[spring-aop-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]
	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749) ~[spring-aop-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]
	at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) ~[spring-tx-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]
	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749) ~[spring-aop-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]
	at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115) ~[spring-aop-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_504]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_504]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_504]
	at java.lang.Thread.run(Thread.java:750) [?:1.8.0_504]
2026-09-18 11:52:02.745 [ERROR] [async-8]  MedicineServiceRepository - Medicine prefetch failed. medications = [Montek LC Tablet], code = 0, body = null
com.myrx.onerx.medicine.service.client.ApiException: java.net.ConnectException: Failed to connect to /65.254.80.100:8111
	at com.myrx.onerx.medicine.service.client.ApiClient.execute(ApiClient.java:842) ~[onerx-medicine-service-java-client-0.0.1-SNAPSHOT.jar!/:0.0.1-SNAPSHOT]
	at com.myrx.onerx.medicine.service.client.ApiClient.execute(ApiClient.java:822) ~[onerx-medicine-service-java-client-0.0.1-SNAPSHOT.jar!/:0.0.1-SNAPSHOT]
	at com.myrx.onerx.medicine.service.client.api.MedicineServiceApi.prefetchMedicinesApiV1DrugsDosagePrefetchPostWithHttpInfo(MedicineServiceApi.java:401) ~[onerx-medicine-service-java-client-0.0.1-SNAPSHOT.jar!/:0.0.1-SNAPSHOT]
	at com.myrx.onerx.medicine.service.client.api.MedicineServiceApi.prefetchMedicinesApiV1DrugsDosagePrefetchPost(MedicineServiceApi.java:389) ~[onerx-medicine-service-java-client-0.0.1-SNAPSHOT.jar!/:0.0.1-SNAPSHOT]
	at com.myrx.onerx.service.repository.MedicineServiceRepository.prefetchMedicines(MedicineServiceRepository.java:51) ~[classes!/:0.0.1-SNAPSHOT]
	at com.myrx.onerx.service.repository.MedicineServiceRepository$$FastClassBySpringCGLIB$$5750832b.invoke(<generated>) ~[classes!/:0.0.1-SNAPSHOT]
	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]
	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:771) ~[spring-aop-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]
	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749) ~[spring-aop-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]
	at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) ~[spring-tx-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]
	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749) ~[spring-aop-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]
	at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115) ~[spring-aop-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_504]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_504]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_504]
	at java.lang.Thread.run(Thread.java:750) [?:1.8.0_504]
Caused by: java.net.ConnectException: Failed to connect to /65.254.80.100:8111
	at com.squareup.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:143) ~[okhttp-2.7.5.jar!/:?]
	at com.squareup.okhttp.internal.io.RealConnection.connect(RealConnection.java:112) ~[okhttp-2.7.5.jar!/:?]
	at com.squareup.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:184) ~[okhttp-2.7.5.jar!/:?]
	at com.squareup.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:126) ~[okhttp-2.7.5.jar!/:?]
	at com.squareup.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:95) ~[okhttp-2.7.5.jar!/:?]
	at com.squareup.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:281) ~[okhttp-2.7.5.jar!/:?]
	at com.squareup.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:224) ~[okhttp-2.7.5.jar!/:?]
	at com.squareup.okhttp.Call.getResponse(Call.java:286) ~[okhttp-2.7.5.jar!/:?]
	at com.squareup.okhttp.Call$ApplicationInterceptorChain.proceed(Call.java:243) ~[okhttp-2.7.5.jar!/:?]
	at com.squareup.okhttp.Call.getResponseWithInterceptorChain(Call.java:205) ~[okhttp-2.7.5.jar!/:?]
	at com.squareup.okhttp.Call.execute(Call.java:80) ~[okhttp-2.7.5.jar!/:?]
	at com.myrx.onerx.medicine.service.client.ApiClient.execute(ApiClient.java:838) ~[onerx-medicine-service-java-client-0.0.1-SNAPSHOT.jar!/:0.0.1-SNAPSHOT]
	... 17 more
2026-09-18 11:52:17.843 [DEBUG] [http-nio-10000-exec-9]  WebSocketHandlerMapping - Mapped to org.springframework.web.socket.sockjs.support.SockJsHttpRequestHandler@6686507b
2026-09-18 11:52:17.847 [DEBUG] [http-nio-10000-exec-9]  DefaultSockJsService - Processing transport request: GET http://uat.1rx.co.in/rx-websocket/info?t=1789712537464
2026-09-18 11:52:17.972 [DEBUG] [http-nio-10000-exec-2]  WebSocketHandlerMapping - Mapped to org.springframework.web.socket.sockjs.support.SockJsHttpRequestHandler@6686507b
2026-09-18 11:52:17.973 [DEBUG] [http-nio-10000-exec-2]  DefaultSockJsService - Processing transport request: GET http://uat.1rx.co.in/rx-websocket/461/qohlu1cy/websocket
2026-09-18 11:52:17.983 [INFO ] [http-nio-10000-exec-2]  UserHandshakeHandler - User determined. userId = 0df0ca9c-d82e-467a-af66-71214f1ae1b1
2026-09-18 11:52:19.656 [INFO ] [http-nio-10000-exec-6]  PrescriptionComponent - Accept order and start calling request for prescription 33f25d7f-0dc7-4d52-aa47-46c485ed326f by doctor 0df0ca9c-d82e-467a-af66-71214f1ae1b1
2026-09-18 11:52:19.725 [INFO ] [http-nio-10000-exec-6]  SchedulerServiceRespository - Blocking doctor for a prescription is successful. doctorId = 0df0ca9c-d82e-467a-af66-71214f1ae1b1, vendor = plazza prescriptionId =33f25d7f-0dc7-4d52-aa47-46c485ed326f, message = Doctor 0df0ca9c-d82e-467a-af66-71214f1ae1b1 blocked and remaining doctors unblocked for prescription 33f25d7f-0dc7-4d52-aa47-46c485ed326f.
2026-09-18 11:52:19.747 [INFO ] [http-nio-10000-exec-6]  PrescriptionComponent - Notified doctor ids : [3185d3e6-ef8f-4119-a40a-03ab59e56674, 695369eb-f91e-44ad-ac18-ed220903232b]
2026-09-18 11:52:19.749 [INFO ] [http-nio-10000-exec-6]  PrescriptionComponent - allow rx validation is set false for vendor plazza 
2026-09-18 11:52:20.712 [INFO ] [http-nio-10000-exec-6]  PrescriptionComponent - initating 2 way calling for partner msg91
2026-09-18 11:52:20.713 [INFO ] [http-nio-10000-exec-6]  PrescriptionComponent - Caller id selected for vendor 917316914513 is 917316914513
2026-09-18 11:52:20.718 [INFO ] [http-nio-10000-exec-6]  Msg91Repository - Call request for msg91:TwoWayCall(caller_id=917316914513, destination=917558508859, callback_url=https://uat.1rx.co.in/api/1rx/v1/webhooks/msg91/33f25d7f-0dc7-4d52-aa47-46c485ed326f)
2026-09-18 11:52:20.753 [DEBUG] [http-nio-10000-exec-2]  LoggingWebSocketHandlerDecorator - New WebSocketServerSockJsSession[id=qohlu1cy]
2026-09-18 11:52:20.774 [DEBUG] [http-nio-10000-exec-2]  LoggingWebSocketHandlerDecorator - Transport error in WebSocketServerSockJsSession[id=qohlu1cy]
java.io.EOFException: null
	at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1231) ~[tomcat-embed-core-9.0.35.jar!/:9.0.35]
	at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.read(NioEndpoint.java:1141) ~[tomcat-embed-core-9.0.35.jar!/:9.0.35]
	at org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:72) ~[tomcat-embed-websocket-9.0.35.jar!/:9.0.35]
	at org.apache.tomcat.websocket.server.WsFrameServer.doOnDataAvailable(WsFrameServer.java:171) ~[tomcat-embed-websocket-9.0.35.jar!/:9.0.35]
	at org.apache.tomcat.websocket.server.WsFrameServer.notifyDataAvailable(WsFrameServer.java:151) ~[tomcat-embed-websocket-9.0.35.jar!/:9.0.35]
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.upgradeDispatch(WsHttpUpgradeHandler.java:148) [tomcat-embed-websocket-9.0.35.jar!/:9.0.35]
	at org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeProcessorInternal.java:54) [tomcat-embed-core-9.0.35.jar!/:9.0.35]
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:59) [tomcat-embed-core-9.0.35.jar!/:9.0.35]
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) [tomcat-embed-core-9.0.35.jar!/:9.0.35]
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) [tomcat-embed-core-9.0.35.jar!/:9.0.35]
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.35.jar!/:9.0.35]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_504]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_504]
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.35.jar!/:9.0.35]
	at java.lang.Thread.run(Thread.java:750) [?:1.8.0_504]
2026-09-18 11:52:20.776 [DEBUG] [http-nio-10000-exec-2]  LoggingWebSocketHandlerDecorator - WebSocketServerSockJsSession[id=qohlu1cy] closed with CloseStatus[code=1006, reason=null]
2026-09-18 11:52:20.776 [DEBUG] [http-nio-10000-exec-2]  SubProtocolWebSocketHandler - Clearing session qohlu1cy
2026-09-18 11:52:20.782 [INFO ] [http-nio-10000-exec-2]  WebSocketConfig - Doctor with username 0df0ca9c-d82e-467a-af66-71214f1ae1b1 disconnected
2026-09-18 11:52:20.784 [DEBUG] [clientOutboundChannel-1]  SubProtocolWebSocketHandler - No session for GenericMessage [payload=byte[0], headers={simpMessageType=DISCONNECT_ACK, simpDisconnectMessage=GenericMessage [payload=byte[0], headers={simpMessageType=DISCONNECT, stompCommand=DISCONNECT, simpSessionAttributes={org.springframework.messaging.simp.SimpAttributes.COMPLETED=true}, simpUser=0df0ca9c-d82e-467a-af66-71214f1ae1b1, simpSessionId=qohlu1cy}], simpUser=0df0ca9c-d82e-467a-af66-71214f1ae1b1, simpSessionId=qohlu1cy}]
2026-09-18 11:52:20.856 [DEBUG] [http-nio-10000-exec-5]  WebSocketHandlerMapping - Mapped to org.springframework.web.socket.sockjs.support.SockJsHttpRequestHandler@6686507b
2026-09-18 11:52:20.857 [DEBUG] [http-nio-10000-exec-5]  DefaultSockJsService - Processing transport request: POST http://uat.1rx.co.in/rx-websocket/461/cc3x3luq/xhr_streaming?t=1789712540574
2026-09-18 11:52:20.859 [DEBUG] [http-nio-10000-exec-5]  XhrStreamingTransportHandler - POST http://uat.1rx.co.in/rx-websocket/461/cc3x3luq/xhr_streaming?t=1789712540574
2026-09-18 11:52:20.871 [DEBUG] [http-nio-10000-exec-5]  LoggingWebSocketHandlerDecorator - New XhrStreamingSockJsSession[id=cc3x3luq]
2026-09-18 11:52:21.328 [DEBUG] [http-nio-10000-exec-7]  WebSocketHandlerMapping - Mapped to org.springframework.web.socket.sockjs.support.SockJsHttpRequestHandler@6686507b
2026-09-18 11:52:21.329 [DEBUG] [http-nio-10000-exec-7]  DefaultSockJsService - Processing transport request: POST http://uat.1rx.co.in/rx-websocket/461/cc3x3luq/xhr_send?t=1789712540838
2026-09-18 11:52:21.334 [ERROR] [http-nio-10000-exec-7]  WebSocketConfig - Doctor with username null connected
2026-09-18 11:52:21.837 [DEBUG] [http-nio-10000-exec-8]  WebSocketHandlerMapping - Mapped to org.springframework.web.socket.sockjs.support.SockJsHttpRequestHandler@6686507b
2026-09-18 11:52:21.838 [DEBUG] [http-nio-10000-exec-8]  DefaultSockJsService - Processing transport request: POST http://uat.1rx.co.in/rx-websocket/461/cc3x3luq/xhr_send?t=1789712541323
2026-09-18 11:52:22.043 [INFO ] [http-nio-10000-exec-6]  Msg91Repository - Call Response : {"success": false, "message": "Plan Expired"}

2026-09-18 11:52:22.049 [INFO ] [http-nio-10000-exec-6]  PrescriptionComponent - initiating 2 way calling for partner knowlarity
2026-09-18 11:52:22.050 [INFO ] [http-nio-10000-exec-6]  PrescriptionComponent - Caller id selected for vendor plazza is +918044131150
2026-09-18 11:52:22.447 [INFO ] [http-nio-10000-exec-6]  KnowlarityRepository - Call Response : {"success": {"status": "success", "message": "Call successfully placed", "call_id": "6057519f-7d44-432f-8b5a-109882a86013"}}
2026-09-18 11:52:22.474 [INFO ] [http-nio-10000-exec-6]  PrescriptionComponent - No Authorization server configuration found for vendor plazza
2026-09-18 11:52:22.474 [INFO ] [http-nio-10000-exec-6]  PrescriptionComponent - Sending order status webhook for rx with id 33f25d7f-0dc7-4d52-aa47-46c485ed326f for vendor plazza
2026-09-18 11:52:22.541 [INFO ] [webhook-1]  WebhookAdapter - sendPrescriptionWebhookWithRetries: Webhook event fired. (webhook=plazza, url=https://staging.plazza.in/prescription-service/api/v1/myrx/orders/webhook, order signature=y2EyMopo7m8RVEuI3Yyxix6PjbnY2sbHmseTgYwbnqc=)
2026-09-18 11:52:22.551 [INFO ] [http-nio-10000-exec-1]  SchedulerServiceRespository - Add doctor to pool is successful. doctorId = 0df0ca9c-d82e-467a-af66-71214f1ae1b1, vendor = plazza with message = Doctor 0df0ca9c-d82e-467a-af66-71214f1ae1b1 is currently assigned to a prescription and cannot be added to the pool.
2026-09-18 11:52:22.757 [INFO ] [http-nio-10000-exec-10]  PrescriptionComponent - allow rx validation is set false for vendor plazza 
2026-09-18 11:52:22.784 [INFO ] [http-nio-10000-exec-10]  PrescriptionComponent - getting skuOrder history
2026-09-18 11:52:27.976 [DEBUG] [MessageBroker-6]  DefaultSockJsService - Closed 1 sessions: [qohlu1cy]
2026-09-18 11:53:13.254 [INFO ] [http-nio-10000-exec-9]  PrescriptionComponent - allow rx validation is set false for vendor plazza 
2026-09-18 11:53:13.254 [INFO ] [http-nio-10000-exec-9]  PrescriptionComponent - initating 2 way calling for partner msg91
2026-09-18 11:53:13.254 [INFO ] [http-nio-10000-exec-9]  PrescriptionComponent - Caller id selected for vendor 917316914513 is 917316914513
2026-09-18 11:53:13.254 [INFO ] [http-nio-10000-exec-9]  Msg91Repository - Call request for msg91:TwoWayCall(caller_id=917316914513, destination=917558508859, callback_url=https://uat.1rx.co.in/api/1rx/v1/webhooks/msg91/33f25d7f-0dc7-4d52-aa47-46c485ed326f)
2026-09-18 11:53:13.644 [INFO ] [http-nio-10000-exec-9]  Msg91Repository - Call Response : {"success": false, "message": "Plan Expired"}

2026-09-18 11:53:13.645 [INFO ] [http-nio-10000-exec-9]  PrescriptionComponent - initiating 2 way calling for partner knowlarity
2026-09-18 11:53:13.645 [INFO ] [http-nio-10000-exec-9]  PrescriptionComponent - Caller id selected for vendor plazza is +918044131150
2026-09-18 11:53:13.828 [INFO ] [http-nio-10000-exec-9]  KnowlarityRepository - Call Response : {"success": {"status": "success", "message": "Call successfully placed", "call_id": "e1e270e1-4adf-40af-9dae-d6ce719cea97"}}
2026-09-18 11:53:13.829 [INFO ] [http-nio-10000-exec-9]  PrescriptionComponent - No Authorization server configuration found for vendor plazza
2026-09-18 11:53:13.829 [INFO ] [http-nio-10000-exec-9]  PrescriptionComponent - Sending order status webhook for rx with id 33f25d7f-0dc7-4d52-aa47-46c485ed326f for vendor plazza
2026-09-18 11:53:13.831 [INFO ] [webhook-2]  WebhookAdapter - sendPrescriptionWebhookWithRetries: Webhook event fired. (webhook=plazza, url=https://staging.plazza.in/prescription-service/api/v1/myrx/orders/webhook, order signature=y2EyMopo7m8RVEuI3Yyxix6PjbnY2sbHmseTgYwbnqc=)
2026-09-18 11:53:44.213 [INFO ] [http-nio-10000-exec-4]  SchedulerEngineService - Assign rx request received from Scheduler engine. rxId = 06e0900c-cff3-43d2-9b53-3f2806b98696, vendor=null, doctors=[4925b649-cf6c-4a17-af0e-2ca9dfd36d07]
2026-09-18 11:53:47.205 [INFO ] [http-nio-10000-exec-5]  AuthorizationRequestFilter - request received from ipaddres 0:0:0:0:0:0:0:1
2026-09-18 11:53:47.213 [INFO ] [http-nio-10000-exec-5]  OrderComponent - Received order to create prescription. (order =OrderRequest(pharmacyOrderId=404-7623963-2495509, shipmentCode=3bcecd65-9d61-4016-94ea-5413d08e3e2c, pharmacyId=621b9c54-2666-4023-bf71-093897942880, orderTimeMillis=1761731998081, type=POST_ORDER, subType=null, member=null, customerDisplayName=null, languagePreference=English, customer=Customer(name=Confirm on call), patients=[Patient(name=Confirm on call, gender=UNSPECIFIED, age=0, complains=null, diagnoses=null, procedures=null, id=null)], medicines=[OrderedMedicine(id=ATOCOR_ATORVASTATIN#20.0#MILLIGRAMS###1_TABLETS, name=Atocor 20Mg - Strip of 15 Tablets, composition=ATORVASTATIN-20MG, type=TABLETS, quantity=15, preference=, dosage=1-0-0, days=10, frequency=DAILY, comments=null, uuid=b7447427-fa53-479d-ad88-feced2193d68, url=https://www.amazon.in/dp/B08C39ZLGF, pharmacyRejectionReason=null, category=null, chronic=null)], uploadFileType=pdf, customAttributes=null, preferredConsultationTime=null, videoConsultationUrl=null, deliveryDate=null))
2026-09-18 11:53:57.962 [INFO ] [http-nio-10000-exec-3]  PrescriptionComponent - allow rx validation is set false for vendor plazza 
2026-09-18 11:53:57.962 [INFO ] [http-nio-10000-exec-3]  PrescriptionComponent - initating 2 way calling for partner msg91
2026-09-18 11:53:57.962 [INFO ] [http-nio-10000-exec-3]  PrescriptionComponent - Caller id selected for vendor 917316914513 is 917316914513
2026-09-18 11:53:57.963 [INFO ] [http-nio-10000-exec-3]  Msg91Repository - Call request for msg91:TwoWayCall(caller_id=917316914513, destination=917558508859, callback_url=https://uat.1rx.co.in/api/1rx/v1/webhooks/msg91/33f25d7f-0dc7-4d52-aa47-46c485ed326f)
2026-09-18 11:53:58.345 [INFO ] [http-nio-10000-exec-3]  Msg91Repository - Call Response : {"success": false, "message": "Plan Expired"}

2026-09-18 11:53:58.346 [INFO ] [http-nio-10000-exec-3]  PrescriptionComponent - initiating 2 way calling for partner knowlarity
2026-09-18 11:53:58.346 [INFO ] [http-nio-10000-exec-3]  PrescriptionComponent - Caller id selected for vendor plazza is +918044131150
2026-09-18 11:53:58.558 [INFO ] [http-nio-10000-exec-3]  KnowlarityRepository - Call Response : {"success": {"status": "success", "message": "Call successfully placed", "call_id": "63f49eb0-19ca-40a5-843a-b38bbe6dc146"}}
2026-09-18 11:53:58.558 [INFO ] [http-nio-10000-exec-3]  PrescriptionComponent - No Authorization server configuration found for vendor plazza
2026-09-18 11:53:58.558 [INFO ] [http-nio-10000-exec-3]  PrescriptionComponent - Sending order status webhook for rx with id 33f25d7f-0dc7-4d52-aa47-46c485ed326f for vendor plazza
2026-09-18 11:53:58.560 [INFO ] [webhook-3]  WebhookAdapter - sendPrescriptionWebhookWithRetries: Webhook event fired. (webhook=plazza, url=https://staging.plazza.in/prescription-service/api/v1/myrx/orders/webhook, order signature=y2EyMopo7m8RVEuI3Yyxix6PjbnY2sbHmseTgYwbnqc=)
2026-09-18 11:56:51.589 [INFO ] [http-nio-10000-exec-10]  AuthorizationRequestFilter - request received from ipaddres 0:0:0:0:0:0:0:1
2026-09-18 11:56:51.597 [INFO ] [http-nio-10000-exec-10]  OrderComponent - Received order to create prescription. (order =OrderRequest(pharmacyOrderId=404-7623963-2495509, shipmentCode=3bcecd65-9d61-4016-94ea-5413d08e3e2c, pharmacyId=621b9c54-2666-4023-bf71-093897942880, orderTimeMillis=1761731998081, type=POST_ORDER, subType=null, member=null, customerDisplayName=null, languagePreference=English, customer=Customer(name=Confirm on call), patients=[Patient(name=Confirm on call, gender=UNSPECIFIED, age=0, complains=null, diagnoses=null, procedures=null, id=null)], medicines=[OrderedMedicine(id=ATOCOR_ATORVASTATIN#20.0#MILLIGRAMS###1_TABLETS, name=Atocor 20Mg - Strip of 15 Tablets, composition=ATORVASTATIN-20MG, type=TABLETS, quantity=15, preference=, dosage=1-0-0, days=10, frequency=DAILY, comments=null, uuid=1810dec4-fb74-4fed-9e62-ecf8b3027bad, url=https://www.amazon.in/dp/B08C39ZLGF, pharmacyRejectionReason=null, category=null, chronic=null)], uploadFileType=pdf, customAttributes=null, preferredConsultationTime=null, videoConsultationUrl=null, deliveryDate=null))
2026-09-18 11:57:00.000 [INFO ] [MessageBroker-5]  RxSchedulerJob - RxSchedulerJob Start Time 2026-09-18T06:27:00Z
2026-09-18 11:57:00.004 [INFO ] [MessageBroker-5]  RxSchedulerJob - RxSchedulerJob End Time 2026-09-18T06:27:00.004Z
2026-09-18 11:58:54.213 [INFO ] [http-nio-10000-exec-5]  SchedulerEngineService - Assign rx request received from Scheduler engine. rxId = 06e0900c-cff3-43d2-9b53-3f2806b98696, vendor=null, doctors=[4925b649-cf6c-4a17-af0e-2ca9dfd36d07]
2026-09-18 11:59:54.975 [INFO ] [http-nio-10000-exec-8]  AuthorizationRequestFilter - request received from ipaddres 0:0:0:0:0:0:0:1
2026-09-18 11:59:54.983 [INFO ] [http-nio-10000-exec-8]  OrderComponent - Received order to create prescription. (order =OrderRequest(pharmacyOrderId=404-7623963-2495509, shipmentCode=3bcecd65-9d61-4016-94ea-5413d08e3e2c, pharmacyId=621b9c54-2666-4023-bf71-093897942880, orderTimeMillis=1761731998081, type=POST_ORDER, subType=null, member=null, customerDisplayName=null, languagePreference=English, customer=Customer(name=Confirm on call), patients=[Patient(name=Confirm on call, gender=UNSPECIFIED, age=0, complains=null, diagnoses=null, procedures=null, id=null)], medicines=[OrderedMedicine(id=ATOCOR_ATORVASTATIN#20.0#MILLIGRAMS###1_TABLETS, name=Atocor 20Mg - Strip of 15 Tablets, composition=ATORVASTATIN-20MG, type=TABLETS, quantity=15, preference=, dosage=1-0-0, days=10, frequency=DAILY, comments=null, uuid=cef98472-6365-48d3-9d94-89dadea6a224, url=https://www.amazon.in/dp/B08C39ZLGF, pharmacyRejectionReason=null, category=null, chronic=null)], uploadFileType=pdf, customAttributes=null, preferredConsultationTime=null, videoConsultationUrl=null, deliveryDate=null))
