Support forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_TopicIcon
HTTP Connector goes asleep
sp_NewTopic Add Topic
July 24, 2026
9:57 am
fridok
Guest
Guests

Hello Henk,

I sent you the requested files via email.

Best regards,
Fridolin.

July 22, 2026
11:52 am
Henk Helmantel
Admin
Forum Posts: 1573
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

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

July 21, 2026
2:05 pm
fridok
Guest
Guests

Sorry, new version is of course 4.9.1 (not 4.6.1)

July 21, 2026
1:57 pm
fridok
Guest
Guests

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.

Forum Timezone: Europe/Amsterdam
Most Users Ever Online: 1119
Currently Online:
Guest(s) 6
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Member Stats:
Guest Posters: 703
Members: 0
Moderators: 0
Admins: 1
Forum Stats:
Groups: 2
Forums: 3
Topics: 1195
Posts: 4079
Newest Members:
, Henk Helmantel
Administrators: Henk Helmantel: 1573