That has done the trick! Great stuff - thank you!
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>':
<defaultProxy useDefaultCredentials="true" />
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.
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?
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.
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?
Most Users Ever Online: 494
Currently Browsing this Page:
Guest Posters: 452
Newest Members:, Henk Helmantel
Administrators: Henk Helmantel: 793