Comments (3)
What is hostname:port ?
Can you just use localIP:port
?
from find3.
What is hostname:port ?
a local DNS (resolvable) or IP, I tried both. Port is 8005 (where server is started on).
Below is the log of a fresh start, at 00:35:20 I've started learning on the app, that made it crash.
Now that I was able to reproduce it I believe it was because of file access rights to the DB files in data/*.
Deleted those and started again as root, now it's no longer crashing.
So much for that one, BUT...
... now it's running but does not generating any DB data. I see HTTP requests going only when I start/restart learning via app,
there's no data files to appear in data/*
[00:35:07] openhabian@devpi:~/go/src/github.com/schollz/find3/server/main$ ./main -debug -port 8005
2020-07-16 00:35:11 [DEBUG] [PID-14652] mode.go Run:61 current families: [diestorms]
2020-07-16 00:35:11 [INFO] [PID-14652] server.go Run:579 Running on 0.0.0.0:8005
2020-07-16 00:35:20 [INFO] [PID-14652] server.go func1:1360 192.168.178.43:56608 GET /ws?family=diestorms&device=myprism 504.071ยตs
2020-07-16 00:35:20 [DEBUG] [PID-14652] db.go getRows:1055 getting columns
2020-07-16 00:35:20 [DEBUG] [PID-14652] db.go getRows:1062 getting sensorstringsizer
2020-07-16 00:35:20 [DEBUG] [PID-14652] db.go getRows:1079 getting locations
2020-07-16 00:35:20 [DEBUG] [PID-14652] db.go getRows:1085 got locations
panic: interface conversion: interface {} is string, not []uint8
goroutine 51 [running]:
github.com/schollz/find3/server/main/src/database.(*Database).getRows(0x2036020, 0x2518370, 0x2518370, 0x1, 0x2518370, 0x0, 0x0)
/home/openhabian/go/src/github.com/schollz/find3/server/main/src/database/db.go:1097 +0xbcc
github.com/schollz/find3/server/main/src/database.(*Database).GetAllFromPreparedQuery(0x2036020, 0x769b90, 0x46, 0x1c41e6c, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/openhabian/go/src/github.com/schollz/find3/server/main/src/database/db.go:1044 +0x10c
github.com/schollz/find3/server/main/src/database.(*Database).GetLatest(0x2036020, 0x24fcec0, 0x7, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/openhabian/go/src/github.com/schollz/find3/server/main/src/database/db.go:641 +0xcc
github.com/schollz/find3/server/main/src/server.sendOutLocation(0x24fceaf, 0x9, 0x24fcec0, 0x7, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/openhabian/go/src/github.com/schollz/find3/server/main/src/server/server.go:870 +0x98
created by github.com/schollz/find3/server/main/src/server.wshandler
/home/openhabian/go/src/github.com/schollz/find3/server/main/src/server/websockets.go:66 +0x318
from find3.
fixed after reinstall although cannot tell for sure what it was
from find3.
Related Issues (20)
- [Docker] No EntryPoint defined in Dockerfile HOT 2
- sum of percentage HOT 1
- internalpositioning.com is unreachable HOT 3
- Broken link on GitHub about section HOT 1
- couldnt find getting magnetic data in android app find3 HOT 1
- single quote in device name breaks sql queries HOT 1
- How often does a push notifications to MQTT happen? HOT 1
- broken link in repo about tab HOT 1
- Unable to see any raw data
- Suggestion / Improvement HOT 2
- Why ? HOT 1
- Using multiple raspberry pi's to monitor the WiFi
- Feature request: Openhab compability
- Google Play, cannot find FIND3 HOT 2
- Markupsafe breaks with latest version of setuptools
- FIND3 scanner app getting crashed
- Location Error
- Need information
- find3 like a Wifi Heat Map
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from find3.