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

Error "Not here." #7

Open
upstream-team opened this issue Sep 17, 2018 · 4 comments
Open

Error "Not here." #7

upstream-team opened this issue Sep 17, 2018 · 4 comments

Comments

@upstream-team
Copy link

Try go to http://localhost:8282/ -> redirect -> http://localhost:8282/server
Response body: Not here.

WTF?

@4lun
Copy link

4lun commented Sep 25, 2018

@upstream-nsk I just had the same issue. In my case it was because monitoring wasn't enabled on the server.

With my local instance, I was able to resolve it by running the server with:

go run nats-streaming-server.go -m 8222

@salisbury-espinosa
Copy link

salisbury-espinosa commented Dec 5, 2018

@upstream-nsk i have same issue in docker way...
so after build from source

git clone https://github.com/KualiCo/nats-streaming-console.git
cd nats-streaming-console
npm install
npm run build-css
npm run build
node server

everything is fixed
@tvalletta need update docker image

$ docker exec -ti nats-streaming-console_1 sh
/usr/src/app # cat ./server/nats-ss.js 
const { getInstance: getNerveInstance } = require('nats-nerve')

const defaults = {
  server: 'nats://localhost:4222',
  monitor: 'http://localhost:8222',
  cluster: 'test-cluster',
  appName: 'nats-streaming-console'
}

so nats-ss.js not load env variables for server, monitor and cluster
https://github.com/KualiCo/nats-streaming-console/blob/master/server/nats-ss.js#L4

@upstream-nsk use this https://hub.docker.com/r/mozgoo/nats-streaming-console/ (this is built on the top of master nats-streaming-console)
example configuration docker-compose:

version: '3'

services:
    nats-streaming-console:
      image: mozgoo/nats-streaming-console:latest
      environment:
        - STAN_URL=nats://nats-streaming:4222
        - STAN_MONITOR_URL=http://nats-streaming:8222
      ports:
        - 8282:8282

    nats-streaming:
      image: nats-streaming:0.11.2-linux
      ports:
        - 4222:4222
        - 8222:8222

@acro5piano
Copy link

I forked it and register to npm script as nats-monitor. This includes the latest build so you can use my fork.

https://github.com/acro5piano/nats-streaming-console

Thanks,

@ballcoach12
Copy link

FWIW, I got this error when I browsed to http://localhost:8282/server (I'm honestly not sure where I got the /server part). But it seems to work when I browse to http://locahost:8282/

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

5 participants