jookies / jasmin

Jasmin - Open source SMS gateway
http://jasminsms.com
Other
1.02k stars 549 forks source link

getting HTTPApiError on DLR acknowledgement #1012

Closed sengarrohit closed 1 year ago

sengarrohit commented 2 years ago

I am getting below error in dlr-thrower logs---

2021-10-11 13:08:56 INFO 77737 Throwed DLR [msgid:4c7f3a4e-73de-4c74-ac62-3c6f5b902ce5] to http://localhost:8083/abc/proxy/dlr-rpt?id=100we. 2021-10-11 13:08:56 ERROR 77737 Throwing HTTP/DLR [msgid:4c7f3a4e-73de-4c74-ac62-3c6f5b902ce5] to (http://localhost:8083/abc/proxy/dlr-rpt?id=100we): HttpApiError(). 2021-10-11 13:08:56 WARNING 77737 Message try-count is 4 [msgid:4c7f3a4e-73de-4c74-ac62-3c6f5b902ce5]: purged from queue

Please help me to resolve this issue. I am not sure what's wrong in my DLR acknowledgement API. Hire is the code snippet- image

amelyec commented 2 years ago

Hello,

Change your return statement;

from

return " ACK/Jasmin";

to

return "ACK/Jasmin";

On Mon, Oct 11, 2021 at 10:50 AM sengarrohit @.***> wrote:

I am getting below error in dlr-thrower logs---

2021-10-11 13:08:56 INFO 77737 Throwed DLR [msgid:4c7f3a4e-73de-4c74-ac62-3c6f5b902ce5] to http://localhost:8083/gts/proxy/dlr-rpt?id=100we. 2021-10-11 13:08:56 ERROR 77737 Throwing HTTP/DLR [msgid:4c7f3a4e-73de-4c74-ac62-3c6f5b902ce5] to ( http://localhost:8083/gts/proxy/dlr-rpt?id=100we): HttpApiError(). 2021-10-11 13:08:56 WARNING 77737 Message try-count is 4 [msgid:4c7f3a4e-73de-4c74-ac62-3c6f5b902ce5]: purged from queue

Please help me to resolve this issue. I am not sure what's wrong in my DLR acknowledgement API. Hire is the code snippet- [image: image] https://user-images.githubusercontent.com/90054783/136752387-3e53c3dd-3506-448b-9a45-3dd0ab15a7e4.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jookies/jasmin/issues/1012, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACIT2EXOGR4FYO6EUWL24BTUGKJL3ANCNFSM5FXSO74Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

sengarrohit commented 2 years ago

Hello, Change your return statement; from return " ACK/Jasmin"; to return "ACK/Jasmin"; On Mon, Oct 11, 2021 at 10:50 AM sengarrohit @.***> wrote: I am getting below error in dlr-thrower logs--- 2021-10-11 13:08:56 INFO 77737 Throwed DLR [msgid:4c7f3a4e-73de-4c74-ac62-3c6f5b902ce5] to http://localhost:8083/gts/proxy/dlr-rpt?id=100we. 2021-10-11 13:08:56 ERROR 77737 Throwing HTTP/DLR [msgid:4c7f3a4e-73de-4c74-ac62-3c6f5b902ce5] to ( http://localhost:8083/gts/proxy/dlr-rpt?id=100we): HttpApiError(). 2021-10-11 13:08:56 WARNING 77737 Message try-count is 4 [msgid:4c7f3a4e-73de-4c74-ac62-3c6f5b902ce5]: purged from queue Please help me to resolve this issue. I am not sure what's wrong in my DLR acknowledgement API. Hire is the code snippet- [image: image] https://user-images.githubusercontent.com/90054783/136752387-3e53c3dd-3506-448b-9a45-3dd0ab15a7e4.png — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#1012>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACIT2EXOGR4FYO6EUWL24BTUGKJL3ANCNFSM5FXSO74Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Thanks Amelye, i tried with your suggestions and same error is still coming ....

sengarrohit commented 2 years ago

I am still waiting for the resolution, still getting HTTPAPI Error. So can anyone tell me if there is any specific requirement for the Acknowledgement API that we need to implement.

amelyec commented 2 years ago

If you can take tcpdump between Jasmin and your application to see the detailed information

On Tue, Oct 12, 2021 at 1:08 PM sengarrohit @.***> wrote:

I am still waiting for the resolution, still getting HTTPAPI Error. So can anyone tell me if there is any specific requirement for the Acknowledgement API that we need to implement.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jookies/jasmin/issues/1012#issuecomment-940863739, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACIT2ERMLRTAVH7GV2U6STLUGQCIJANCNFSM5FXSO74Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

sengarrohit commented 2 years ago

Thanks Amelye, let me do that will keep you posted for further queries.

github-actions[bot] commented 1 year ago

Stale issue detected, remove stale label or comment or this will be closed soon.

github-actions[bot] commented 1 year ago

This issue was closed because it has been stalled more than a year with no activity.