liuqiaosz / google-api-dotnet-client

Automatically exported from code.google.com/p/google-api-dotnet-client
Apache License 2.0
0 stars 0 forks source link

Azure - Worker roll works perfektly in emulator but in the azure cloud service #470

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a worker roll 
2. Implement ManagementResource.DailyUploadsResource.UploadMediaUpload

What is the expected output? 
An upload to Googel Analytics Data Import

What do you see instead?
Bytes Sent = 0

What version of the product are you using?
Google.Apis 1.8.2.23762

What is your operating system?
Windows 8.1

What is your IDE?
Visual Studio 2012

What is the .NET framework version?
4.5

Please provide any additional information below.
When running worker roll localy with azure emulator everything works fine, but 
after publishing all loggings are identical except bytes sent, no upload.

Original issue reported on code.google.com by karlande...@hotmail.com on 24 Jun 2014 at 11:13

GoogleCodeExporter commented 9 years ago
In addition to the above mentioned, I forgott to add that exception was thrown 
stating that baseUri is null, but in logging the instance of AnalyticsService 
actually has a BaseUri value. And you get the same result for both the Upload 
method as well for the UploadAsync method version.

Original comment by karlande...@hotmail.com on 24 Jun 2014 at 6:30