Our production application has started getting an exception when calling GetDeviceInfo(). The call stack is below. Any ideas?
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at ScientiaMobile.WurflCloud.Http.CloudClient.EnsureUserAgent(String userAgent)
at ScientiaMobile.WurflCloud.Http.CloudClient.InitializeRequest(HttpContextBase context, String userAgent, Dictionary`2 reqParams)
at ScientiaMobile.WurflCloud.CloudClientManager.DetectDevice(HttpContextBase context, String userAgent, Dictionary`2 reqParams, String[] capabilities, Boolean uaMayBeDifferent)
KeyNotFoundException in EnsureUserAgent
Re: KeyNotFoundException in EnsureUserAgent
Is it possible that your list of capabilities has been changed on our side (the WURFL Cloud control panel)? Are you able to reproduce the issue from a client, or could it be that there is some strange HTTP traffic coming in, perhaps without a user agent header at all?
Thanks,
Steve Kamerman
ScientiaMobile
Make sure you check out our WURFL Cloud, WURFL InSight and WURFL InFuze products!
Steve Kamerman
ScientiaMobile
Make sure you check out our WURFL Cloud, WURFL InSight and WURFL InFuze products!
-
- Posts: 294
- Joined: Mon Jun 20, 2011 5:04 pm
Re: KeyNotFoundException in EnsureUserAgent
Hi there,
Can you tell us more about what user-agent is causing this exception? we are curious to reproduce this. Thanks
Can you tell us more about what user-agent is causing this exception? we are curious to reproduce this. Thanks
-
- Posts: 4
- Joined: Thu Aug 15, 2013 7:51 am
Re: KeyNotFoundException in EnsureUserAgent
When I examine my web logs, it seems that these exceptions occur when I receive a request with a blank user agent. Any idea why I would receive a blank user agent?
-
- Posts: 294
- Joined: Mon Jun 20, 2011 5:04 pm
Re: KeyNotFoundException in EnsureUserAgent
HI there, we have a new version of the .NET Cloud Client for you. Can you please contact us offline at support#scientiamobile.com ?
is the email address with which you registered on the forum good enough to contact you?
please also tell us which exact version of the Cloud Client you are using
thank you
is the email address with which you registered on the forum good enough to contact you?
please also tell us which exact version of the Cloud Client you are using
thank you
-
- Posts: 4
- Joined: Thu Aug 15, 2013 7:51 am
Re: KeyNotFoundException in EnsureUserAgent
Yes, the email address on my forum account is good for contacting me. Thanks!
-
- Posts: 294
- Joined: Mon Jun 20, 2011 5:04 pm
Re: KeyNotFoundException in EnsureUserAgent
We are about to contact you offline. Thank you
Who is online
Users browsing this forum: No registered users and 3 guests