This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

FAO: Exspress developers - failed sso logins

Former Member
Former Member
I was receiving these errors in the Express.log when attempting to log in after adding a device. Using google single sign on, but the same creating a new account also.

2015-11-24 17:23:16.4619 | 1 | I | Unable to exchange sso ticket for token.
System.Net.Http.HttpRequestException: Response status code does not indicate success: 417 (Expectation failed).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at Garmin.Omt.Express.UI.Sso.ConnectTicketExchanger.<ExchangeTicketAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Garmin.Omt.Express.UI.Sso.SsoWidgetViewModel.<OnNavigatingAsync>d__0.MoveNext() at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at Garmin.Omt.Express.UI.Sso.ConnectTicketExchanger.<ExchangeTicketAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Garmin.Omt.Express.UI.Sso.SsoWidgetViewModel.<OnNavigatingAsync>d__0.MoveNext()


I solved it by adding this section to the express app.config file.

<system.net>
<settings>
<servicePointManager expect100Continue="false" />
</settings>
</system.net>

Stack Overflow post with more detail: http://stackoverflow.com/questions/566437/http-post-returns-the-error-417-expectation-failed-c