restsharp / RestSharp

Simple REST and HTTP API Client for .NET
https://restsharp.dev
Apache License 2.0
9.58k stars 2.34k forks source link

Server Name Indication / SNI #1353

Closed zenturacp closed 4 years ago

zenturacp commented 5 years ago

Expected Behavior

I have a webservice running behind an NGINX-Ingress controller exposing a REST api but it seems like my application hits the default website not the actual API - when i test with the browser it works and with PostMan and ARC - i can only see that maybe REST Sharp does not send SNI information with the request?

Actual Behavior

Hits the default website - the Ingress Controller is not able to determine what resource on the backend to connect to.

Works with Curl and all browsers.

Specifications

alexeyzimarev commented 4 years ago

I don't think there's anything related to RestSharp. If you try to use HttpClient or WebRequest, you'd probably get the same issue. Rev proxy should be completely transparent to the client. I can suggest checking your rev proxy config instead.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

repo-ranger[bot] commented 4 years ago

⚠️ This issue has been marked wontfix and will be closed in 3 days