09-04-2013 05:59 PM
Using its IP address in place of the host name provides no change. I have contacted the company IT guys to enquire if it could be a potential network issue, they disagree, but are open to suggestions.
09-05-2013 02:35 AM
Thanks. I'm not suggesting it's a network issue, just enumerating the possibilities.
09-05-2013 06:11 AM
What result code are you getting returned from your call to :
res = curl_easy_perform(curl);
09-05-2013 05:43 PM - edited 09-05-2013 07:09 PM
I am getting a "6" using the server name.
CURLE_COULDNT_RESOLVE_HOST (6) Couldn't resolve host. The given remote host was not resolved.
and a "7" with the IP address.
CURLE_COULDNT_CONNECT (7) Failed to connect() to host or proxy.
09-06-2013 06:49 AM
@mwoolley is taking a well earned holiday at the moment.
My own 2p worth would be that since you're going through a BES in both the case of the Browser URI and the request from libCurl it's the BES that's perfoming the DNS lookup and routing behind the company firewall so there ought to be a record in the BES logs (MDS) of how it handled both the browser sourced URI and the libCurl sourced URI.
It would at least give you some new information to work with and maybe an indication of any difference between the two requests and how BES was handling them. I can think of a number of possible differences between these two requests ( the User Agent header field's are probably different etc. ).
09-09-2013 08:54 PM
I checked out the log files on the BES and spotted the browser request but could not discern a request from the app. In the MDS log file it writes logs each minute so I spammed browser requests within one minute and requests from the app in the next minute. However, I am unable to find a significant difference between those two minutes and the surrounding (unspammed) minutes. That could be due to not complete understanding of every number in the MDS log file.
I hope mwoolley has a great holiday
09-10-2013 06:00 AM
It will help you..
09-29-2013 10:26 PM
I have been able to rule out potential causes, but I have not been able to make it work. So I have now ditched the app and moved onto a creating a BB10 specific CSS file for website access.