Opened 12 years ago

Closed 7 years ago

#9 closed defect (worksforme)

Ntripcaster reset ntrip server connection immediately after authentication

Reported by: jshih@… Owned by: stoecker
Priority: normal Component: Professional Caster
Version: Keywords:


This may be related to issue #6. This is found in ntripcaster 2.0.15.

  • It does not happen all the but can be reproduced quite frequently.
  • It happens immediately after authentication, and the server send the first couple of packets.
  • Can be reproduced by connecting the server to caster for 20 secs, then disconnect for 10 secs and then repeat.

Below is from my log file:
[27/May/2011:21:28:38] [66576:Connection Handler] DEBUG: Building request out of [POST /jshih HTTP/1.1]
[27/May/2011:21:28:38] [66576:Connection Handler] DEBUG: Building request from jshih
[27/May/2011:21:28:38] [66576:Connection Handler] DEBUG: req->path = jshih, req->port = 80, protocol = 3
[27/May/2011:21:28:38] [66576:Connection Handler] get_ntrip_method: name POST
[27/May/2011:21:28:38] [66576:Connection Handler] get_ntrip_method: found method [POST]
[27/May/2011:21:28:38] [66576:Connection Handler] DEBUG: Adding varpair [Host] == []
[27/May/2011:21:28:38] [66576:Connection Handler] DEBUG: Adding varpair [Ntrip-Version] == [Ntrip/2.0]
[27/May/2011:21:28:38] [66576:Connection Handler] DEBUG: Adding varpair [User-Agent] == [Ntrip NovAtelServer/1.0]
[27/May/2011:21:28:38] [66576:Connection Handler] DEBUG: Adding varpair [Transfer-Encoding] == [chunked]
[27/May/2011:21:28:38] [66576:Connection Handler] DEBUG: Adding varpair [Connection] == [close]
[27/May/2011:21:28:38] [66576:Connection Handler] DEBUG: Adding varpair [Authorization] == [Basic anNoaWg6anNoaWg=]
[27/May/2011:21:28:38] [66576:Connection Handler] read header: Ntripversion 2.0 Cseq -1 Session -1 Transferencoding chunked

[27/May/2011:21:28:38] [66576:Connection Handler] DEBUG: HTTP Encoder logging in with path jshih
[27/May/2011:21:28:38] [66576:Connection Handler] DEBUG: authenticate_source_request(): NTRIP2.0: checking source user
[27/May/2011:21:28:38] [66576:Connection Handler] DEBUG: con_get_user() decoding: [anNoaWg6anNoaWg=]
[27/May/2011:21:28:38] [66576:Connection Handler] DEBUG: con_get_user() decoded: [jshih:jshih]
[27/May/2011:21:28:38] [66576:Connection Handler] DEBUG: Checking need for authentication on mount /jshih
[27/May/2011:21:28:38] [66576:Connection Handler] ntrip_write_message: OK: connection 66570 from [] written: [HTTP/1.1 200 OK
Ntrip-Version: Ntrip/2.0
Server: NTRIP Caster/2.0.15
Date: Fri, 27 May 2011 21:28:38 GMT
Cache-Control: no-store,no-cache,max-age=0
Pragma: no-cache
Connection: close
Transfer-Encoding: chunked
[27/May/2011:21:28:38] [66576:Connection Handler] Accepted encoder on mountpoint /jshih from 6 sources connected
[27/May/2011:21:28:38] [66576:Source Thread] Setting fd 9 to nonblocking
[27/May/2011:21:28:40] [66576:Source Thread] Didn't receive data from source after 1600 milliseconds, assuming it died...
[27/May/2011:21:28:40] [66576:Source Thread] Kicking source 66570 [] [Source died] [http source], connected for 2 seconds on mountpoint jshih, 0 bytes transfered. 5 sources connected
[27/May/2011:21:28:40] [66576:Source Thread] DEBUG: Closing fd 9
[27/May/2011:21:28:40] [66576:Source Thread] DEBUG: Removing connection 66570 of type 1
[27/May/2011:21:28:40] [66576:Source Thread] Removing source 66570 (0xb7a00bc8) from sourcetree of (0x85b2820)
[27/May/2011:21:28:40] [66576:Source Thread] DEBUG: Removing thread 66576 started at [main.c:807], reason: 'Thread Exited'

Attachments (0)

Change History (2)

comment:1 by stoecker, 12 years ago

Component: OtherProfessional Caster
Owner: changed from team to stoecker

comment:2 by stoecker, 7 years ago

Resolution: worksforme
Status: newclosed

In all the time I was unable to reproduce this.

Modify Ticket

Change Properties
as closed The owner will remain stoecker.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.