DICE PACKS BUNDLE
  1. #1

    Weird LAN networking connectivity issue

    In LAN mode I am unable to connect to the server locally via WiFi, but can remotely via ethernet, or externally via port forwarding. This is very confusing! I can send UDP packets to the server, and even to fantasy grounds on the server when on the wifi, but the client doesn't connect and hangs at "Attempting direct connection to server".

    Both machines are macs.

    Attached is my compiled logs from the server. Of note in console.log is a null reference exception:
    [11/26/2024 2:27:41 PM] [WARNING] URL: System.TypeInitializationException: The type initializer for 'System.Net.ServicePointManager' threw an exception.

    On the client, console.log just says:
    [11/26/2024 3:55:44 PM] FGU: v4.6.0 FREE (2024-11-24)
    [11/26/2024 3:55:44 PM] OS: Mac OS X 15.1.1
    [11/26/2024 3:55:44 PM] GRAPHICS: Apple M1 Pro : 10922
    [11/26/2024 3:55:44 PM] UI SCALE: 1
    [11/26/2024 3:55:44 PM] USER: kasin
    [11/26/2024 3:55:44 PM] Launcher scene starting.
    [11/26/2024 3:55:54 PM] Attempting direct connection to server. [192.168.2.2:1802]

    Client network.log says:
    [11/26/2024 3:55:44 PM] FGU: v4.6.0 FREE (2024-11-24)
    [11/26/2024 3:55:44 PM] USER: kasin

    The server has 192.168.2.2 on the ethernet interface and 192.168.2.72 on the wifi interface

    Tests tried:
    0. Ping the server (192.168.2.2 and 192.168.2.72) from the client (192.168.2.186) on the LAN via IPv4 and IPv6 (both passed)
    1. Tried connecting FG via LAN IPv4 address (192.168.2.2) and IPv6 (both failed)
    2. Updated both server and client to latest release (still failed)
    3. Rebooted both client and server machine (still failed)
    4. Disabled firewalls (anti-virus not installed on either) (still failed)
    5. Launched the 5e tutorial campaign with no extensions loaded (still failed)
    6. tested network connectivity
    6a. Test UDP connectivity between client and server by running netcat on a different port (1803) on server to see if UDP packets arrive from client (passed)
    6b. Testing UDP connectivity from client to FG server by running netcat on client to connect to fantasy grounds running on port 1802 (connection not dropped, so looks like something was running on that port to receive the packets, but no response from server. The lack of response is unsurprising given I don't know the syntax to send.). (passed)
    7. Checked fantasy grounds on the server is running and listening on port 1802 for UDP with lsof (passed)
    7. Disabled VPN on both client and server machines (still failed)
    8. Tested client and server software works by connecting to server from outside the LAN using port forwarding (passed, so it is just the LAN)
    9. Completely clean install of both client and server by deleting all config and plists, deleting the application folder, downloading FG, and re-installing. (still failed)
    10. Checked the MAC address in the routing tables of both client and server correctly reflected the right routes and show they are directly connected at layer 2 (passed, I am getting desperate).
    11. Connect the client via ethernet to the same switch as the server (passed). This one is blowing my mind!!!
    12. Disable the WiFi interface on the server. (Still failed).

    I cannot work out how this is happening. Why can I get network connectivity, but FG won't connect except via ethernet?

    Any ideas?
    Last edited by kasin; Today at 09:32.

  2. #2

  3. #3
    Are you bridging/connecting the ethernet and wifi with the Mac, or is there some sort of "router" involved?

    I don't do Macs and haven't done Berkeley in a long time, but I'd focus at the packet filtering on the server wifi. I'd make sure when packet filtering is off on the mac that the default is to accept packets. When it's running, look at the rule list for the default and 1802.

    For testing, you can try to swap the server and client, and try a brokered connection (cloud server).

  4. #4
    Nope, just checked. Although why can I send UDP packets but FG won’t connect?

Thread Information

Users Browsing this Thread

There are currently 4 users browsing this thread. (2 members and 2 guests)

  1. kasin,
  2. nephranka

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Cosmere RPG Beta Launch

Log in

Log in