Skip to content

Note about network settings #29603

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

Closed
tuxick opened this issue Oct 30, 2023 · 2 comments
Closed

Note about network settings #29603

tuxick opened this issue Oct 30, 2023 · 2 comments
Assignees

Comments

@tuxick
Copy link

tuxick commented Oct 30, 2023

Feedback

I found i needed to add IP of the ecowitt gateway to trusted_proxies like this:

http:
  use_x_forwarded_for: true
  trusted_proxies:
   - 127.0.0.1
   - ::1
   - 192.168.178.36

where nginx on localhost takes care of https proxying. Not sure if this is the ideal way but it works for me.
Not adding ip leads to error:
aiohttp.http_exceptions.BadStatusLine: 400, message: Bad status line "Invalid method encountered

URL

https://www.home-assistant.io/integrations/ecowitt/

Version

2023.10.5

Additional information

No response

@home-assistant
Copy link

Hey there @pvizeli, mind taking a look at this feedback as it has been labeled with an integration (ecowitt) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of ecowitt can trigger bot actions by commenting:

  • @home-assistant close Closes the feedback.
  • @home-assistant rename Awesome new title Renames the feedback.
  • @home-assistant reopen Reopen the feedback.
  • @home-assistant unassign ecowitt Removes the current integration label and assignees on the feedback, add the integration domain after the command.

@frenck
Copy link
Member

frenck commented Apr 16, 2025

Ho there @tuxick 👋

Thanks for your feedback, however, your suggestion is actually incorrect and not needed.

../Frenck

@frenck frenck closed this as completed Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants