Click here to Skip to main content
15,887,027 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
When I am trying to hit a post API request from my source code i am getting this error, when tried troubleshooting so it is found that by the host that instead of sending certifcate chain we are sending fin packets. But in code we are not able to find out the error that why it is happening. Can someone help here. Language is .NET

What I have tried:

Check the code twice but not getting any error
Posted

The error generally indicates that the server does not have a valid certificate associated with it and you are making a request to a secured endpoint, or the server is not setting the TLS version. If the endpoint belongs to you, make sure to add a valid certificate to the endpoint and set the TLS version to a minimum of TLS 1.2 (better still, set it to TLS3).

If the site belongs to someone else, reach out to them and raise an incident with them to get things sorted at their end. On no account should you try to hack around setting security protocols in your code to override the error. If the people owning the service can't be bothered to set such simple security settings at their end, what else are they neglecting?
 
Share this answer
 
Comments
Member 16222935 15-Mar-24 5:12am    
The host is saying to fix the issue at our end as their network team as given a log in which instead of certificate they are receiving the fin packet. And we are not able to find out the issue.
The host is saying to fix the issue at our end as their network team as given a log in which instead of certificate they are receiving the fin packet. And we are not able to find out the issue.
 
Share this answer
 
Comments
PIEBALDconsult 15-Mar-24 10:43am    
You can use the Improve question button to add context and detail to the question.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900