Comments (6)
we are running a server with EFF and it has worked. Can you first check if the key is authorized in the database? (you need to manually authorize each api key from the server.)
from crocodilehunter.
I think what’s happening is a portion is working, however I did have to go change the client api to http and not https because I was getting ssl or mismatch something errors.. once I switched it to http I was able to register and get a key which I confirmed ended up in the config file of the client.
However, after I went and command line dug into the MySQL/marinaDB on the server side I quickly found it was not actually entering any information into any of the api tables. The only thing that was happening is that on the server side if I started and used CH it was in fact populating the db, but nothing was getting populated from the client even though it all appeared to be working.
from crocodilehunter.
I’ll check the database again, assuming you mean the key is entered into the db on the server side? If that’s the case I recall checking all api tables and really all tables and not seeing the key or anything from the client anywhere.
from crocodilehunter.
Oh wait, now I think I see what you’re saying. When I do the sign up on the client end it generates a key and applies it to the config file. I guess I assumed that key would at the same time be entered in on the server side. That must be the part I’m missing. Just manually go and enter that key into the db?
from crocodilehunter.
I tried it out again. I notice now and maybe I wasn’t looking at it correctly last time, but now I can sign up to the server. I assumed the the CH_project variable would have to do with how the data is saved on the server to recall say the project later on the server with map only.
However, I see after signing up that back on the server I check the database and find an entry called crocodilehunter_api and under this table I can see the api users/api towers etc. I check api users and sure enough there’s the api key for the client already there. I go back to the client and push tower with the ch_project specified as default.
I come back to the server and can tower see the nine tower entries under the same crocodilehunter_api table within the api towers section. So that appear to work.
Maybe I’m misunderstanding, but I thought the towers would get saved on the server as the “default” project. Right now that’s not what I’m seeing and if I try to open crocodilehunter_api as the project name I do not see the relevant data I’ve pushed over from the client on the server api map side. Maybe I’m misunderstanding how this all should work.
from crocodilehunter.
yea no you have it now. It's funny because I'm actually helping someone else out with crocodile hunter now and they are running into all the same bugs. So yea the api data gets sent to a table called api_towers. And there is no good UI to view the data, you just have to view it in mysql.
The entire API was an afterthought that was written in 1 day and I think I need to build a nice dashboard for it and fix some pretty severe bugs. This will be my top priority in crocodile hunter with work going on here in #119
from crocodilehunter.
Related Issues (20)
- (Request) Croc Hunter + Cesium HOT 6
- Parsing System Information block 1 raw data HOT 1
- aarch64 support HOT 7
- API Improvements HOT 1
- Unknown column 'tower_data.api_key' in 'field list' HOT 3
- Qz
- Crocodilehunter
- no gps fix detected... aborting HOT 7
- Palm Springs / Coachella Valley
- Error creating objects in the database HOT 5
- Wigle API connection HOT 1
- Detect fake 2G/3G bts also
- Dead Link
- GPS pip and python 3.10 on Kali HOT 1
- (1048, "Column 'api_key' cannot be null") HOT 1
- RTL-SDR compatibility? HOT 1
- can't get fcc tower list HOT 2
- srsLTE compile error
- Croc
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 crocodilehunter.