# Unknown Error when logging in on iOS app

**URL:** <https://meta.discourse.org/t/unknown-error-when-logging-in-on-ios-app/89042>\
**Category:** Product Support\
**Created:** [6월 3, 2018, 12:38오후 UTC](https://meta.discourse.org/t/unknown-error-when-logging-in-on-ios-app/89042 "2018-06-03T12:38:15Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)\
**Post date:** [6월 4, 2018, 10:12오전 UTC](https://meta.discourse.org/t/unknown-error-when-logging-in-on-ios-app/89042/8 "2018-06-04T10:12:13Z")

</div>

Yes I think something is wrong in your config. Maybe something with couldflare?

basically we are doing a call to `HEAD whatyouenter/user-api-key/new` and in the resulting json there’s a url which should be the definitive URL of your forum and with https if correctly configured, for you this URL is returning with http and not https. I could force it to https here for everyone, but I think what we are doing of just using the result of this call is the good solution.

---

_[View the full topic](https://meta.discourse.org/t/unknown-error-when-logging-in-on-ios-app/89042)._
