Support forum
9:57 am
Hello Henk,
I sent you the requested files via email.
Best regards,
Fridolin.
Hello Fridolin,
I can't think of a clear reason why the behavior of the HTTP API is different between versions 4.3.0.1 and 4.9.1.0. There have been number of changes in the Web Connector but not in the basic handling of the HTTP requests.
Slow responses to HTTP request could be the result of a slow HTTP callback script, but the light edition of Diafaan SMS Server yhat you use does not support HTTP callbacks.
One thing that has changed since version 4.3.0.1 is the handling of TLS encryption, but that is only relevant if you use HTTPS in the Web Connector API.
I would like to see the communication log of the Web Connector that includes one of these slow HTTP requests (the information in the link refers to the GSM Modem Gateway but the same procedure can be used to create a log for the Web Connector).
I would also like to see the configuration file of Diafaan SMS Server (menu options 'File-Export-Configuration').
If you send these two files to email address 'dms@diafaan.com' I will have a look at them to see if I can find a possible explanation for the issue.
Regards, Henk
1:57 pm
Hi Henk,
we use the http Connector to receive incoming SMS and incorporate them into our database.
Until yesterday we used Diafaan 4.3.0.1 and our log file looked like this:
20260221090950+DOM-#=0
20260221090955+Get-E=200
20260221090955+DOM-#=0
20260221091000+Get-E=200
20260221091000+DOM-#=0
20260221091005+Get-E=200
20260221091005+DOM-#=0
20260221091011+Get-E=200
20260221091011+DOM-#=0
Every HTTP GET request was answered with return code 200. We poll every 5 seconds.
After we upgraded to Diafaan 4.6.1 yesterday, we have glitches. Our log file looks like this now:
20260720181903+Get-E=200
20260720181903+DOM-#=0
20260720181908+Get-E=200
20260720181908+DOM-#=0
20260720181934+Get-E=0
20260720182000+Get-E=0
20260720182026+Get-E=0
20260720182032+Get-E=200
20260720182032+DOM-#=0
20260720182037+Get-E=200
20260720182037+DOM-#=0
20260720182042+Get-E=200
20260720182042+DOM-#=0
20260720182047+Get-E=200
20260720182047+DOM-#=0
There is a HTTP GET request and after about 25 seconds our request returns without any answer. Sometimes once, sometimes three times in a row like here. Afterwards everything works fine again for a while.
Do you have any idea what might cause this behavoiur? A wrong setting? Do we have to use "keep-alive"? Any idea to point us in the right direction? There is nothing recorded in the Diafaan logs.
Best regards,
Fridolin.
1 Guest(s)
Add Reply
Add Topic
Quote
Offline