Cant connect when NAT punch is enabled.

Options

Hi!

I am having a huge trouble with NAT punchthrough. Lets say I host a session in my game, my friend tries to connect.

I see in my Photon Debugger that "Player 2 connected", but after 20 or 30 seconds, I get this message "Player 2 disconnected, current master client is Player 1" or something like that.

When I disable NAT punch it works, but very very laggy and unreliable.

Anyone has a fix for this? I am hopeless at this point.

Thank you in advance,

ReVv

Answers

  • ramonmelo
    Options

    Hi @ReVv


    Which SDK version are you using?

    You can read more info about an issue we had with connectivity a while ago here: https://doc.photonengine.com/en-us/bolt/current/getting-started/overview

    You can also send us an email, so we can forward a patched version of the SDK.

    --

    Ramon Melo

    Photon Bolt Team

  • ReVv
    Options

    Dear @ramonmelo,

    Thank you for your answer. I thought of this and upgraded from 1.3 to 1.3.1, but the issue is still there.

    Also noticed that when I create or join a session it always says "[STUN]: Request fail"

    Guess thats not a good sign either

  • ramonmelo
    Options

    Hi @ReVv


    Can you send us the logs from your server/clients via email so we can take a better look?

    Email: developer@photonengine.com


    --

    Ramon Melo

    Photon Bolt Team

  • ReVv
    Options

    Hi @ramonmelo

    I have sent you the email.

    Thanks in advance,

    ReV