-
Notifications
You must be signed in to change notification settings - Fork 4
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
No connection #59
Comments
Nothing is listening on the MQTT TLS port ( If you configure your devices to use non-TLS MQTT to that port, and your firewall is correctly configured to redirect to your OwnTracks server you should see data, also log entries for Mosquitto. |
OK that works. I see the data in the mosquitto broker now after I reconfigured the mosquito config to listen on 0.0.0.0:1883. |
Our OwnTracks Recorder can also have positions sent to it via HTTP (not Websockets), and our apps (iOS and Android) support HTTP as well. Do note, however, that a) support for multiple Friends is more difficult with HTTP and b) many of us think MQTT (over TLS) is the more reliable protocol to use with our apps. |
I'm just thinking about the best method I have that is in best case encrypted. Another thing is: Should the position be visible in realtime in the "Frontend"-map? I see my position in the live map (if something is sent since I opened it). At the moment it is empty for me. |
Should the position be visible in realtime in the "Frontend"-map?
when Frontend loads new data, the positions will be visible, but it doesn't refresh by itself.
I see my position in the live map (if something is sent since I opened it). At the moment it is empty for me.
that's unclear to me: what is empty?
Verify that data is being received and stored by Recorder by checking files in /var/spool/owntracks/recorder/store/rec/<username>/<devicename>/YYYY-mm.rec
That's the data the Recorder API uses to populate the maps.
|
OK, that was a bit confusing: |
Please check the following:
1. that you've selected a generous timeframe in Frontend
2. also that you see a list of users / devices (right hand top of Frontend)
3. do you see a version number of owntracks/recorder in Frontend (tap (i) on top right)? What does it say?
|
Hi,
|
Sorry you're having trouble with this. I fear that during our last release of the Recorder we got the startup script wrong, at least that's what it's looking like. Please start reading the steps in this issue and see whether they apply to your situation as well. In particular:
|
Hi,
|
Thanks for the feedback and glad you got it working. |
Hi,
I just installed Owntracks on my server yesterday. The server installed is not exposed to the Internet directly but behind a firewall and a reverse proxy.
On installation I didn't state a mail address to disable let's encrypt and configured my reverse proxy to do the SSL things as well as receive the (anyway optional) traffic on http/https and Forward it to my owntracks server.
The MQTT port 8883 is forwarded directly.
I can access the frontend via Internet and my configured domain.
My problem is, that the app cannot connect to the app. In the firewall I see the traffic is going through. On the server I don't see anything listening on 0.0.0.0:8883 using
ss -l
.There is just something listening on 127.0.0.1:1883 which turned out to be the mosquito broker. I am now unsure what should be and what the issue may be.
All of the three services are running.
Btw: when I change to HTTP connection instead of MQTT nothing changes.
Reading the MQTT messages on the server I just see the ones from otrec.
Any ideas?
The text was updated successfully, but these errors were encountered: