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

Not able to initiate learn command #203

Open
rpandey91 opened this issue Jan 10, 2018 · 0 comments
Open

Not able to initiate learn command #203

rpandey91 opened this issue Jan 10, 2018 · 0 comments

Comments

@rpandey91
Copy link

rpandey91 commented Jan 10, 2018

I have setup a server using docker. mosquitto, rftcp, findserver are running as per the docker output. But when I'm trying to learn the finger print from using cluster, it is returning html content of the login page. I have enter x.x.x.x:18003 as LF server, where x.x.x.x is my public IP.

Also, i am able to create a group and learn the finger print using android device.

I'm starting cluster using following command

python3 cluster.py learn -u 40:4E:36:1C:12:QC -l location1

Error

〈!DOCTYPE html〉
〈html〉
〈head〉
〈meta charset=utf-8 /〉
〈title〉FIND〈/title〉
〈link rel="shortcut icon" sizes="16x16 24x24 32x32 48x48 64x64" href="/static/img/favicon.ico" /〉
〈meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' /〉
〈script src="/static/js/jquery-2.0.0.min.js"〉〈/script〉
〈script src='/static/js/bootstrap.js'〉〈/script〉
〈link href="/static/css/bootstrap.min.css" rel="stylesheet"〉
〈link href="/static/css/2-col-portfolio.css" rel="stylesheet"〉
〈link rel="stylesheet" href="/static/font-awesome-4.3.0/css/font-awesome.min.css"〉
〈link rel="stylesheet" href="/static/css/main-landing.css"〉
〈meta name="author" content="Zack Scholl"〉
〈meta name="description" content="" /〉
〈/head〉
〈body〉
〈div class="wrapper"〉
〈header〉
〈div class="logo-container"〉
〈a class="logo" href="" style="background-image: url('/static/img/compass.png')"〉〈/a〉
〈/div〉
〈div class="author-container"〉
〈h1〉FIND〈/h1〉〈/div〉
〈div class="tagline-container"〉
〈p〉A Framework for Internal Navigation and Discovery〈/p〉
〈center〉
〈p align="left"〉Download 〈a href='https://play.google.com/store/apps/details?id=com.hcp.find'〉the Android app〈/a〉〈br〉or〈br〉
Download 〈a href='https://github.com/schollz/find/releases/tag/v0.4client'〉the CLI client〈/a〉〈br〉 to get started.〈/p〉
〈/center〉
〈/div〉
〈/header〉
〈main〉
〈div class="content"〉
〈form action='/login' method='POST'〉
〈input type='text' class="form-control input-lg" name='group' id='group' placeholder='Enter your group' autofocus〉〈/input〉
〈/form〉
〈br〉
〈div class="alert alert-danger" role="alert"〉
Please login first.
〈/div〉
〈/div〉
〈/main〉
〈/div〉
〈/body〉
〈/html〉

Please help

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

1 participant