I have a server certificate installed on my Azure Cloud Service with a web service. I am receiving the following error:
An error occured while making the HTTP request to https://myservice.svc. This could be due to the face that the server certificate is not configured properly with HTTP.SYS in the HTTPS case. This could also be caused by a mismatch of the security binding between the client and the server.
I have a C# Windows Application that uses this service. There are about 20 different people/computers that use this program every day. Three to four of them are getting this error a handful of times each day. The service has about 50 different methods. Each
person is probably calling the service at least every 2 minutes (something in the program refreshes every 2 minutes plus anything else they do) for 10 hours a day.
Web Service: .NET 4.5
Client App: .NET 4.0 Client Profile (most of their companies computers have either 4.0 Full or 4.0 Client)
Here are my config files on the server side (the startup task unlocks access to turn SSL on):
These few people have been getting a few errors every day since I released this software. There have been different errors. I keep fixing different ones (I think? It could be the same underlying issue?) then getting new ones. I am unable to fix this problem.
I have ran the software on my personal computer for 3 days straight with no problems.
Why would the service work fine except for these few people a few times a day? What can I try to fix this problem?
None
0 Points
35 Posts
This could be due to the face that the server certificate is not configured properly with HTTP.SY...
Feb 17, 2016 05:27 AM|Ozziwald|LINK
I have a server certificate installed on my Azure Cloud Service with a web service. I am receiving the following error:
I have a C# Windows Application that uses this service. There are about 20 different people/computers that use this program every day. Three to four of them are getting this error a handful of times each day. The service has about 50 different methods. Each person is probably calling the service at least every 2 minutes (something in the program refreshes every 2 minutes plus anything else they do) for 10 hours a day.
Web Service: .NET 4.5
Client App: .NET 4.0 Client Profile (most of their companies computers have either 4.0 Full or 4.0 Client)
Here are my config files on the server side (the startup task unlocks access to turn SSL on):
ServiceDefinition.csdef
ServiceConfiguration.Cloud.cscfg
Web.config
The service has a class to verify a default username/password I have hardcoded to the service:
Then on the client end:
Before each call I used the following:
App.config
These few people have been getting a few errors every day since I released this software. There have been different errors. I keep fixing different ones (I think? It could be the same underlying issue?) then getting new ones. I am unable to fix this problem.
I have ran the software on my personal computer for 3 days straight with no problems.
Why would the service work fine except for these few people a few times a day? What can I try to fix this problem?
Contributor
3325 Points
403 Posts
Re: This could be due to the face that the server certificate is not configured properly with HTT...
Feb 22, 2016 02:42 AM|Jamobor yao - MSFT|LINK
Hi,
Please refer to https://azure.microsoft.com/en-us/documentation/articles/cloud-services-configure-ssl-certificate/ for more information about configure SSL for a cloud service. Please check carefully whether your application has issues. Based on your description, it looks like a random issue, which detailed error you received? Could you reproduce this issue via some detailed steps?
Regards
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue.