<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1435829902428_3510">Thanks Christofer.</div><div id="yui_3_16_0_1_1435829902428_3510">I am not sure what new information Telnet client would give us, it is the same as testing any other way of access - it will be difficult to separate the issue of my network being firewalled (problem with my network) and remote server being too busy (timeout of connection).</div><div id="yui_3_16_0_1_1435829902428_3510" dir="ltr">It turned out it was my network - a firewall was patched and the <a rel="nofollow" shape="rect" id="yiv4245226565yui_3_16_0_1_1435738502749_17995" target="_blank" href="http://tmc.openvehicles.com:6868/api/cookie" style="color: rgb(25, 106, 212); background-color: rgb(255, 255, 255);" class="">6868</a> is no longer usable for me.</div><div id="yui_3_16_0_1_1435829902428_3510" dir="ltr">Thanks again for suggestions and help,</div><div id="yui_3_16_0_1_1435829902428_3510">Nikolay</div><div id="yui_3_16_0_1_1435829902428_3510"><br></div>  <br><div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"> <font size="2" face="Arial"> On Thursday, July 2, 2015 11:33 AM, Christopher Cook <christopher.cook@webprofusion.com> wrote:<br> </font> </div>  <br><br> <div class="y_msg_container"><div id="yiv8540136025"><div><div>If you ever need to test your connection to anything (web/smtp/databases etc) try using a telnet client (an installable feature on windows)</div><div><br clear="none"></div><div>telnet <hostname> <port></div><div><br clear="none"></div><div>If you get a timeout then the host or port is not accessible to you (firewalled). A blank screen on the other hand indicates a successful connection.</div><div><br clear="none"></div><div>Chris</div><div><br clear="none"></div><div id="yiv8540136025composer_signature"><div style="font-size:85%;color:#575757;">Sent from my Samsung Galaxy smartphone.</div></div><div style="font-size:100%;color:#000000;"><div>-------- Original message --------</div><div>From: Nikolay Shishkov <nshishkov@yahoo.com> </div><div>Date: 01/07/2015  11:01 am  (GMT+00:00) </div><div>To: OVMS Developers <ovmsdev@lists.teslaclub.hk> </div><div>Subject: Re: [Ovmsdev] web api </div><div><br clear="none"></div></div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div dir="ltr"><span>I was able to log in fine from another network... </span></div><div dir="ltr"><span>I will chase down if it is our IT or the internet provider that is blocking traffic.</span></div><div dir="ltr"><span>Thanks again for the help,</span></div><div dir="ltr"><span>Nikolay</span></div>  <br clear="none"><div class="yiv8540136025qtdSeparateBR"><br clear="none"><br clear="none"></div><div class="yiv8540136025yahoo_quoted" style="display: block;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div dir="ltr"> <font size="2" face="Arial"> On Wednesday, July 1, 2015 11:54 AM, Nikolay Shishkov <nshishkov@yahoo.com> wrote:<br clear="none"> </font> </div>  <br clear="none"><br clear="none"> <div class="yiv8540136025y_msg_container"><div id="yiv8540136025"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div>Thanks Mark, </div><div>I am getting </div><div dir="ltr"><span class="yiv8540136025" style="color:rgb(119, 119, 119);font-family:'Segoe UI', Tahoma, sans-serif;font-size:13.0000495910645px;line-height:24px;text-transform:uppercase;background-color:rgb(247, 247, 247);">ERR_CONNECTION_TIMED_OUT</span><br clear="none"></div><div dir="ltr"><span class="yiv8540136025" style="color:rgb(119, 119, 119);font-family:'Segoe UI', Tahoma, sans-serif;font-size:13.0000495910645px;line-height:24px;text-transform:uppercase;background-color:rgb(247, 247, 247);"><br clear="none"></span></div><div dir="ltr">I will try from another network... I am starting to have a suspission that our IT blocked some ports...</div><div dir="ltr"><br clear="none"></div><div dir="ltr">Nikolay</div>  <br clear="none"><div class="yiv8540136025qtdSeparateBR"><br clear="none"><br clear="none"></div><div class="yiv8540136025yahoo_quoted" style="display:block;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div class="yiv8540136025yqt3963990299" id="yiv8540136025yqt64307"><div class="yiv8540136025yqt8185395348" id="yiv8540136025yqt16188"><div dir="ltr"> <font size="2" face="Arial"> On Wednesday, July 1, 2015 11:49 AM, Mark Webb-Johnson <mark@webb-johnson.net> wrote:<br clear="none"> </font> </div>  <br clear="none"><br clear="none"> <div class="yiv8540136025y_msg_container"><div id="yiv8540136025"><div>Here’s my test:<div class="yiv8540136025"><br clear="none" class="yiv8540136025"></div><blockquote class="yiv8540136025" style="margin:0 0 0 40px;border:none;padding:0px;"><div class="yiv8540136025">$  curl -s -X GET -c ~/Downloads/ovms-cookie -v "<a rel="nofollow" shape="rect" class="yiv8540136025" target="_blank" onclick="return theMainWindow.showLinkWarning(this)" href="https://tmc.openvehicles.com:6869/api/cookie?username=USER&password=PASSWORD">https://tmc.openvehicles.com:6869/api/cookie?username=USER&password=PASSWORD</a></div><div class="yiv8540136025"><div class="yiv8540136025">* Hostname was NOT found in DNS cache</div><div class="yiv8540136025">*   Trying 54.243.136.230...</div><div class="yiv8540136025">* Connected to <a rel="nofollow" shape="rect" class="yiv8540136025" target="_blank" href="http://tmc.openvehicles.com/">tmc.openvehicles.com</a> (54.243.136.230) port 6869 (#0)</div><div class="yiv8540136025">* TLS 1.2 connection using TLS_DHE_RSA_WITH_AES_256_CBC_SHA256</div><div class="yiv8540136025">* Server certificate: <a rel="nofollow" shape="rect" class="yiv8540136025" target="_blank" href="http://tmc.openvehicles.com/">tmc.openvehicles.com</a></div><div class="yiv8540136025">* Server certificate: COMODO RSA Domain Validation Secure Server CA</div><div class="yiv8540136025">* Server certificate: COMODO RSA Certification Authority</div><div class="yiv8540136025">* Server certificate: AddTrust External CA Root</div><div class="yiv8540136025">> GET /api/cookie?username=USER&password=PASSWORD HTTP/1.1</div><div class="yiv8540136025">> User-Agent: curl/7.37.1</div><div class="yiv8540136025">> Host: <a rel="nofollow" shape="rect" class="yiv8540136025" target="_blank" href="http://tmc.openvehicles.com/">tmc.openvehicles.com</a>:6869</div><div class="yiv8540136025">> Accept: */*</div><div class="yiv8540136025">></div><div class="yiv8540136025">* HTTP 1.0, assume close after body</div><div class="yiv8540136025">< HTTP/1.0 200 Authentication ok</div><div class="yiv8540136025">< Content-Type: text/plain</div><div class="yiv8540136025">< Expires: Wed, 01 Jul 2015 09:46:18 GMT</div><div class="yiv8540136025">* Added cookie ovmsapisession=“<REDACTED>" for domain <a rel="nofollow" shape="rect" class="yiv8540136025" target="_blank" href="http://tmc.openvehicles.com/">tmc.openvehicles.com</a>, path /api/, expire 0</div><div class="yiv8540136025">< Set-Cookie: ovmsapisession=<REDACTED></div><div class="yiv8540136025">< Connection: close</div><div class="yiv8540136025">< Cache-Control: max-age=0</div><div class="yiv8540136025">< Content-Length: 9</div><div class="yiv8540136025">< Access-Control-Allow-Origin: *</div><div class="yiv8540136025">< Date: Wed, 01 Jul 2015 09:46:18 GMT</div><div class="yiv8540136025"><</div><div class="yiv8540136025">Login ok</div></div></blockquote><div class="yiv8540136025"><br clear="none" class="yiv8540136025"></div><div class="yiv8540136025">Also tried 6868 for http, and ok.</div><div class="yiv8540136025"><br clear="none" class="yiv8540136025"></div><div class="yiv8540136025">What is the error you are getting?</div><div class="yiv8540136025"><br clear="none" class="yiv8540136025"></div><div class="yiv8540136025">Regards, Mark.</div><div class="yiv8540136025"><br clear="none" class="yiv8540136025"><div><blockquote class="yiv8540136025" type="cite"><div class="yiv8540136025yqt4007538382" id="yiv8540136025yqt74909"><div class="yiv8540136025">On 1 Jul, 2015, at 5:41 pm, Nikolay Shishkov <<a rel="nofollow" shape="rect" class="yiv8540136025" ymailto="mailto:nshishkov@yahoo.com" target="_blank" href="mailto:nshishkov@yahoo.com">nshishkov@yahoo.com</a>> wrote:</div><br clear="none" class="yiv8540136025Apple-interchange-newline"><div class="yiv8540136025"><div class="yiv8540136025"><div class="yiv8540136025" style="background-color:rgb(255, 255, 255);font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:16px;"><div class="yiv8540136025" dir="ltr" id="yiv8540136025yui_3_16_0_1_1435738502749_17999">The following one:</div><div class="yiv8540136025" dir="ltr" id="yiv8540136025yui_3_16_0_1_1435738502749_17999"><span class="yiv8540136025" id="yiv8540136025yui_3_16_0_1_1435738502749_17998"><a rel="nofollow" shape="rect" class="yiv8540136025" id="yiv8540136025yui_3_16_0_1_1435738502749_17995" target="_blank" onclick="return theMainWindow.showLinkWarning(this)" href="http://tmc.openvehicles.com:6868/api/cookie">http://tmc.openvehicles.com:6868/api/cookie</a></span></div><div class="yiv8540136025" dir="ltr" id="yiv8540136025yui_3_16_0_1_1435738502749_17999"><br clear="none" class="yiv8540136025"></div><div class="yiv8540136025" dir="ltr" id="yiv8540136025yui_3_16_0_1_1435738502749_17999">Should I use another one?</div>  <br clear="none" class="yiv8540136025"><div class="yiv8540136025qtdSeparateBR"><br clear="none" class="yiv8540136025"><br clear="none" class="yiv8540136025"></div><div class="yiv8540136025yahoo_quoted" style="display:block;"> <div class="yiv8540136025" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div class="yiv8540136025" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div class="yiv8540136025" dir="ltr"> <font class="yiv8540136025" size="2" face="Arial"> On Wednesday, July 1, 2015 11:39 AM, Mark Webb-Johnson <<a rel="nofollow" shape="rect" class="yiv8540136025" ymailto="mailto:mark@webb-johnson.net" target="_blank" href="mailto:mark@webb-johnson.net">mark@webb-johnson.net</a>> wrote:<br clear="none" class="yiv8540136025"> </font> </div>  <br clear="none" class="yiv8540136025"><br clear="none" class="yiv8540136025"> <div class="yiv8540136025y_msg_container"><div class="yiv8540136025" id="yiv8540136025"><div class="yiv8540136025">Seems ok for me. What URL are you using?<div class="yiv8540136025"><br clear="none" class="yiv8540136025"><div class="yiv8540136025"><blockquote class="yiv8540136025" type="cite"><div class="yiv8540136025yqt8641666684" id="yiv8540136025yqt15535"><div class="yiv8540136025">On 1 Jul, 2015, at 4:25 pm, Nikolay Shishkov <<a rel="nofollow" shape="rect" class="yiv8540136025" ymailto="mailto:nshishkov@yahoo.com" target="_blank" href="mailto:nshishkov@yahoo.com">nshishkov@yahoo.com</a>> wrote:</div><br clear="none" class="yiv8540136025Apple-interchange-newline"><div class="yiv8540136025"><div class="yiv8540136025"><div class="yiv8540136025" style="background-color:rgb(255, 255, 255);font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:16px;"><div class="yiv8540136025" id="yiv8540136025yui_3_16_0_1_1435738502749_11679">Hi Mark, </div><div class="yiv8540136025" id="yiv8540136025yui_3_16_0_1_1435738502749_11680"><br clear="none" class="yiv8540136025"></div><div class="yiv8540136025" id="yiv8540136025yui_3_16_0_1_1435738502749_11681">The web api seem to be inaccessible. Is it me or is it the server?</div><div class="yiv8540136025" id="yiv8540136025yui_3_16_0_1_1435738502749_11681"><br clear="none" class="yiv8540136025"></div><div class="yiv8540136025" id="yiv8540136025yui_3_16_0_1_1435738502749_11681">Nikolay</div></div></div>_______________________________________________<br clear="none" class="yiv8540136025">OvmsDev mailing list<br clear="none" class="yiv8540136025"><a rel="nofollow" shape="rect" class="yiv8540136025" ymailto="mailto:OvmsDev@lists.teslaclub.hk" target="_blank" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br clear="none" class="yiv8540136025"><a rel="nofollow" shape="rect" class="yiv8540136025" target="_blank" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br clear="none" class="yiv8540136025"></div></div></blockquote></div><br clear="none" class="yiv8540136025"></div></div></div><br clear="none" class="yiv8540136025"><div class="yiv8540136025yqt8641666684" id="yiv8540136025yqt34806">_______________________________________________<br clear="none" class="yiv8540136025">OvmsDev mailing list<br clear="none" class="yiv8540136025"><a rel="nofollow" shape="rect" class="yiv8540136025" ymailto="mailto:OvmsDev@lists.teslaclub.hk" target="_blank" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br clear="none" class="yiv8540136025"><a rel="nofollow" shape="rect" class="yiv8540136025" target="_blank" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br clear="none" class="yiv8540136025"></div><br clear="none" class="yiv8540136025"><br clear="none" class="yiv8540136025"></div>  </div> </div>  </div></div></div>_______________________________________________<br clear="none" class="yiv8540136025">OvmsDev mailing list<br clear="none" class="yiv8540136025"><a rel="nofollow" shape="rect" class="yiv8540136025" ymailto="mailto:OvmsDev@lists.teslaclub.hk" target="_blank" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br clear="none" class="yiv8540136025">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev<br clear="none" class="yiv8540136025"></div></div></blockquote></div><br clear="none" class="yiv8540136025"></div></div></div><br clear="none"><div class="yiv8540136025yqt4007538382" id="yiv8540136025yqt67821">_______________________________________________<br clear="none">OvmsDev mailing list<br clear="none"><a rel="nofollow" shape="rect" ymailto="mailto:OvmsDev@lists.teslaclub.hk" target="_blank" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br clear="none"></div><br clear="none"><br clear="none"></div></div></div>  </div> </div>  </div></div></div></div><br clear="none"><br clear="none"></div>  </div> </div>  </div></div></div></div><br><div class="yqt8185395348" id="yqt07647">_______________________________________________<br clear="none">OvmsDev mailing list<br clear="none"><a shape="rect" ymailto="mailto:OvmsDev@lists.teslaclub.hk" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br clear="none"><a shape="rect" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" target="_blank">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br clear="none"></div><br><br></div>  </div> </div>  </div></div></body></html>