Kodi Community Forum

Full Version: https source with DNS issue?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have my library served externally via HTTPS, with username/password.
I have my domain name registered, and verified that on any client, my domain name resolves to the proper IP address (i.e. on the same computer XBMC is on, I can open a browser and browse my HTTPS source using my fqdn).

But if I add the source to XBMC like this:
Code:
https://username:[email protected]/Movies
It fails... If I do the exact same thing with the IP address like this:
Code:
https://username:[email protected]/Movies
it works flawlessly.

Again, my fqdn resolves on any client I use, but XBMC doesn't seem to want to use the fqdn.

I've had this happen on Windows, Mac and Android.

Any ideas?
I haven't been able to find an answer to this problem. Going to post some more info in hopes of a bump:

Here's a quick snippet from the log (level 5) of trying to add DNS vs. IP address HTTPS source (I've redacted or edited sensitive data):
Code:
21:39:37 T:3007280960    INFO: easy_aquire - Created session to https://<MyFQDN.com>
21:39:42 T:3007280960   DEBUG: CCurlFile::GetMimeType - https://<username>:<password>@<MyFQDN.com> -> failed
21:39:42 T:3007280960   DEBUG: CurlFile::Open(0xbfe6de04) https://<MyFQDN.com>/TV
21:39:48 T:2994731840   DEBUG: Suspended the Sink
21:39:48 T:3007280960 WARNING: FillBuffer: curl failed with code 27
21:39:48 T:3007280960   ERROR: CCurlFile::CReadState::Open, didn't get any data from stream.
21:39:48 T:3007280960   ERROR: GetDirectory - Unable to get http directory
21:39:48 T:3007280960   ERROR: GetDirectory - Error getting https://<username>:<password>@<MyFQDN.com>/TV

Then, here is the exact same source add, replacing my FQDN with my actual, public IP address:
Code:
21:40:40 T:3007280960    INFO: easy_aquire - Created session to https://<my.ip.add.ress>
21:40:41 T:3007280960   DEBUG: CCurlFile::GetMimeType - https://<username>:<password>@<my.ip.add.ress>/TV -> x-directory/normal
21:40:41 T:3007280960   DEBUG: CurlFile::Open(0xbfe6de64) https://<my.ip.add.ress>/TV

Seems like this is the kicker. Not sure what this warning means...
Code:
21:39:48 T:3007280960 WARNING: FillBuffer: curl failed with code 27

From
http://curl.haxx.se/libcurl/c/libcurl-errors.html
Code:
CURLE_OUT_OF_MEMORY (27)
A memory allocation request failed. This is serious badness and things are severely screwed up if this ever occurs.

Also just ran a test running curl from the CLI on Ubuntu. Both fqdn and IP address with fine (with -k to ignore certificate errors) - seems to only be problem with XBMC?