{"id":1787,"date":"2016-06-17T00:17:48","date_gmt":"2016-06-17T00:17:48","guid":{"rendered":"\/?post_type=ht_kb&#038;p=1787"},"modified":"2021-03-10T01:21:36","modified_gmt":"2021-03-10T01:21:36","slug":"user-connections-general-debugging","status":"publish","type":"ht_kb","link":"https:\/\/www.use-snip.com\/kb\/knowledge-base\/user-connections-general-debugging\/","title":{"rendered":"User Connections, general debugging"},"content":{"rendered":"<p>This article covers the various errors and reporting message that can occur when <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> is operating in a <span style=\"text-decoration: underline;\"><strong>closed<\/strong> <\/span>mode such that every new user (every NTRIP Client) must present a valid account and a password in order to log in.<\/p>\n<p style=\"padding-left: 30px;\">If <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> is operating in a <span style=\"text-decoration: underline;\"><strong>open<\/strong><\/span> mode, the messages described here will not apply.\u00a0 Under open mode connections all a user (an NTRIP Client) needs to do is request a mountPt that matches to those in the current Caster table. A similar article dealing with the general debugging of client connections (operating in the open mode) can be found <a href=\"\/kb\/knowledge-base\/debugging-client-connections\/\">here<\/a>.<\/p>\n<p>It should also be noted that MountPt strings are <span style=\"text-decoration: underline;\">always<\/span> case sensitive.<\/p>\n<h3>Background Article<\/h3>\n<p>Adding new users is covered in general terms in this <a href=\"\/kb\/knowledge-base\/managing-user-accounts\/\">article<\/a>.\u00a0\u00a0 This article may be of use in understanding how to operate the various <a href=\"\/kb\/knowledge-base\/how-to-use-filter-controls-the-details\/\">console filters<\/a> which <span style=\"color: #0000ff;\"><strong>SNIP<\/strong> <\/span>provides.\u00a0 Effective filtering is of great benefit when trying to debug a problem connection in the presence of many other server events in the log.<\/p>\n<h3>Closing the SNIP Caster<\/h3>\n<p>The critical check box\u00a0<strong>Allow Anonymous access for Users<\/strong> which is used to enable or disable the open\/closed mode of the <span style=\"color: #0000ff;\"><strong>SNIP<\/strong> <\/span>Caster is described in <a href=\"https:\/\/www.use-snip.com\/kb\/managing-user-accounts\/\">this<\/a> article.<\/p>\n<h3>Watching User Connections as they Occur<\/h3>\n<p>The console log can be used to view each NTRIP Client dialog as it occurs.\u00a0 The critical check box to enable this is to set <strong>Display New User Connection Details<\/strong> which found on the <a href=\"\/kb\/knowledge-base\/the-caster-and-clients-tab\/\">Caster and Clients<\/a> tab.\u00a0 Be sure to also set the Log threshold to &#8220;minor&#8221; and enable client message types in order to see these details.\u00a0 When checked, after each connection is processed, a report of its outcome is presented in the console log. Additional analysis details are provided when the Caster is closed and the connection attempt failed.<\/p>\n<h3>A Typical NTRIP Client connection<\/h3>\n<p>Looks like the below when all goes well. In these examples we presume that we have created an account set up with the credentials of:\u00a0\u00a0 <em>user:password<\/em> \u00a0 (all lower case).\u00a0 When the user:password pair sequence is sent, they are encoded in a <a href=\"https:\/\/www.base64encode.org\/\" target=\"_blank\" rel=\"noopener\">Base64<\/a> format.\u00a0 The NTRIP Client will connect to a mountPt which is called:\u00a0 MOUNTPT<\/p>\n<p>&nbsp;<\/p>\n<pre>[C56]: Client [#C56] appears to an NTRIP Client connecting with:\r\n[C56]: An NTRIP Client sent: ======================\r\n[C56]: \r\nGET \/MOUNTPT HTTP\/1.0\r\nUser-Agent: NTRIP RTKLIB\/2.4.2\r\nAuthorization: Basic VXNlcjE6bm9uZQ==\r\n[C56]: ======================\r\n[MOUNTPT]: Mount Pt [ MOUNTPT ] is a match - allow connection IF credentials match a user entry.\r\n[MOUNTPT]: Credentials for user accepted.\r\n[MOUNTPT]: Client #C56 [69.75.31.227:61916] Connected to MOUNTPT at 05:45:33 PM (local)\r\n<\/pre>\n<p>When a problem occurs, the analysis details explain what was found and what it likely means (corrective action).\u00a0 Resolving the problem may mean a change in what the NTRIP Client device sends, or it may mean that you (as the <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> operator) must adjust the table entry for this user.<\/p>\n<h4>A missing user:password<\/h4>\n<pre>[C57]: Client [#C57] appears to an NTRIP Client connecting with:\r\n[C57]: An NTRIP Client sent: ======================\r\n[C57]: \r\nGET \/MOUNTPT HTTP\/1.0\r\nUser-Agent: NTRIP RTKLIB\/2.4.2\r\nAccept: *\/*\r\nConnection: close\r\n[C57]: ======================\r\n[MOUNTPT]: Mount Pt [ MOUNTPT ] is a match - allow connection IF credentials match a user entry.\r\n[MOUNTPT]: No credentials were extracted from request (Caster is closed), Disconnected.\r\n[MOUNTPT]: Client #C57 [69.75.31.227:62002] Disconnect from , 89 Bytes in, 967 Bytes out, Connected: 006 mSec\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>This article has served to summarize various connection problems that can occur when NTRIP Client log onto <span style=\"color: #0000ff;\"><strong>SNIP<\/strong> <\/span>and how to recognize and correct them.<\/p>\n<p style=\"-qt-block-indent: 0;\">[<span style=\"font-weight: 600; color: #0000ff;\">SCSC02<\/span>]:\u00a0\u00a0<span style=\"font-weight: 600; color: #0000ff;\">Client #C01<\/span> [69.75.31.228:60021] Connected to <span style=\"font-weight: 600;\">SCSC02<\/span> at 11:10:06 AM (local)<br \/>\n[<span style=\"font-weight: 600; color: #0000ff;\">C02<\/span>]:\u00a0\u00a0<span style=\"font-weight: 600; color: #0000ff;\">Client #C02<\/span> [69.75.31.228:60022] Disconnect (<span style=\"font-weight: 600;\">NO<\/span> mountPt was provided), 102 Bytes in, 959 Bytes out, Connected: <span style=\"font-weight: 600;\">054 mSec<\/span><\/p>\n<p style=\"-qt-block-indent: 0;\">[<span style=\"font-weight: 600; color: #0000ff;\">SCSC02<\/span>]:\u00a0\u00a0<span style=\"font-weight: 600; color: #0000ff;\">Client #C01<\/span> [69.75.31.228:60021] Connected to <span style=\"font-weight: 600;\">SCSC02<\/span> at 11:10:06 AM (local)<\/p>\n<p style=\"-qt-block-indent: 0;\">[<span style=\"font-weight: 600; color: #0000ff;\">C02<\/span>]:\u00a0\u00a0<span style=\"font-weight: 600; color: #0000ff;\">Client #C02<\/span> [69.75.31.228:60022] Disconnect (<span style=\"font-weight: 600;\">NO<\/span> mountPt was provided), 102 Bytes in, 959 Bytes out, Connected: <span style=\"font-weight: 600;\">054 mSec<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article covers the various errors and reporting message that can occur when SNIP is operating in a closed mode such that every new user (every NTRIP Client) must present a valid account and a password in order to log in. If SNIP is operating in a open mode, the [&hellip;]<\/p>\n","protected":false},"author":13,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"ht-kb-category":[112,283],"ht-kb-tag":[223,222],"class_list":["post-1787","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-general","ht_kb_category-managing-user-accounts","ht_kb_tag-debugging","ht_kb_tag-user-connections"],"_links":{"self":[{"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb\/1787","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/comments?post=1787"}],"version-history":[{"count":22,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb\/1787\/revisions"}],"predecessor-version":[{"id":7633,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb\/1787\/revisions\/7633"}],"wp:attachment":[{"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/media?parent=1787"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=1787"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=1787"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}