No server connection, but telnet to server works

RSH.RB890.2024-09-15T07_02_50.logs.tar (1.1 MB)

I have a new Shake which - via ssh

i) can telent to the server, with DNS working (can ping www.ft.com)

ii) has an active GPS timing link

iii) Off line is off

as detailed belo

but is not connecting to the server

Nodoubt I’m doing something stupid… but what?

Richard Wylde


 remote           refid      st t when poll reach   delay   offset  jitter

==============================================================================
SHM(0) .GPS. 0 l 14 16 377 0.000 374.224 0.970
*SHM(1) .PPS. 0 l 13 16 377 0.000 0.085 0.438
+keratrix.amazin 85.199.214.99 2 u 10 64 177 19.617 -0.944 0.433
+labs.netweaver. 139.143.5.30 2 u 8 64 177 16.656 1.687 1.792
-moocat.me 193.190.230.65 2 u 13 64 177 10.019 1.006 0.649

Network Info

Stand-Alone Mode : OFF
Ethernet UP : YES
WiFi UP : YES
DNS Available : YES
Network Accessible : YES
Nameservers : 8.8.8.8, 2001:8b0::2020, 2001:8b0::2021

=== Shake Data Server ===
Name: raspberryshakedata.com
Port 55555 : YES
Port 55556 : YES


settings
Settings
gavel
Actions

AM.RB890.00.EH[Z,N,E]

Shake Model : RS3D
Raspberry Pi Model : 3 Model B
System Status : RUNNING
System Version : 0.20
Ethernet Local IPv4 : 192.168.1.68
Ethernet MAC : b8:27:eb:80:b8:90
Data Producer : ON
Data Consumer : ON
Off-line Mode : OFF
Data Forwarding : ON
Server Connection : Not Connected
Latitude : 50.9700
Longitude : -0.5514
Elevation : 70 m
System Time : 2024-09-15 07:20:35 UTC
Disk Usage : 44% Used – 4.1 Gb Available
CPU Temp : 51 C / 124 F
Uptime : 0 Days 0 Hours 25 Minutes
1 Like

Hello Cave, and welcome to the community!

Thank you for providing the logs and all the additional info!

Yes, as far as I can see the Shake boots properly, manages to get time from the GPS module connected to it, and then initializes all its processes correctly.

It also doesn’t find any issues with the ports but I’m seeing that both Ethernet and WiFi are up and running (even if, at boot, WiFi appears to be OFF). Do you require both of them at the same time, or could you turn the WiFi off, reboot the Shake, and see if now it manages to connect?

Wifi was off, in the .config file

# WiFi enablement configuration file
# should contain a single line not beginning with #
# specifying either ON or OFF

OFF
~

as well on the WWW screen

and I fear, after reboot, no connection to your server

Updated log file, if that is any help

Richard

RSH.RB890.2024-09-16T17_58_54.logs.tar (1.2 MB)
~

hi richard,

(hmm, moving targets are always fun…)

  • the first problem you were having resulted from a server-side issue, which has been resolved, however…

  • the most recent reason is because the unit is unable to successfully resolve the server name. this is evident in the log file odf_SL_plugin.err file’s latest entry:

2024 260 17:50:41>>	create_socket(): Error in getaddrinfo: Name or service not known
2024 260 17:50:41>>	Likely cause is no DNS server found.

even though your DNS server list did not change (this information is contained in the log file myshake.out).

sometimes what can happen at boot-up is that the DNS server is not yet available when / if the router in-between is in the process of also booting. (and i have no idea if this was the case in your particular situation or not…)

since i gather you are comfortable working on the command line, instead of rebooting the unit, try restarting the data-producer service instead:

  1. log in to the shake
  2. run the following command:
    sudo systemctl restart rsh-data-producer

and see if this results in a better outcome.

you can also verify the DNS server is properly being accessed by trying to ping the data server:

ping raspberryshakedata.com

hope this helps, please send along the log files again when connection is still not successful.

cheers,
richard

1 Like