Error after connecting to the server

My friend and I wanted to play, everything works fine for him,no errors were thrown, when I connect to the server, I get an error this error:

I can see his car moving, but he can’t see me doing it, my friend even removed all the mods, but it didn’t help.
here is the error text that was there:

Fatal Lua Error
string
"lua/ge/extensions/MPGameN etwork.lua 308: attempt to call a nil value Stack Traceback >> START >>
(1) C function function: 0x022365be20d0' (2) Lua local 'func' at line 308 of chunk lua/ge/extensions/MPGameNe twork.lua' dt = number: 0.0199587 received = string64:""

How are you connecting to the server? Are you using a private network like radmin?

Yes, we need use other?

Please do not use such VPN, they tend to break BeamMP. You can either port forward, purchase a server from a hosting provider or use a forwarding service like https://playit.gg/. Please note that the latter is not officially supported, therefore I can’t help you with setting it up.

For port forwarding or partnered/recommended hosting providers please see Server Installation - BeamMP Docs