# Received control channel close before open when connect to dedicated server

**URL:** <https://forums.unrealengine.com/t/received-control-channel-close-before-open-when-connect-to-dedicated-server/291291>\
**Category:** Multiplayer & Networking\
**Tags:** error, command-line-argumen, dedicated-server, unreal-engine, Multiplayer, question\
**Created:** [August 18, 2014, 3:11am UTC](https://forums.unrealengine.com/t/received-control-channel-close-before-open-when-connect-to-dedicated-server/291291 "2014-08-18T03:11:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bm0nkey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bm0nkey](https://forums.unrealengine.com/u/bm0nkey)\
**Post date:** [August 18, 2014, 3:11am UTC](https://forums.unrealengine.com/t/received-control-channel-close-before-open-when-connect-to-dedicated-server/291291/1 "2014-08-18T03:11:01Z")

</div>

Hi guys,

We’re working on our **not big** multiplayer project, but if we need to package, it spend at least 10 minutes, and for our situation, test with PIE, is not so convenient.

So we want to use the editor plus command line to run the dedicated server(we don’t need listen server) and client, then we can get rid of waste time to wait package at developing moment.

We create two bat files to do it and we’re using Unreal Engine 4.2.1.

- run\_dedicated\_server.bat:  
`
\UE4Editor.exe %~dp0\MyTPS.uproject Example_Map?game=/Game/Blueprints/MyGame.MyGame_C -server -log
`

- run\_client.bat:  
`
\UE4Editor.exe %~dp0\MyTPS.uproject 192.168.1.132 -game
`

It works well on one computer, but when multiple computers connect to the dedicated server with run\_client.bat, we got this error :

`
LogNetTraffic:Error: UNetConnection::ReceivedPacket: Received control channel close before open
`

BTW, it works with a compiled(packaged) client.

Is there any way to fix that, thanks a lot!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_53648559](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_53648559](https://forums.unrealengine.com/u/anonymous_user_53648559)\
**Post date:** [September 2, 2014, 8:14pm UTC](https://forums.unrealengine.com/t/received-control-channel-close-before-open-when-connect-to-dedicated-server/291291/2 "2014-09-02T20:14:52Z")

</div>

Hi there,

Does this work at all when connecting from another client (like 1 server on a machine, and 1 client on another)?

Do you mind posting the server and client logs when this fails?

Thanks!

---

<div class="post-metadata">

**Author:** ![bm0nkey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bm0nkey](https://forums.unrealengine.com/u/bm0nkey)\
**Post date:** [September 4, 2014, 1:27am UTC](https://forums.unrealengine.com/t/received-control-channel-close-before-open-when-connect-to-dedicated-server/291291/3 "2014-09-04T01:27:07Z")

</div>

Hi John,

Thanks for reply!

When connecting from another client (like 1 server on a machine, and 1 client on another) , it just doesn’t work on UE 4.2.1.

I can post the log, but if you can reproduce it will more helpful 🙂 !

- Use Unreal Engine 4.2.1 create new project based on Blueprint Third Person Template, I name it MyTPS.

- Create bat files to launch dedicated server and client, put them under your project folder.  
run\_server.bat

run\_client.bat:

```
UE4Editor.exe %~dp0MyTPS.uproject 192.168.1.132 -game

```

- Connect from another client, just can’t connect to the server.

Thanks again.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9b6bb7781](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9b6bb7781](https://forums.unrealengine.com/u/anonymous_user_9b6bb7781)\
**Post date:** [December 2, 2014, 7:11pm UTC](https://forums.unrealengine.com/t/received-control-channel-close-before-open-when-connect-to-dedicated-server/291291/4 "2014-12-02T19:11:43Z")

</div>

We are experiencing the exact same problem with UE4.5.1. Anyone have solved it?  
For further informations about the issue here’s the Log:

link text

Thanks
