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 Gateway through Proxy
sp_NewPost Add Reply sp_NewTopic Add Topic
February 16, 2020
7:42 pm
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello M,

What kind of information are you looking for? Have you tried the answer below that I gave to Matt? If yes, what error messages do you get in the event log?

Regards, Henk

February 15, 2020
8:52 pm
M
Guest
Guests

Thankfully to get more information

September 4, 2017
1:41 am
MattP
Guest
Guests

That has done the trick! Great stuff - thank you!

September 1, 2017
7:24 pm
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

I have not tested this because we don't have a proxy server available, and this solution might not work for all proxies, but you can try the following solution:

- open the file 'DiafaanMessageServer.exe.config' from the installation folder of Diafaan SMS Server in a text editor
- Add the following lines just after the line with '<configuration>':

<system.net>
<defaultProxy useDefaultCredentials="true" />
</system.net>

This file is updated every time a new version of Diafaan SMS Server is installed and you have to add these lines after each new (manual) installation or make the file read-only.

Regards, Henk

September 1, 2017
3:48 am
MattP
Guest
Guests

Thanks for the info - that makes perfect sense!

I have now tried both ways suggested, with both methods resulting in a new (more encouraging) error when trying to send SMS via HTTP Gateway:

"300, Error: The remote server returned an error: (407) Proxy Authentication Required."

So it is now aware of the proxy and is attempting to use it (great!), but doesn't seem to be adding authentication credentials when using it.

Do you have any other suggestions as to how to have the Diafaan service use proxy credentials?

Thanks,
Matt.

August 31, 2017
11:14 am
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Matt,

Diafaan SMS Server uses the proxy settings of Windows Internet Explorer, it is not necessary to add specific proxy settings in the HTTP Gateway.

It is important to know that Diafaan SMS Server runs as a service and by default it uses the Windows 'Local System Account' to log in to Windows and not the user account that is used by the Diafaan SMS Server Console program. That means that you have to apply the proxy settings for your network to the Local System account or change the log on parameters of the Diafaan SMS Server service to an (administrator) account with the correct proxy settings.

Regards, Henk

August 31, 2017
1:31 am
MattP
Guest
Guests

I am trying to send SMS to a REST HTTPS API through our corporate proxy from the Diafaan HTTP Gateway. I can't see an option for adding a proxy server configuration into the HTTP Gateway though.

Is there a way that I can tell the HTTP Gateway to use the HTTP proxy?

Thanks

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
3 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