locked
I keep getting error 'Too many automatic redirections were attempted' when trying to connect to my SODA Application RRS feed

  • Question

  • I created a Healthvault SODA Application with ID 9fd871e0-ca73-4485-97a9-e64f963d2e0c and then created a C# Windows App using the example SODA code.  When I run the code, when I get to the line 'ClientApp.GetApplicationInfo()'  I get the error 'Too many automatic redirections were attempted'.  Does anyone have an idea what is going wrong?

     

     

    Monday, May 17, 2010 8:22 PM

Answers

  • Woops... it was a typo.  Sorry to take up your time.  Thanks for your help!

     

    Friday, May 28, 2010 12:34 AM

All replies

  • Hello,

    Can you please take the request response traces for the GetApplicationInfo() method, as specified in this post and paste it here?

    Thanks and Regards,

    Aneesh D.

    Tuesday, May 18, 2010 2:08 AM
  • Hi

    Can you please share the code so that it can be more elaborated.

     

    Regards

    orb

    Wednesday, May 19, 2010 1:39 PM
  • I tried adding the diagnostics tags to the app.config file, but the output was a blank file.  I set the path so it did create a file, but it was blank.  The code is as follows:

     

     

    static void Main()

    {

     

     

    Application.EnableVisualStyles();

     

     

    Application.SetCompatibleTextRenderingDefault(false);

     

     

    HealthClientApplication clientApp = HealthClientApplication.Create(

    GetClientID(),

    Properties.

     

    Settings1.Default.masterAppId,

     

     

    new Uri(Properties.Settings1.Default.shellUrl),

     

     

    new Uri(Properties.Settings1.Default.platformUrl));

     

     

    if (clientApp.GetApplicationInfo() == null)

    {

    clientApp.StartApplicationCreationProcess();

     

     

    Console.WriteLine("Authorizing new application:");

     

     

    Console.WriteLine("When authorization is complete, press a key to continue.");

     

     

    Console.WriteLine();

     

     

    Console.ReadKey(true);

    }

    It is failing on the line that is bolded.  Any ideas?

    Thursday, May 20, 2010 6:23 AM
  • Hello,

    I am not able to reproduce this issue. For further investigating this issue can you please take the HTTP traces using Fiddler and send to me at v-and@microsoft.com?

    Thanks and Regards,

    Aneesh D.

    Thursday, May 20, 2010 10:49 PM
  • I used fiddler.  It looks like it is just going around in circles.  I got the following results:

     

    # Result Protocol Host URL Body Caching Content-Type Process Comments Custom
    3 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    4 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    5 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    6 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    7 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    8 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    9 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    10 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    11 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    12 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    13 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    14 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    15 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    16 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    17 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    18 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    19 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    20 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    21 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    22 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    23 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    24 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    25 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    26 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    27 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    28 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    29 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    30 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    31 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    32 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    33 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    34 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    35 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    36 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    37 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    38 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    39 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    40 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    41 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    42 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    43 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    44 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    45 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    46 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    47 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    48 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    49 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    50 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    51 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    52 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    53 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    54 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    55 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    56 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    57 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    58 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    59 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    60 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    61 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    62 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    63 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    64 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    65 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    66 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    67 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    68 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    69 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    70 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    71 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    72 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    73 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    74 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    75 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    76 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    77 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    78 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    79 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    80 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    81 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    82 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    83 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    84 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    85 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    86 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    87 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    88 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    89 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    90 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    91 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    92 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    93 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    94 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    95 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    96 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    97 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    98 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    99 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    100 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    101 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    
    102 200 HTTP CONNECT account.healthvault-ppe.com:443 582     healthvaulttest.vshost:2732    
    103 302 HTTPS account.healthvault-ppe.com /platform/wildcat.ashx?detectcookie=True 196 private text/html; charset=utf-8 healthvaulttest.vshost:2732    

    Friday, May 21, 2010 8:58 PM
  • Thanks for pasting the trace.

    Now I will contact our technical team with the details and will get back to you with the results as soon as possible.

    Also please confirm that you are using the default values for the Shell URL (https://account.healthvault-ppe.com/) and the Platform URL (https://platform.healthvault-ppe.com/platform/).

    Regards,

    Aneesh D.

    Monday, May 24, 2010 7:33 PM
  • Woops... it was a typo.  Sorry to take up your time.  Thanks for your help!

     

    Friday, May 28, 2010 12:34 AM
  • Hello,

    Can you please explain what was the issue so that it will help others if they run into the same problem?

    Thanks and Regards,

    Aneesh D.

    Friday, May 28, 2010 7:36 PM