Firebot icon indicating copy to clipboard operation
Firebot copied to clipboard

[Bug] Api Request log message shows "server" IP rather than "client" IP

Open dennisrijsdijk opened this issue 1 year ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

Firebot is running on machine A, API requests are made from machine B The info log info: API Request from: 192.168.10.230:7472, for path: /api/v1/status shows IP A, rather than IP B

Expected Behavior

the IP shown in the log line should be the IP of the machine making the API call (machine B), not the machine that hosts Firebot (machine A)

Steps To Reproduce

  1. Open Firebot on a computer
  2. Find the IP of the computer on the network (eg. ipconfig)
  3. Open the developer console in Firebot
  4. On a different machine, go to http://<ip>:7472/api/v1/status
  5. Look for the line "API request from..." and observe the IP is the Firebot computer's IP, not the client's IP

Version

5.62.1

What operating system are you using Firebot on?

Linux Distro, Windows 10

Relevant log output

No response

Contact Details (Optional)

No response

dennisrijsdijk avatar Apr 20 '24 08:04 dennisrijsdijk