x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Received control channel close before open when connect to dedicated server

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!

Product Version: Not Selected
Tags:
more ▼

asked Aug 18 '14 at 03:11 AM in Using UE4

avatar image

bm0nkey
26 2 6 5

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

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!

more ▼

answered Sep 02 '14 at 08:14 PM

avatar image bm0nkey Sep 04 '14 at 01:27 AM

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

    UE4Editor.exe %~dp0MyTPS.uproject Example_Map?game=/Game/Blueprints/MyGame.MyGame_C -server -log

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.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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

testproject.txt (25.8 kB)
more ▼

answered Dec 02 '14 at 07:11 PM

avatar image

Mr.Ferroni
1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question