sflow-RT server is returning 302

31 views
Skip to first unread message

Atul Gupta

unread,
Apr 28, 2025, 9:55:30 AMApr 28
to sFlow-RT
Hi,

I installed sflow-RT but when i am trying to access user interface its returning error code 302.

singtel@sFlow-vm:/usr/local$ systemctl status sflow-rt

sflow-rt.service - InMon sFlow-RT real-time sFlow analyzer

     Loaded: loaded (/lib/systemd/system/sflow-rt.service; enabled; vendor preset: enabled)

     Active: active (running) since Mon 2025-04-28 09:11:22 UTC; 2min 53s ago

       Docs: https://sflow-rt.com/

   Main PID: 1265 (java)

      Tasks: 35 (limit: 4646)

     Memory: 113.7M

        CPU: 2.724s

     CGroup: /system.slice/sflow-rt.service

             └─1265 java -Xms1G -Xmx1G -XX:+UseG1GC -XX:+UseStringDeduplication -XX:MaxGCPauseMillis=100 -XX:+ExitOnOutOfMemoryError -Dsystem.propertyFiles=conf.d/sflow-rt.conf -jar ./l>


Apr 28 09:11:22 sFlow-vm systemd[1]: Started InMon sFlow-RT real-time sFlow analyzer.

singtel@sFlow-vm:/usr/local$

singtel@sFlow-vm:/usr/local$ curl http://localhost:8008 -v

*   Trying 127.0.0.1:8008...

* Connected to localhost (127.0.0.1) port 8008 (#0)

> GET / HTTP/1.1

> Host: localhost:8008

> User-Agent: curl/7.81.0

> Accept: */*

>

* Mark bundle as not supporting multiuse

< HTTP/1.1 302 Found

< Date: Mon, 28 Apr 2025 09:14:23 GMT

< Location: http://localhost:8008/html/index.html

< Content-Length: 0

<

* Connection #0 to host localhost left intact

singtel@sFlow-vm:/usr/local$

singtel@sFlow-vm:/usr/local$


Regards

Atul

Peter Phaal

unread,
Apr 28, 2025, 10:05:50 AMApr 28
to sFlow-RT
By default, curl doesn't follow redirects. Add the -L option to follow the redirect and retrieve the /html/index.html page.

A simpler way to check your installation is to use the REST API to get the sFlow-RT version:

You might find the Getting Started guide helpful - it's easier to start with sFlow-RT applications before trying to use the APIs.

Reply all
Reply to author
Forward
0 new messages