• Register
0 votes

Problem :

I have facing an issue with my C# PayTrace Gateway. My code was working fine until they turned off SSL3 due to the Poodle Exploit. When tried running my code I am getting the following message:

The remote server has forcefully closed the connection.

After doing a lot of research on the above mentioned error I determined that as our IIS Server 7.5 was configured by us to use SSL3 so C# defaulted to SSL3, and because of that PayTrace had forcibly closed the connection. After that we removed SSL3 from our server.

But  after that we faced following error:

The client and server cannot communicate, because they do not possess a common algorithm.

Any clue on error messages which I am facing?

6 5 3
7,540 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

There are many other discussions about this issue and now they all point to enabling TLS 1.2. And they are confirming that anything less is clearly unsafe.

You can try this in .NET 3.5 with a patch.
You also try this in .NET 4.0 and 4.5 with a single line of code as follows:

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; // .For NET 4.5

ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072; // For .NET 4.0

And please note  .NET 4.6, automatically uses TLS 1.2.

9 7 4
38,600 points

Related questions

1 vote
1 answer 258 views
Problem : I have recently developed one page which I guess takes more time to load in the asp.net website. My page currently works with all the Android OS, all of the MAC OS and all iOS but it fails with iOS with version with only safari browser. If I ... the DNS server Tried the Airplane mode on-off Also did my iPhone restart But still unable to fix it. Can someone help me in fixing it?
asked Apr 1, 2020 morrisBson 3.2k points
0 votes
1 answer 1.9K views
Problem : My DbContext class defined the principal entity as below. HasOne(b => b.Customer).WithOne(c => c.BankAccount).HasForeignKey<BankAccount>(f => f.Id); But while running the update-database I am getting the following error: System.InvalidOperationException: To ... deleted the column, constraints and table as well and then the complete database also. But still I am getting the same error.
asked Nov 26, 2019 alecxe 7.5k points
0 votes
1 answer 13 views
I have a hash of words and respective frequencies, that I want to order by frequency. Sorted Dictionary orders by key, not value. Some resort to a custom class, but is there a cleaner way?
asked Aug 31, 2020 Sofi55 1.1k points
0 votes
1 answer 54 views
In previous versions of .Net, it was possible to override bool AuthorizeCore(HttpContextBase httpContext). But this no longer exists in AuthorizeAttribute. What is the current approach to making a custom AuthorizeAttribute?
asked Aug 29, 2020 Aliza313 720 points
0 votes
1 answer 1.3K views
Problem : I am facing the below error: Failed to load resource: the server responded with a status of 401 (Unauthorized) http://localhost/App/AngularJS/angular.min.js My project works fine on the localhost. But when I try to run it on the IIS (7.5) I often face ... read/write/modify access for the "IUSR" & "IIS_ISURS" users of my whole project. But still I am facing the same exception on my IIS.
asked Dec 24, 2019 alecxe 7.5k points
0 votes
1 answer 13 views
0 votes
1 answer 76 views
Problem: I am na&iuml;ve to C# programming. I am trying to use the auto-implemented properties. I think the best ever way to fix below error is to declare my own backing variable? Please find below my C# code: public Point Origin { get; set; } ... unchanged. To resolve this error, store the result of the expression in an intermediate value, or use a reference type for the intermediate expression.
asked Jul 23, 2020 Raphael Pacheco 4.9k points
1 vote
1 answer 204 views
Problem : I am beginner to Python. Currently if I try to use the request module to have the urls text then I often face below Error: Traceback (most recent call last):  File "/usr/local/lib/python3.6/site-packages/requests-2.18.1-py3.5.egg/requests/adapters.py" ... to get the url's text to parse it. Please find below my line of code for your reference: mytext = requests.get(detail_path).mytext
asked May 2, 2020 stewart 4k points
1 vote
1 answer 14 views
what is the process of cookies-less and redirect without it?
asked Sep 1, 2020 Sofi55 1.1k points
0 votes
1 answer 111 views
Problem : I have recently installed a website on my local machine using IIS 7 successfully. But when I tried to deploy it on the live server, I got a following error: "The page cannot be displayed because an internal server error has occurred" Nothing else. Using a same IIS 7 on live and also set to have the Detailed errors in Error Pages module, but still getting a same. What can be the reason?
asked Jan 28, 2020 jwilliam 3.9k points