# \[Networking\] Client failed to loadmap and then disconnects

**URL:** <https://forums.unrealengine.com/t/networking-client-failed-to-loadmap-and-then-disconnects/385203>\
**Category:** Multiplayer & Networking\
**Tags:** Networking, connection, unreal-engine, question\
**Created:** [February 17, 2017, 4:58am UTC](https://forums.unrealengine.com/t/networking-client-failed-to-loadmap-and-then-disconnects/385203 "2017-02-17T04:58:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jayderyu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jayderyu](https://forums.unrealengine.com/u/jayderyu)\
**Post date:** [February 17, 2017, 4:58am UTC](https://forums.unrealengine.com/t/networking-client-failed-to-loadmap-and-then-disconnects/385203/1 "2017-02-17T04:58:06Z")

</div>

Hello, I’m having difficulties getting my client to connect to the server.

My game has 1 host computer and other plays join. I had difficulties with the NAT before, but I wrote a NAT punchthrough system and now I’m getting very good signs that it’s very close to working. The host computer recieves the IP of a client, and then sends a message to the client to map the router for the punch through. ok that seems to work 🙂

My current problem is that my host sees the client trying to connect. but it something is causing it to fail. Either the server is ending up denying the client, or the client is failing to finalize the connection… or maybe I’m just missing something.

I’ve grabbed my server logs. i’ve xxxxx out personal info such as IP.

UGameSparksModuleLog: WebSocket callback: {"@class":".ScriptMessage",“data”:{ “event” : “nat\_punch” , “info” : “[CLIENT\_IP]”},“messageId”:“58a678190a45b30567720cc7”,“notification”:false,“playerId”:“xxxxxxxxx”,“summary”:“ScriptMessage”}

LogBlueprintUserMessages: [TopDownGameMode\_C\_0] Server: WebSocket callback: {"@class":".ScriptMessage",“data”:{ “event” : “nat\_punch” , “info” : “[CLIENT\_IP]”},“messageId”:“58a678190a45b30567720cc7”,“notification”:false,“playerId”:“xxxxxxxxx”,“summary”:“ScriptMessage”}

LogBlueprintUserMessages: [TopDownGameMode\_C\_0] Server: GameSparksScriptData\_311

LogBlueprintUserMessages: [TopDownGameMode\_C\_0] Server: [CLIENT\_IP]:7777

LogHandshake: SendConnectChallenge. Timestamp: 8.914593, Cookie: 167092154194135182191035212094031028114012003071197157149004

**LogNet: Server accepting post-challenge connection from: [CLIENT\_IP]:49692**

PacketHandlerLog: Loaded PacketHandler component: Engine.EngineHandlerComponentFactory (StatelessConnectHandlerComponent)

LogNet: NotifyAcceptedConnection: Name: TrainingMap, TimeStamp: 02/16/17 20:12:13, [UNetConnection] RemoteAddr: [CLIENT\_IP]:49692, Name: IpConnection\_14, Driver: GameNetDriver IpNetDriver\_21, IsServer: YES, PC: NULL, Owner: NULL

LogNet: AddClientConnection: Added client connection: [UNetConnection] RemoteAddr: [CLIENT\_IP]:49692, Name: IpConnection\_14, Driver: GameNetDriver IpNetDriver\_21, IsServer: YES, PC: NULL, Owner: NULL

**LogNet: NotifyAcceptingChannel Control 0 server World /Game/TopDownBP/Maps/UEDPIE\_0\_TrainingMap.TrainingMap: Accepted**

LogNet: Remote platform little endian=1

LogNet: This platform little endian=1

**LogNet: Login request: /Game/TopDownBP/Maps/MainMenu?Name=localhost-00020E9A26021310000901093E7BC993 userId: Invalid**

LogNet: Client netspeed is 10000

LogNet: UChannel::ReceivedSequencedBunch: Bunch.bClose == true. ChIndex == 0. Calling ConditionalCleanUp.

LogNet: UChannel::CleanUp: ChIndex == 0. Closing connection. [UChannel] ChIndex: 0, Closing: 0  
**[UNetConnection] RemoteAddr: [CLIENT\_IP]:49692, Name: IpConnection\_14, Driver: GameNetDriver IpNetDriver\_21, IsServer: YES, PC: NULL, Owner: NULL**

**LogNet: UNetConnection::Close: [UNetConnection] RemoteAddr: [CLIENT\_IP], Name: IpConnection\_14, Driver: GameNetDriver IpNetDriver\_21, IsServer: YES, PC: NULL, Owner: NULL, Channels: 2, Time: 2017.02.17-04.12.18**

LogNet: UChannel::Close: Sending CloseBunch. ChIndex == 0. Name: [UChannel] ChIndex: 0, Closing: 0 [UNetConnection] RemoteAddr: [CLIENT\_IP]:49692, Name: IpConnection\_14, Driver: GameNetDriver IpNetDriver\_21, IsServer: YES, PC: NULL, Owner: NULL

LogNet: UNetDriver::TickDispatch: Very long time between ticks. DeltaTime: 0.01, Realtime: 10.71. IpNetDriver\_21

As you can see the logs start very promising as I’ve bolded them. And then they start disconnecting. so I’m very close, but something is failing.

Here are the logs from the client trying to connect to the server. It seems that it’s failing to load the map. But i’m not sure how to resolve this.

LogBlueprintUserMessages: [MainMenu\_C\_0] open [HOST\_IP\_ADDRESS]  
LogNet: Browse: [HOST\_IP\_ADDRESS]//Game/TopDownBP/Maps/MainMenu  
LogInit: BSD\_Android: Socket queue 65536 / 65536  
LogInit: BSD\_Android: I am localhost (127.0.0.1:0)  
LogSockets: (BSD\_Android) Adapter IP 25.176.29.11  
PacketHandlerLog: Loaded PacketHandler component: Engine.EngineHandlerComponentFactory (StatelessConnectHandlerComponent)  
LogNet: Game client on port 7777, rate 10000  
LogNetVersion: GetLocalNetworkVersion: CL: 3195953, ProjectName: spycaper, ProjectVersion: 0.0.0.1, EngineNetworkVersion: 2, GameNetworkVersion: 0, NetworkChecksum: 4294748156  
LogNet: UPendingNetGame::InitNetDriver: Sending hello. [UNetConnection] RemoteAddr: [HOST\_IP\_ADDRESS]:7777, Name: IpConnection\_0, Driver: PendingNetDriver IpNetDriver\_0, IsServer: NO, PC: NULL, Owner: NULL  
LogHandshake: SendChallengeResponse. Timestamp: 7.680343, Cookie: 136212134247119174081167000150102010007088015154070166013136  
LogHandshake: SendChallengeResponse. Timestamp: 8.013679, Cookie: 177051013201128093203032055001152065066213072047180093122207  
LogHandshake: SendChallengeResponse. Timestamp: 8.013679, Cookie: 177051013201128093203032055001152065066213072047180093122207  
02-16 20:45:18.449: D/UE4(18970): LogOnline:Warning: FOnlineSubsystemGooglePlayModule was disabled  
LogOnline:Warning: FOnlineSubsystemGooglePlayModule was disabled  
LogNet: Welcomed by server (Level: /Game/TopDownBP/Maps/UEDPIE\_0\_TrainingMap, Game: /Game/TopDownBP/Blueprints/TopDownGameMode.TopDownGameMode\_C)  
LogLoad: LoadMap: [HOST\_IP\_ADDRESS]//Game/TopDownBP/Maps/UEDPIE\_0\_TrainingMap?game=/Game/TopDownBP/Blueprints/TopDownGameMode.TopDownGameMode\_C

LogLinker:Warning: Can’t find file ‘/Game/TopDownBP/Maps/UEDPIE\_0\_TrainingMap’  
LogLinker:Warning: Can’t find file ‘/Game/TopDownBP/Maps/UEDPIE\_0\_TrainingMap’  
LogUObjectGlobals:Warning: Failed to load ‘/Game/TopDownBP/Maps/UEDPIE\_0\_TrainingMap’: Can’t find file ‘/Game/TopDownBP/Maps/UEDPIE\_0\_TrainingMap’  
LogUObjectGlobals:Warning: Failed to load ‘/Game/TopDownBP/Maps/UEDPIE\_0\_TrainingMap’: Can’t find file ‘/Game/TopDownBP/Maps/UEDPIE\_0\_TrainingMap’

LogLoad: Game class is ‘TopDownGameMode\_C’  
LogWorld: Bringing World /Game/TopDownBP/Maps/MainMenu.MainMenu up for play (max tick rate 0) at 2017.02.16-20.45.19  
LogWorld: Bringing up level for play took: 0.002319  
LogOnline:Warning: FOnlineSubsystemGooglePlayModule was disabled  
LogOnline:Warning: FOnlineSubsystemGooglePlayModule was disabled  
LogGameMode: Warning - PATHS NOT DEFINED or NO PLAYERSTART with positive rating  
LogLoad: Took 0.225637 seconds to LoadMap(/Game/TopDownBP/Maps/MainMenu)  
LogNet:Warning: Travel Failure: [LoadMapFailure]: Failed to load package ‘/Game/TopDownBP/Maps/UEDPIE\_0\_TrainingMap’  
LogNet:Warning: Travel Failure: [LoadMapFailure]: Failed to load package ‘/Game/TopDownBP/Maps/UEDPIE\_0\_TrainingMap’  
LogNet: TravelFailure: LoadMapFailure, Reason for Failure: ‘Failed to load package ‘/Game/TopDownBP/Maps/UEDPIE\_0\_TrainingMap’’  
LogNet: UNetConnection::Close: [UNetConnection] RemoteAddr: [HOST\_IP\_ADDRESS]:7777, Name: IpConnection\_0, Driver: PendingNetDriver IpNetDriver\_0, IsServer: NO, PC: NULL, Owner: NULL, Channels: 2, Time: 2017.02.17-04.45.19  
LogNet: UChannel::Close: Sending CloseBunch. ChIndex == 0. Name: [UChannel] ChIndex: 0, Closing: 0 [UNetConnection] RemoteAddr: 205.250.233.202:7777, Name: IpConnection\_0, Driver: PendingNetDriver IpNetDriver\_0, IsServer: NO, PC: NULL, Owner: NULL

LogAIModule: Creating AISystem for world MainMenu  
LogLoad: Game class is ‘TopDownGameMode\_C’  
LogWorld: Bringing World /Game/TopDownBP/Maps/MainMenu.MainMenu up for play (max tick rate 0) at 2017.02.16-20.45.19  
LogWorld: Bringing up level for play took: 0.002228  
LogOnline:Warning: FOnlineSubsystemGooglePlayModule was disabled  
LogOnline:Warning: FOnlineSubsystemGooglePlayModule was disabled  
LogGameMode: Warning - PATHS NOT DEFINED or NO PLAYERSTART with positive rating  
LogLoad: Took 0.206379 seconds to LoadMap(/Game/TopDownBP/Maps/MainMenu)

---

<div class="post-metadata">

**Author:** ![jayderyu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jayderyu](https://forums.unrealengine.com/u/jayderyu)\
**Post date:** [February 17, 2017, 1:44pm UTC](https://forums.unrealengine.com/t/networking-client-failed-to-loadmap-and-then-disconnects/385203/2 "2017-02-17T13:44:25Z")

</div>

Found the problem. Use standalone player, not PIE player. This resolved the map naming issue.
