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

Bad url generated for some rest requests #2595

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

Bad url generated for some rest requests #2595

hc4 opened this issue Aug 3, 2016 · 2 comments
Assignees

Comments

@hc4
Copy link
Contributor

@hc4 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
Copy link
Contributor Author

@hc4 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 pushed a commit that referenced this issue Aug 3, 2016
@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 *_uri settings
* Add new default port handling for config settings to upgrade notes

Refs #2595
@kroepke
Copy link
Member

@kroepke 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants