EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Domain for HTTP Proxy ?

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
#18694
Posted: 01/12/2012 06:04:43
by Petr Munzar (Standard support level)
Joined: 06/06/2011
Posts: 15

Hello,

We use HTTP client Blackbox Library. And we need to use a proxy. One of our customers needs to use a domain in his proxy info. With C# MS method is possible to set up a domain in credentials. And it works for him then. But I haven't found this posibility in Blackbox. And without it downloading throw an exception. Same exception is thrown when you don't use a domain and put in wrong password for proxy. It should signalize authentification problem. Not exception like this. Exception is

{System.ArgumentException: Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.
at System.Buffer.BlockCopy(Array src, Int32 srcOffset, Array dst, Int32 dstOffset, Int32 count)
at SBUtils.__Global.Move(Array Src, Int32 SrcOffset, Array Dst, Int32 DstOffset, Int32 Size)
at SBSocket.TElSocket.ReturnData(Byte[] Data, Int32 Start, Int32 DataLen)
at SBSocket.TElSocket.HTTPConnect(Int32 Timeout)
at SBSocket.TElSocket.Connect(Int32 Timeout)
at SBSimpleSSL.TElCustomSimpleSSLClient.Open()
at SBHTTPSClient.TElHTTPSClient.PerformRequest(Int32 Method, String URL)
at SBHTTPSClient.TElHTTPSClient.Get(String URL)


Petr Munzar, programmer of Identity Cloaker (www.identitycloaker.com), Czech Republic
#18695
Posted: 01/12/2012 06:10:33
by Vsevolod Ievgiienko (EldoS Corp.)

Thank you for contacting us.

Could you please post here a sample code of a test project that we can use to reproduce the problem.
#18696
Posted: 01/12/2012 07:01:35
by Petr Munzar (Standard support level)
Joined: 06/06/2011
Posts: 15

Here is the the sample (Visual studio express C# 2008)

http://www.zddolany.cz/tmp/IDC2-WPF.rar

In class DownloadProxyRepository you can see proxy settings. And when you set a bad password it will throw an exception.

Also in DownloadManager - download string is possible to change download method. You can see that MSDownload method use a domain.


Petr Munzar, programmer of Identity Cloaker (www.identitycloaker.com), Czech Republic
#18699
Posted: 01/12/2012 10:18:08
by Vsevolod Ievgiienko (EldoS Corp.)

Thank you for reporting a bug.

We've reproduced it and the fix will be included into the next SecureBlackbox build.
#18700
Posted: 01/12/2012 10:24:56
by Petr Munzar (Standard support level)
Joined: 06/06/2011
Posts: 15

Great, and what about a network domain? Will it be possible to set it in next the next SecureBlackbox build? Like in Microsoft download method ? Or should it be put in username field with '/' character ?


Petr Munzar, programmer of Identity Cloaker (www.identitycloaker.com), Czech Republic
#18703
Posted: 01/13/2012 02:08:21
by Vsevolod Ievgiienko (EldoS Corp.)

Quote
Or should it be put in username field with '/' character ?

Yes you can set it this way. You can use '\' or '/' character.
#18775
Posted: 01/20/2012 04:10:26
by Petr Munzar (Standard support level)
Joined: 06/06/2011
Posts: 15

Ok, No when I use bad login info. It shows error message:
"Connection error 96269"

How can I translate it to some meaningful message ?
I can't find the code even in the help manual (maybe it is not updated yet).


Petr Munzar, programmer of Identity Cloaker (www.identitycloaker.com), Czech Republic
#18776
Posted: 01/20/2012 04:14:46
by Vsevolod Ievgiienko (EldoS Corp.)

96269 stands for SB_SOCKET_ERROR_WEBTUNNEL_NEGOTIATION_FAILED error code.
Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.

Reply

Statistics

Topic viewed 1880 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!