<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Here’s my test:<div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class="">$ curl -s -X GET -c ~/Downloads/ovms-cookie -v "<a href="https://tmc.openvehicles.com:6869/api/cookie?username=USER&password=PASSWORD" class="">https://tmc.openvehicles.com:6869/api/cookie?username=USER&password=PASSWORD</a></div><div class=""><div class="">* Hostname was NOT found in DNS cache</div><div class="">* Trying 54.243.136.230...</div><div class="">* Connected to <a href="http://tmc.openvehicles.com" class="">tmc.openvehicles.com</a> (54.243.136.230) port 6869 (#0)</div><div class="">* TLS 1.2 connection using TLS_DHE_RSA_WITH_AES_256_CBC_SHA256</div><div class="">* Server certificate: <a href="http://tmc.openvehicles.com" class="">tmc.openvehicles.com</a></div><div class="">* Server certificate: COMODO RSA Domain Validation Secure Server CA</div><div class="">* Server certificate: COMODO RSA Certification Authority</div><div class="">* Server certificate: AddTrust External CA Root</div><div class="">> GET /api/cookie?username=USER&password=PASSWORD HTTP/1.1</div><div class="">> User-Agent: curl/7.37.1</div><div class="">> Host: <a href="http://tmc.openvehicles.com" class="">tmc.openvehicles.com</a>:6869</div><div class="">> Accept: */*</div><div class="">></div><div class="">* HTTP 1.0, assume close after body</div><div class="">< HTTP/1.0 200 Authentication ok</div><div class="">< Content-Type: text/plain</div><div class="">< Expires: Wed, 01 Jul 2015 09:46:18 GMT</div><div class="">* Added cookie ovmsapisession=“<REDACTED>" for domain <a href="http://tmc.openvehicles.com" class="">tmc.openvehicles.com</a>, path /api/, expire 0</div><div class="">< Set-Cookie: ovmsapisession=<REDACTED></div><div class="">< Connection: close</div><div class="">< Cache-Control: max-age=0</div><div class="">< Content-Length: 9</div><div class="">< Access-Control-Allow-Origin: *</div><div class="">< Date: Wed, 01 Jul 2015 09:46:18 GMT</div><div class=""><</div><div class="">Login ok</div></div></blockquote><div class=""><br class=""></div><div class="">Also tried 6868 for http, and ok.</div><div class=""><br class=""></div><div class="">What is the error you are getting?</div><div class=""><br class=""></div><div class="">Regards, Mark.</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 1 Jul, 2015, at 5:41 pm, Nikolay Shishkov <<a href="mailto:nshishkov@yahoo.com" class="">nshishkov@yahoo.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div style="background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;" class=""><div id="yui_3_16_0_1_1435738502749_17999" dir="ltr" class="">The following one:</div><div id="yui_3_16_0_1_1435738502749_17999" dir="ltr" class=""><span id="yui_3_16_0_1_1435738502749_17998" class=""><a href="http://tmc.openvehicles.com:6868/api/cookie" id="yui_3_16_0_1_1435738502749_17995" class="">http://tmc.openvehicles.com:6868/api/cookie</a></span></div><div id="yui_3_16_0_1_1435738502749_17999" dir="ltr" class=""><br class=""></div><div id="yui_3_16_0_1_1435738502749_17999" dir="ltr" class="">Should I use another one?</div> <br class=""><div class="qtdSeparateBR"><br class=""><br class=""></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" class=""> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" class=""> <div dir="ltr" class=""> <font size="2" face="Arial" class=""> On Wednesday, July 1, 2015 11:39 AM, Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net" class="">mark@webb-johnson.net</a>> wrote:<br class=""> </font> </div> <br class=""><br class=""> <div class="y_msg_container"><div id="yiv9745495413" class=""><div class="">Seems ok for me. What URL are you using?<div class="yiv9745495413"><br clear="none" class="yiv9745495413"><div class=""><blockquote class="yiv9745495413" type="cite"><div class="yiv9745495413yqt8641666684" id="yiv9745495413yqt15535"><div class="yiv9745495413">On 1 Jul, 2015, at 4:25 pm, Nikolay Shishkov <<a rel="nofollow" shape="rect" class="yiv9745495413" ymailto="mailto:nshishkov@yahoo.com" target="_blank" href="mailto:nshishkov@yahoo.com">nshishkov@yahoo.com</a>> wrote:</div><br clear="none" class="yiv9745495413Apple-interchange-newline"><div class="yiv9745495413"><div class="yiv9745495413"><div class="yiv9745495413" style="background-color:rgb(255, 255, 255);font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:16px;"><div class="yiv9745495413" id="yiv9745495413yui_3_16_0_1_1435738502749_11679">Hi Mark, </div><div class="yiv9745495413" id="yiv9745495413yui_3_16_0_1_1435738502749_11680"><br clear="none" class="yiv9745495413"></div><div class="yiv9745495413" id="yiv9745495413yui_3_16_0_1_1435738502749_11681">The web api seem to be inaccessible. Is it me or is it the server?</div><div class="yiv9745495413" id="yiv9745495413yui_3_16_0_1_1435738502749_11681"><br clear="none" class="yiv9745495413"></div><div class="yiv9745495413" id="yiv9745495413yui_3_16_0_1_1435738502749_11681">Nikolay</div></div></div>_______________________________________________<br clear="none" class="yiv9745495413">OvmsDev mailing list<br clear="none" class="yiv9745495413"><a rel="nofollow" shape="rect" class="yiv9745495413" ymailto="mailto:OvmsDev@lists.teslaclub.hk" target="_blank" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br clear="none" class="yiv9745495413"><a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" class="">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br clear="none" class="yiv9745495413"></div></div></blockquote></div><br clear="none" class="yiv9745495413"></div></div></div><br class=""><div class="yqt8641666684" id="yqt34806">_______________________________________________<br clear="none" class="">OvmsDev mailing list<br clear="none" class=""><a shape="rect" ymailto="mailto:OvmsDev@lists.teslaclub.hk" href="mailto:OvmsDev@lists.teslaclub.hk" class="">OvmsDev@lists.teslaclub.hk</a><br clear="none" class=""><a shape="rect" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" target="_blank" class="">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br clear="none" class=""></div><br class=""><br class=""></div> </div> </div> </div></div></div>_______________________________________________<br class="">OvmsDev mailing list<br class=""><a href="mailto:OvmsDev@lists.teslaclub.hk" class="">OvmsDev@lists.teslaclub.hk</a><br class="">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev<br class=""></div></blockquote></div><br class=""></div></body></html>