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

Bad url generated for some rest requests #2595

Closed
hc4 opened this Issue Aug 3, 2016 · 2 comments

Comments

Projects
None yet
3 participants
@hc4
Contributor

hc4 commented Aug 3, 2016

Problem description

I've confIgured graylog with this options:

rest_listen_uri = http://0.0.0.0:80/
web_listen_uri = http://0.0.0.0:80/web
rest_transport_uri = http://graylog/

Then some xhr request will be generated with bad url. For examle:
image

Environment

  • Graylog Version: 2.1.0-beta2
@hc4

This comment has been minimized.

Contributor

hc4 commented Aug 3, 2016

Fixed it with:

rest_listen_uri = http://0.0.0.0:80/
web_listen_uri = http://0.0.0.0:80/web
rest_transport_uri = http://127.0.0.1:80/
web_endpoint_uri =

It seems that port in rest_transport_uri is required

@joschi joschi self-assigned this Aug 3, 2016

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

Use HTTP and HTTPS default ports for network settings (#2605)
* Use HTTP and HTTPS default ports for *_uri settings
* Add new default port handling for config settings to upgrade notes

Refs #2595
@kroepke

This comment has been minimized.

Member

kroepke commented Aug 8, 2016

fixed by #2605

@kroepke kroepke closed this Aug 8, 2016

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