Skip to content

fetchRemote times out for local data when the MTA server is bound to multiple ips #4538

@Brophy

Description

@Brophy

Describe the bug

Using multiple comma-separated IPs in the <serverip> block causes fetchRemote to time out with Status Code 28 when used on local or LAN data.

This does not seem to be an issue when the <serverip> block is set to auto.

Steps to reproduce

  1. Define multiple IPs in <serverip> block in mtaserver.conf
  2. Use fetchRemote to get local HTTP data (not tested with https)

Version

MTA:SA Server, Linux, 1.6.0-9.23285.0

Additional context

The HTTP data is served by nginx
The call works using a command-line curl command on the same machine

Security Policy

  • I have read and understood the Security Policy and this issue is not security related.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions