You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I attempt to upload a file to Rackspace I get an error returned from the API
"The underlying connection was closed: An unexpected error occurred on a receive"
The innerException is
The client and server cannot communicate, because they do not possess a common algorithm
Our servers are PCI compliant. I cannot figure what is needed to make this work.
public UploadToCloud(string username, string apiKey)
{
cloudIdentity = new CloudIdentity()
{
Username = username,
APIKey = apiKey
};
}
public Boolean UploadFile(string fileName, String container)
{
FlushError();
var cloudFilesProvider = new CloudFilesProvider(cloudIdentity);
if (!File.Exists(fileName))
{
errorMessage = fileNotFoundError;
return false;
}
try
{
//cloudFilesProvider.CreateContainer("phptest", region:"DFW");
cloudFilesProvider.CreateObjectFromFile(container, fileName);//, "2017/"+ Path.GetFileName(fileName));
return true;
}
catch( Exception e )
{
errorMessage = e.Message;
errorStatus = true;
return false;
}
}
The text was updated successfully, but these errors were encountered:
When I attempt to upload a file to Rackspace I get an error returned from the API
"The underlying connection was closed: An unexpected error occurred on a receive"
The innerException is
The client and server cannot communicate, because they do not possess a common algorithm
Our servers are PCI compliant. I cannot figure what is needed to make this work.
public UploadToCloud(string username, string apiKey)
{
cloudIdentity = new CloudIdentity()
{
Username = username,
APIKey = apiKey
};
}
The text was updated successfully, but these errors were encountered: