Skip to content

[reverse proxy] Cannot save Device ChangesΒ #1394

@luckylinux

Description

@luckylinux

What installation are you running?

Dev (netalertx-dev) πŸ‘©β€πŸ’»

Is there an existing issue for this?

The issue occurs in the following browsers. Select at least 2.

  • Firefox
  • Chrome
  • Edge
  • Safari (unsupported) - PRs welcome
  • N/A - This is an issue with the backend

Current Behavior

(Split-off from #1390 (comment))

Accessing a Device Details and trying to save is broken, as it tries to query directly the non-proxied (and blocked by Firewall) GRAPHQL_PORT instead of the BACKEND_API_URL:

https://netalertx-fedora.MYDOMAIN.TLD:20219/device/<mac_address_encoded>

I'll try to dig a bit into this Tomorrow and open some more Issue about it, then we can address it πŸ‘.

Logs will be provided later when I'll have some Time to dig into this.

Expected Behavior

Device Changes can be saved successfully.

Steps To Reproduce

No response

Relevant app.conf settings

docker-compose.yml

Debug or Trace enabled

  • I have read and followed the steps in the wiki link above and provided the required debug logs and the log section covers the time when the issue occurs.

Relevant app.log section

  PASTE LOG HERE. Using the triple backticks preserves format.

Docker Logs

  PASTE DOCKER LOG HERE. Using the triple backticks preserves format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions