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

localhost reports HTTP error 400: Invalid endpoint #3

Open
danindiana opened this issue Jul 1, 2017 · 0 comments
Open

localhost reports HTTP error 400: Invalid endpoint #3

danindiana opened this issue Jul 1, 2017 · 0 comments

Comments

@danindiana
Copy link

OK...so I seem to have gotten it (Lemongrenade and Lemongraph) up and running but when I direct my browser to localhost:8000 I get:
{"reason":"Bad Request","code":400,"message":"Invalid endpoint: /"}
screenshot from 2017-07-01 00 23 18

Not sure what the error 400 endpoint is all about but I'm sure I've got something misconfigured.

$python -mLemonGraph.server -i 127.0.0.1 -p 8000 -l info -s
2017-07-01 00:14:32 CDT LemonGraph.httpd(6416).INFO: +master(6416): listening on 127.0.0.1:8000
2017-07-01 00:14:32 CDT LemonGraph.httpd(6416).INFO: +worker(6422): spawned
2017-07-01 00:14:32 CDT LemonGraph.httpd(6416).INFO: +worker(6423): spawned
2017-07-01 00:14:32 CDT LemonGraph.httpd(6416).INFO: +worker(6424): spawned
2017-07-01 00:14:32 CDT LemonGraph.httpd(6416).INFO: +worker(6425): spawned
2017-07-01 00:14:32 CDT LemonGraph.httpd(6416).INFO: +worker(6426): spawned
2017-07-01 00:14:32 CDT LemonGraph.httpd(6416).INFO: +worker(6427): spawned
2017-07-01 00:14:32 CDT LemonGraph.httpd(6416).INFO: +worker(6428): spawned
2017-07-01 00:14:32 CDT LemonGraph.httpd(6416).INFO: +worker(6429): spawned
2017-07-01 00:14:32 CDT LemonGraph.httpd(6416).INFO: +syncd(6430): spawned
2017-07-01 00:14:32 CDT LemonGraph.collection(6430).INFO: using 1000 max open graphs
2017-07-01 00:14:39 CDT LemonGraph.httpd(6429).INFO: GET /
2017-07-01 00:14:39 CDT LemonGraph.httpd(6429).INFO: HTTP error 400: Invalid endpoint: /

Running LemonGraph.server

$python -m LemonGraph.server
deps/lmdb/libraries/liblmdb/mdb.c: In function ‘mdb_page_dirty’:
deps/lmdb/libraries/liblmdb/mdb.c:2376:6: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable]
int rc, (*insert)(MDB_ID2L, MDB_ID2 *);
^
2017-06-30 23:48:49 CDT LemonGraph.httpd(3565).INFO: +master(3565): listening on 127.0.0.1:8000
2017-06-30 23:48:49 CDT LemonGraph.httpd(3565).INFO: +worker(3616): spawned
2017-06-30 23:48:49 CDT LemonGraph.httpd(3565).INFO: +worker(3617): spawned
2017-06-30 23:48:49 CDT LemonGraph.httpd(3565).INFO: +worker(3618): spawned
2017-06-30 23:48:49 CDT LemonGraph.httpd(3565).INFO: +worker(3619): spawned
2017-06-30 23:48:49 CDT LemonGraph.httpd(3565).INFO: +worker(3620): spawned
2017-06-30 23:48:49 CDT LemonGraph.httpd(3565).INFO: +worker(3621): spawned
2017-06-30 23:48:49 CDT LemonGraph.httpd(3565).INFO: +worker(3622): spawned
2017-06-30 23:48:49 CDT LemonGraph.httpd(3565).INFO: +worker(3623): spawned
2017-06-30 23:48:49 CDT LemonGraph.httpd(3565).INFO: +syncd(3624): spawned
2017-06-30 23:48:49 CDT LemonGraph.collection(3624).INFO: using 1000 max open graphs
2017-07-01 00:12:09 CDT LemonGraph.httpd(3623).INFO: GET /favicon.ico
2017-07-01 00:14:39 CDT LemonGraph.httpd(3623).INFO: GET /favicon.ico

Also running Apache storm nimbus, storm supervisor, and storm UI.

screenfetch
./+o+- speed@speed-desktop
yyyyy- -yyyyyy+ OS: ubuntu Ubuntu 14.04 trusty
://+//////-yyyyyyo Kernel: x86_64 Linux 3.13.0-123-generic
.++ .:/++++++/-.+sss/ Uptime: 3h 48m .:++o: /++++++++/:--:/- Packages: 4167 o:+o+:++...```.-/oo+++++/ Shell: bash 4.3.11
.:+o:+o/. +sssoo+/ Resolution: 1920x1080 .++/+:+oo+o: /sssooo. DE: Gnome 3.9.90
/+++//+:`oo+o /::--:. WM: GNOME Shell
+/+o+++`o++o ++////. WM Theme: Adwaita
.++.o+++oo+:` /dddhhh. GTK Theme: Radiance [GTK2/3]
.+.o+oo:. `oddhhhh+ Icon Theme: elementary-xfce-darker
+.++o+o``-````.:ohdhhhhh+ Font: Cantarell 11
`:o+++ `ohhhhhhhhyo++os: CPU: AMD FX-8350 Eight-Core @ 4GHz
.o:`.syhhhhhhh/.oo++o` GPU: GeForce GTX 750 Ti
/osyyyyyyo++ooo+++/ RAM: 7675MiB / 24011MiB
````` +oo+++o:
`oo++.

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