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
dsmcmnt.exe error
sp_NewPost Add Reply sp_NewTopic Add Topic
October 22, 2014
5:09 pm
Ramlakhan Naseeb
Guest
Guests

Hello, Henk
You was right, we have an proxy on our network and it was bloking the the HTTP request.
your solution work for me.

here, my "app.config" file if someone have the same thing.

thanks for your quick reply and support . this problem is now solve.

Best regards,

October 17, 2014
9:29 am
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Ramlakhan,

According to this thread on Stack Overflow, the error is caused by a proxy HTTP server in your network. The command line client of Diafaan SMS Server adds the header 'Expect: 100-Continue' to the HTTP request and your proxy server does not know how to handle this header properly.

If you are not able to solve this problem on the proxy server, you can try this work around. Add a file 'dmscmnd.exe.config' in the same folder as 'dmscmnd.exe' with the text:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.net>
<settings>
<servicePointManager expect100Continue="false" />
</settings>
</system.net>
</configuration>

This instructs the command line program to omit the 'Expect: 100-Continue' header from the HTTP request.

Regards, Henk

October 16, 2014
7:12 pm
Ramlakhan Naseeb
Guest
Guests

Hi ,
We have a Basic edition of Diafaan (serial # *********).
I am trying to use the included command line exe in order to send sms. (dsmcmnd.exe)

Some information about both computer : no firewall is active,the web connector is running and working fine.
on the diafaan server (win7 x86) , the follow command line working:

dsmcmnd.exe "host:localhost:80" "command:send-message" "username:admin" "password:****" "to:+594694******" "message:dianfan-test"

BUT
on another computer i am unable send sms . i am getting this error :

ERROR:301 Le serveur distant a retourné‚ une erreur: (417) Expectation Failed.
dsmcmnd.exe "host:192.168.100.101:80" "command:send-message" "username:admin" "password:****" "to:+594694******" "message:dianfan-test"

can you please help me , i need to send sms using this command from other computer.

best regards,

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
34 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 672

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 1141

Posts: 3899

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1488