TRB142 - Cannot connect to NTRIP server?

We’re trying to setup a Topcon AGI-4 receiver with RTK capabilites, together with the TRB142, since the 2G and 3G networks will close down.

The receiver has the gyroscope and modem installed to unlock Ntrip features.

We are getting connection with the receiver, but it looks like the Ntrip server is denying the connection. I don’t really understand the error code: “server response, recv_buf:[HTTP/1.1 401 Unauthorized”.

We have correct login credentials to the Ntrip server.

I ran the Ntrip service through Putty, as seen below.

root@TRB142:/usr/sbin# ntrip_client -d /dev/rs232
NTRIP client starting
config.serial_device=/dev/rs232
Getting uci configuration
Enabled:[1]
ntrip_ip:[nrtk-swepos.lm.se]
ntrip_port:[80]
mount_point:[RTCM3_GNSS]
data_format string:[h]
NTRIP Version 2.0 Caster in TCP/IP mode
username:[]
password:[
]
nmea_source:[4]
lattitude:[0.000000]
longitude:[0.000000]
bps: 115200
data_bits: 8
stop_bits: 1
parity: none
flow_control: none
full_duplex: 0
echo: 0
device: /dev/rs232
report_interval:[5]
udp_port_listen:[0]
cleaning UCI structures
Validating the configuration
Configuration validated successfully
Initiating serial device [/dev/rs232]
Serial device initiated successfully
nmea_source == FROM_SERIAL_DEVICE
Getting nmea from serial device
Waiting for valid NMEA from serial device
Poll passed
Serial device read returned [84], tmp_buff=$GPGGA,094437.40,5603.0244344,N,01252.7102092,E,1,18,0.63,53.8671,M,40.3654,M,*6D

, buff_used=84
Validating buff_used:84, buff=[$GPGGA,094437.40,5603.0244344,N,01252.7102092,E,1,18,0.63,53.8671,M,40.3654,M,*6D

]
Found start of a string : [$][G][P][G][G][A][,]
checksum found=6D
gga_string FOUND=[$GPGGA,094437.40,5603.0244344,N,01252.7102092,E,1,18,0.63,53.8671,M,40.3654,M,*6D]
provided checksum:109, calculated_checksum:109
Checksums are matching
NMEA from serial device acquired and set successfully : [$GPGGA,094437.40,5603.0244344,N,01252.7102092,E,1,18,0.63,53.8671,M,40.3654,M,*6D
]
Setting report interval=5
Ntrip client in ntrip_v2 version run
have USERNAME and PASSWORD
request_data=[GET /RTCM3_GNSS HTTP/1.1
User-Agent: NTRIP NTRIPClient/20191018
Accept: /
Connection: close
Ntrip-Version: Ntrip/2.0
Host: nrtk-swepos.lm.se:80
Authorization: Basic Y2xhYXMwODpNYXNraW4wMQ==

]
server response, recv_buf:
server response, recv_buf:[HTTP/1.1 401 Unauthorized
WWW-Authenticate: Basic realm=“RTCM3_GNSS”
Ntrip-Version: Ntrip/2.0
Server: NTRIP Trimble Ntrip Caster 5.1
Date: Mon, 27 May 2024 09:44:37 UTC
Content-Type: text/html
Connection: close

]
server response, recv_buf:[HTTP/1.1 401 Unauthorized
WWW-Authenticate: Basic realm=“RTCM3_GNSS”
Ntrip-Version: Ntrip/2.0
Server: NTRIP Trimble Ntrip Caster 5.1
Date: Mon, 27 May 2024 09:44:37 UTC
Content-Type: text/html
Connection: close

]
Remote socket close!!!
Was unable to run the ntrip client, going to retry
^A^CStop the service
NTRIP client was stopped properly
Stop the service
root@TRB142:/usr/sbin#

Does anynoe know what the reason could be here?

Hello,

You might want to check if the following settings are correct:

  • Ensure that the username and password are correct.
  • Verify with the service provider (nrtk-swepos.lm.se) that these credentials are active and have access to the mount point RTCM3_GNSS.
  • Ensure that there are no network or firewall issues blocking the connection to nrtk-swepos.lm.se on port 80.

Kind regards,

This topic was automatically closed after 15 days. New replies are no longer allowed.