February 19, 2019, 3:04pm
After upgrade my api-browser shows like this:
I can curl results just fine either from
graylog.mysite.fi(:80) or directly from node like 10.1.31.55:9000. Which setting have I misconfigured?
some of the relevant configs:
http_bind_address = 10.1.31.55:9000
# Default: http://$http_bind_address/
#http_publish_uri = http://192.168.1.1:9000/
# Default: $http_publish_uri
http_external_uri = http://graylog.mysite.fi/ <-- LB address, cluster with 5 nodes, LB balances to port 9000 on the nodes
so the api-browser links from the Nodes-page point to relevant nodes and seem right but the page shows like the picture on top.
Huh, odd because I have the same setup on my 3 node cluster, and I loadbalance with nginx - and the API browser works for me. You may want to check that all nodes have the proper http_bind_address and external_uri settings and that your loadbalancer adds the X-Graylog-Server header properly (in 2.5 you had to add /api to the end, in 3.0 you have to leave it off).
February 20, 2019, 8:43am
I commented that line out and restarted nodes, now I can use REST API also from webUI.
Maybe I somehow misunderstood the server.conf changes/guide… That the new config is that much less complicated
Hei, mitä kuuluu?
Funnily enough your situation seems quite similar to this recent thread:
That also revolved around the various URIs set in the server conf.
February 20, 2019, 11:08am
That the new config is that much less complicated
Thats why we added the
simplified configuration - to make the product more usable and understandable.
February 21, 2019, 3:24pm
Hei, mitä kuuluu?
This problem is solved as stated, your link has different version server.conf (2.x), things changed in 3.0.
Anyway replied to this mainly because the finnish I spotted ;).
True true, but apparently the URI configs are finnicky when it comes to the API and/or proxies. Great that it’s working!
Minun äiti on suomalainen
March 7, 2019, 11:10pm
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.