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

Graylog2 provides wrong API URI after upgrade to 2.1 beta3 #2680

Closed
JTabel opened this Issue Aug 15, 2016 · 0 comments

Comments

Projects
None yet
4 participants
@JTabel

JTabel commented Aug 15, 2016

Expected Behavior

Graylog 2 should provide the API URI with https, if rest_transport_uri is set with https URI.

Current Behavior

Today I tried upgrading from Graylog 2.1 beta-2 to beta-3 without changing any settings. Currently our rest_transport_uri is set to https://graylog:443 and it worked fine for every version until beta-3.

We use SSL Offloading with a A10 loadbalancer and the API and Web endpoint of graylog do not use SSL themselves, so web_enable_tls is not set. They are available via different DNS names, and do not use the same IP address on the loadbalancer, but use the same servers. When upgrading to beta-3, I get an error message on the web interface, that the graylog-server could not connect to the API endpoint "http://graylog:443". So it changes https to http, which is not working. Removing the 443 results in a HTTP code 301, since it automatically redirects to https, but this is also not working for me.

I am not quite sure if this is an issue with the new beta version and URI handling, or if this is simply a config error on my side.

Steps to Reproduce (for bugs)

  1. set rest_transport_uri to https://
  2. do not have tls enabled for graylog, use SSL offloading
  3. upgrade to beta-3
  4. browse the webfrontend

Context

Since I was testing on a preview instance, there was no real impact and reverting to beta-2 fixed the issue for me. We plan on upgrading our live environment to 2.1 once it has a stable release.

Your Environment

  • Graylog Version: Graylog 2.1.0-beta.2+ffa3355 and Graylog 2.1.0-beta.3+b817da4
  • Elasticsearch Version: 2.3.2
  • MongoDB Version: 3.0.7
  • Operating System: Ubuntu 14.04
  • Browser version: Chrome 52.0.2743.116 (64-bit)

@bernd bernd added this to the 2.1.0 milestone Aug 15, 2016

@bernd bernd added S2 P2 bug labels Aug 15, 2016

@joschi joschi self-assigned this Aug 17, 2016

joschi added a commit that referenced this issue Aug 17, 2016

@bernd bernd closed this in #2704 Aug 19, 2016

bernd added a commit that referenced this issue Aug 19, 2016

@kroepke kroepke added triaged and removed triaged labels Sep 21, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment