Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rover cannot connect #1

Closed
Malikapkiner opened this issue Feb 27, 2020 · 4 comments
Closed

Rover cannot connect #1

Malikapkiner opened this issue Feb 27, 2020 · 4 comments

Comments

@Malikapkiner
Copy link

Hey.
My mountpoint can succesfully connect to ntripcaster but my rover cannot connect. Im using Applanix LVX as rover. I entered username and password correctly but caster say not authorized.

[27/Feb/2020:08:36:37] Accepted encoder on mountpoint /BUCU0 from 192.168.1.103. 1 sources connected
[27/Feb/2020:08:36:50] Kicking unknown 4 [192.168.1.100] [Sourcetable transferred], connected for 0 seconds
[27/Feb/2020:08:36:51] Kicking unknown 5 [192.168.1.100] [Not authorized], connected for 0 seconds
[27/Feb/2020:08:37:09] Bandwidth:0.000000KB/s Sources:1 Clients:0

I've done instructions step by step. What am i missing.

@goblimey
Copy link
Owner

goblimey commented Mar 4, 2020

I notice that you are using the mountpoint name /BCU01, which is the default.

There are two configuration files and they both contain the mountpoint name. You can use any mountpoint name that makes sense to you but the names in BOTH FILES must match. In my example, they are different. In my example I have a single mountpoint "uk_leatherhead" in one file, and two mountpoints in the other. This may be causing confusion.

There are also TWO passwords. One is the password that your base station uses to connect. From your log you can see that it's working. The other is the user name and password that your rover uses to connect. That one is not working. Is the rover using the correct mountpoint name, user name and password?

If you need to change your configuration files, you will need to stop, rebuild and redeploy your caster.

@Malikapkiner
Copy link
Author

Thanks a lot for your quick response. We followed the steps that you mentioned and it seems like the server and the client are connected successfully. When we run the ntripcaster, both the server and client connect to the caster. In the client side we see that it takes RTCMv3 input and outputs NMEA-GGA message. However, it does not switch to RTK mode. Here are our terminal messages, configuration files and necessary images. I would be glad if you could help me. Thanks in advance.

[04/Mar/2020:16:32:58] NtripCaster Version 0.1.5 Starting..
[04/Mar/2020:16:32:58] Using stdout as NtripCaster logging window
[04/Mar/2020:16:32:58] Starting main connection handler...
[04/Mar/2020:16:32:58] Listening on port 2101...
[04/Mar/2020:16:32:58] Using 'hvl-X550VX' as servername...
[04/Mar/2020:16:32:58] Server limits: 100 clients, 100 clients per source, 40 sources
[04/Mar/2020:16:32:58] Starting Calender Thread...
[04/Mar/2020:16:32:58] Bandwidth:0.000000KB/s Sources:0 Clients:0
[04/Mar/2020:16:33:00] Accepted encoder on mountpoint /PADO0 from 192.168.1.101. 1 sources connected
[04/Mar/2020:16:33:05] Kicking unknown 1 [192.168.1.100] [Sourcetable transferred], connected for 0 seconds
[04/Mar/2020:16:33:06] Accepted client 2 [(null)] from [192.168.1.100] on mountpoint [/PADO0]. 1 clients connected
[04/Mar/2020:16:33:58] Bandwidth:0.000000KB/s Sources:1 Clients:1
[04/Mar/2020:16:34:58] Bandwidth:0.850000KB/s Sources:1 Clients:1
[04/Mar/2020:16:35:58] Bandwidth:0.933333KB/s Sources:1 Clients:1
[04/Mar/2020:16:36:58] Bandwidth:0.933333KB/s Sources:1 Clients:1
[04/Mar/2020:16:37:58] Bandwidth:0.933333KB/s Sources:1 Clients:1
[04/Mar/2020:16:38:58] Bandwidth:0.933333KB/s Sources:1 Clients:1
[04/Mar/2020:16:39:58] Bandwidth:0.900000KB/s Sources:1 Clients:1
[04/Mar/2020:16:40:58] Bandwidth:0.900000KB/s Sources:1 Clients:1
[04/Mar/2020:16:41:58] Bandwidth:0.900000KB/s Sources:1 Clients:1

This is what we get when we run ntripcaster.

##################################
# NtripCaster configuration file #
################################################################################

############### Server Location and Resposible Person ##########################
# Server meta info with no fuctionality.

location TUR
rp_email [email protected]
server_url http://192.168.1.102

########################### Server Limits ######################################
# Maximum number of simultaneous connections.

max_clients 100
max_clients_per_source 100
max_sources 40

######################### Server passwords #####################################
# The "encoder_password" is used from the sources to log in.

encoder_password sesam01

#################### Server IP/port configuration ##############################
# The server_name specifies the hostname of the server and must not be set to
# an IP-adress. It is very important that server_name resolves to the IP-adress
# the server is running at.
# For every port, the server should listen to, a new port line can be added.

server_name hvl-X550VX
#port 80
port 2101

######################## Main Server Logfile ##################################
# logfile contains information about connections, warnings, errors etc.

logdir /home/users/makapkiner/ntrip/logs
logfile ntripcaster.log

############################ Access Control ###################################
# Here you specify which users have access to which mountpoints,
# one line per mount.
#
# Syntax: /<MOUNTPOINT>:<USER1>:<PASSWORD1>,<USER2>:<PASSWORD2>,...,<USERn>:<PASSWORDn>
#
# /<MOUNTPOINT>: name of the mountpoint. Must start with a slash.
# <USERi>: name of the user that has access to <MOUNTPOINT>.
# <PASSWORDi>: password of <USERi>.
#

# example:
#/mount0:user0:pass0,user1:pass1,user2:pass2
#/BUCU0:user1:password1,user2:123
/PADO0

This is our ntripcaster.conf file.

CAS;192.168.1.102;2101;EUREF-IP;BKG;0;TUR;39.91;32.78;http://www.euref-ip.net/home
CAS;rtcm-ntrip.org;2101;NtripInfoCaster;BKG;0;DEU;50.12;8.69;http://www.rtcm-ntrip.org/home
NET;IGS;PADO0;N;N;192.168.1.102;none;[email protected];none
STR;PADO0;Ankara;CMR;1(1),3(60),16(60);2;GPS+GLONASS;EUREF;TUR;39.91;32.77;1;0;Ashtech Z-XII3;none;N;N;5000

This is our sourcetable.dat file.

reach_base
emlid_status
Its our base and signal status

applanix_rover
Its our rover it cannot switch RTK mode

@kristianpaul
Copy link

I'm having issues also with the mount point that have user and password

getting this message from the caster when the client tries to connect

Kicking unknown 2 [111.52.52.79] [Not authorized], connected for 0 seconds

i have

/mount0:user0:pass0,user1:pass1,user2:pass2

@kristianpaul
Copy link

never mind, i figured i had configured the wrong server_name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants