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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Clarity on UE4 network connections

Hi there

I would like to understand how and when UE4 establishes network connections in a packaged game (Shipping and Dev). I'd love a dev to shed some light into the following questions:

  • When does UE4 establish a network connection (To epicgames or anywhere else)?

  • For what purpose is the connection used?

  • How can I configure (turn on / off) the action leading to a network connection?

An overview of the above info in table format would be greatly appreciated.

Here's an example of an intercepted connection attempt:

199.255.40.68 Reverse DNS Name ec2.epicgames.com Established by /Users/mbo/Documents/Unreal Projects/RealisticRendering/MacNoEditor/Engine/Binaries/Mac/UE4Game-Mac-Shipping.app/Contents/MacOS/UE4Game-Mac-Shipping Process ID 55675

And here's an example (log entry) for such a connection attempt:

Here's the log excerpt I suspect to be relevant here:

[2014.04.07-14.28.03:197][ 3]LogEpicSurvey:Warning: EnumerateFiles request failed. Invalid response. code=403 error= AccessDeniedAccess DeniedF9D12941ABAF7CF7tQCLDqSZ6WY0t9KI1L7AjJVNIOP1HoLKFJL4EFVRZHKCm05hjRsLtZRT0H1GdE3ocpZx9UBl2Wk= [2014.04.07-14.28.03:245][ 4]LogHttp:Warning: connectionDidFinishLoading: 0x7fa4ca6cb980

The source seems to be "LogEpicSurvey". The 403 is probably due to my firewall blocking the request.

Cheers, Michael

Product Version: Not Selected
Tags:
more ▼

asked Apr 07 '14 at 01:47 PM in Packaging & Deployment

avatar image

Michael Boeni
1 4 7 7

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

1 answer: sort voted first

Hello IMX,

Sorry for the delay in responding. This is a pretty big and technical question so I had some of the Devs here take a look at the question and they were able to give lot's of information on the subject!

Here is a rundown of all the various services that could make connections that I can see so far:

HTTP subsystem

  • Uses standard http ports

  • Can be disabled by setting bEnableHttp to false in the
    engine.ini file: [HTTP]
    bEnableHttp=false

    • UDP Transport for UDP messaging system

  • UDP 6666 can be overridden in Engine.ini in the
    /Script/UdpMessagingSettings
    section.

  • It is currently not documented, but the available settings can be found
    in UUdpMessagingSettings

  • Can be disable by disabling the UDP messaging plug-in

    • Gameplay replication

UDP 7777 (but can be changed in the ini files) - These connections are initiated when you connect to another server, usually via the "open" console
command, or through UI in your game
that may drive this under the hood - LAN beacons will communicate on port 14001, but again won’t happen unless this is driven by connecting to servers through open or UI, etc.

Hope this helps!

-Max B.

more ▼

answered Apr 24 '14 at 08:12 PM

avatar image Michael Boeni Apr 24 '14 at 09:05 PM

Hi Max

This really does help, thanks!

In addition to that, can you also clarify on what the connections to "ec2.epicgames.com" and the connections to ".cloudfront" actually do? I get these connection attempts each time I load a level into the editor. The "ec2." connection, I also get each time i launch the packaged game.

Best regards, Michael

avatar image gmpreussner STAFF Apr 28 '14 at 03:20 PM

Hey Michael,

What you are seeing is the News Feed in the Editor fetching content from the cloud content servers. It currently polls for updates every 15 minutes or so. This feature was added in 4.1.

avatar image Michael Boeni Apr 30 '14 at 11:44 AM

Thanks! That resolves it for me.

(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