Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline Benjamin  
#1 Posted : Sunday, October 9, 2011 11:49:53 PM(UTC)
Benjamin

Medals: Admin

Joined: 8/20/2011(UTC)
Posts: 1,421
Location: Hannover

Thanks: 18 times
Was thanked: 97 time(s) in 92 post(s)
The Delta Engine Public Beta Preview v0.9.0 has just been released. Grab your copy at http://DeltaEngine.net/Download

The Delta Engine allows you to develop applications and especially games for all major AppStore platforms completely under Windows with .NET by using your favorite tools. It is free to use (on Windows, see Licensing), Open Source and written in 100% .NET.

The Delta Engine currently supports Windows, iPad, iPhone, Android, Android Tablets, Windows Phone 7, Xbox 360, Linux, MacOS, the Web as well as more platforms in the future. To use non-windows platforms you will need a license (http://DeltaEngine.net/Licensing starts with v0.9.1 soon). In v0.9.0 you can already preview the build process and content generation with the Launcher and ContentManager tools.

We are still early in beta, but have been feature complete for a year now to allow writing both simple (see Tutorials) and complex games (see Showcases). We are always focused on making the game developers life easier and we listen to your feedback! Also note that we are currently a programmer focused engine (on purpose), our tools are not artist focused yet.

Wanna join the discussion?! Login to your forum accountregister a new account. Or Connect via Facebook Twitter Google

Offline zyko  
#2 Posted : Wednesday, October 12, 2011 2:48:53 PM(UTC)
zyko

Joined: 10/12/2011(UTC)
Posts: 5

Thanks: 1 times
i downloaded it.
the binary samples run.
but i can't run even one of the code samples.
i always get:
'Unable to connect to server DeltaEngine.net (are you offline=)'.
of course i'm not offline and login-data is ok.

fe. for Pong:

02.925 Unable to connect to server: DeltaEngine.net:800
03:56.386 Error: We are not connected to the content server, but we still need to grab content (we have none yet). Unable to continue application, no content data is available, file not found: Content\ContentMetaData.xml. Either make sure this application has been build by the Delta Engine Launcher or use the online services to connect to the Content Server for dynamic content downloading when developing.
at Delta.Utilities.Log.Warning(System.String message)
at Delta.Engine.Application.Error(System.String message, System.Object exceptionObject)


on 'aborting' things the display only flickers - no solution.

is anything ok with this 'service-Setting' (Settings.xml)
<Services>
<ContentServerIp>DeltaEngine.net</ContentServerIp>
<Username>MYUSER</Username>
<Password>MYCRYPTEDPWD</Password>
</Services>

any help would be helpful ;-)
g
zyko




Offline Benjamin  
#3 Posted : Wednesday, October 12, 2011 6:57:14 PM(UTC)
Benjamin

Medals: Admin

Joined: 8/20/2011(UTC)
Posts: 1,421
Location: Hannover

Thanks: 18 times
Was thanked: 97 time(s) in 92 post(s)
Well, if you are really unable to connect to DeltaEngine.net on Port 800, content downloading will not work. It seems like you did not get beyond the initial login step because there is no ContentProject setting in your Settings.xml.

Maybe your ping is too high? Just a crazy idea: You could reference Delta.Utilities.Networking in your project and remove the dll and change the timeout in BaseClient.DefaultConnectionTimeoutMs (currently set to 2000, which seems not enough according to your log, set it to something like 10000). If you are not behind any firewall that is blocking something and you can't figure this out, I can also send you a test program for connecting. For me connecting over internet is between 30-40 milliseconds and most of this lag comes from my local provider, can you maybe post your "ping DeltaEngine.net" results? Click start -> enter "cmd" and then enter the ping command and post the results here! Thanks.
Offline zyko  
#4 Posted : Thursday, October 13, 2011 2:50:11 PM(UTC)
zyko

Joined: 10/12/2011(UTC)
Posts: 5

Thanks: 1 times
No my ping is ok...

c:\>ping DeltaEngine.net
Pinging deltaengine.net [87.193.151.60] with 32 bytes of data:

Reply from 87.193.151.60: bytes=32 time=33ms TTL=115
Reply from 87.193.151.60: bytes=32 time=33ms TTL=115
Reply from 87.193.151.60: bytes=32 time=36ms TTL=115
Reply from 87.193.151.60: bytes=32 time=32ms TTL=115

seems for me to be more a problem in communication with your 'service' that's listening on port 800.

according to your tip:
'updatet timeout' to 10000 - no success.

then i set some breakpoints to see what things are going on there:

code that fails is:
bool success = result.AsyncWaitHandle.WaitOne(timeoutMs, true);
success is false

from this code-sequence

---------BEGIN CODE_FROM SocketHelper.cs (Delta.Utlitilites.Networking)----------
// Now create end point for connecting
IPEndPoint logServerIp = new IPEndPoint(serverAddress, port);
// Create our socket
Socket serverSocket = new Socket(AddressFamily.InterNetwork,
SocketType.Stream, ProtocolType.Tcp);
// And finally connect to the server using a timeout (0.5 seconds)
IAsyncResult result = serverSocket.BeginConnect(logServerIp,null, null);
bool success = result.AsyncWaitHandle.WaitOne(timeoutMs, true);
if (success == false)
---------END CODE FROM SocketHelper.cs (Delta.Utlitilites.Networking)----------

behaviour: waiting for 10 seconds now (i incremented BaseClient.cs DefaultConnectionTimeoutMs to 10000, as you suggested)

success is false

logServerIp: {87.193.151.60:800}

serverSocket - data:

serverSocket {System.Net.Sockets.Socket} System.Net.Sockets.Socket
AddressFamily InterNetwork System.Net.Sockets.AddressFamily
Available 0 int
Blocking true bool
Connected false bool
DontFragment false bool
+ EnableBroadcast 'serverSocket.EnableBroadcast' threw an exception of type 'System.Net.Sockets.SocketException' bool {System.Net.Sockets.SocketException}
ExclusiveAddressUse false bool
+ Handle 19400 System.IntPtr
IsBound true bool
+ LingerState {System.Net.Sockets.LingerOption} System.Net.Sockets.LingerOption
+ LocalEndPoint {0.0.0.0:3549} System.Net.EndPoint {System.Net.IPEndPoint}
+ MulticastLoopback 'serverSocket.MulticastLoopback' threw an exception of type 'System.Net.Sockets.SocketException' bool {System.Net.Sockets.SocketException}
NoDelay false bool
ProtocolType Tcp System.Net.Sockets.ProtocolType
ReceiveBufferSize 8192 int
ReceiveTimeout 0 int
+ RemoteEndPoint 'serverSocket.RemoteEndPoint' threw an exception of type 'System.Net.Sockets.SocketException' System.Net.EndPoint {System.Net.Sockets.SocketException}
SendBufferSize 8192 int
SendTimeout 0 int
SocketType Stream System.Net.Sockets.SocketType
Ttl 32 short
UseOnlyOverlappedIO false bool
+ Static members System.Net.Sockets.Socket System.Net.Sockets.Socket
+ Non-Public members {System.Net.Sockets.Socket} System.Net.Sockets.Socket
+ serverSocket {System.Net.Sockets.Socket} System.Net.Sockets.Socket


hope that helps you?

----------UPDATE--
digged a little bit deeper inside and did some tests:

TcpClient tcp = new TcpClient();
IAsyncResult result2 = tcp.BeginConnect("87.193.151.60", 80, null, tcp);
bool bSucc2 = result2.AsyncWaitHandle.WaitOne(timeoutMs, false);

WORKS :-)

whereas

TcpClient tcp = new TcpClient();
IAsyncResult result2 = tcp.BeginConnect("87.193.151.60", 800, null, tcp);
bool bSucc2 = result2.AsyncWaitHandle.WaitOne(timeoutMs, false);

doesnt !!

seems to have something todo with the port or service, or someone is blocking requests in between...
i'm within a company network, using xp. tryed although there's no need,
to allow port 800 within xp-firewall for tcp and udp - no changes - fails still...
we're not using a proxy so things should work - no idea why this happens...

HYPOTHESE: is this service on another machine than 87.193.151.60 ?

but according to
http://www.t1shopper.com/tools/port-scan/
scanning port 800 on 87.193.151.60 gives:

87.193.151.60 is responding on port 800 (mdbs_daemon).

AARGH - no idea what's going on there - maybe my company is blocking this port
- i'll ask our admin...

UPDATE: Admin says - yesssss all not standard ports are blocked...
(maybe you should transfer this to a 'more standard port', if others have the same problem too)

and for me: maybe i can get an exception by our admin :-)
THX

g
Zyko

Edited by user Thursday, October 13, 2011 6:22:33 PM(UTC)  | Reason: Not specified

Offline Benjamin  
#5 Posted : Thursday, October 13, 2011 6:59:48 PM(UTC)
Benjamin

Medals: Admin

Joined: 8/20/2011(UTC)
Posts: 1,421
Location: Hannover

Thanks: 18 times
Was thanked: 97 time(s) in 92 post(s)
Thanks for the detailed log. The first connection that fails for you is the the log server (at port 777), then later port 800 fails also. You get quite a lot of exceptions I have to investigate. The main problem however seems to be that these exceptions are not properly logged out and you just get the final result "Unable to connect" which is really bad.

Hopefully I can find a way to reproduce your problem and then improve the error messages first and then fix the actual error (which is probably something simple like a wrong flag).

Currently all requests to DeltaEngine.net will end up on the same IP, later different IPs will be returned and stuff will be forwarded, but we are not there yet. So this is definitely not the problem.

Thanks again for the detailed research, helps out a lot ThumpUp
Offline Benjamin  
#6 Posted : Friday, October 14, 2011 4:05:54 AM(UTC)
Benjamin

Medals: Admin

Joined: 8/20/2011(UTC)
Posts: 1,421
Location: Hannover

Thanks: 18 times
Was thanked: 97 time(s) in 92 post(s)
I have improved the error messages a bit, also adding some notes to make sure ports are open.

Can you maybe tell me which ports are allowed in your company? Doing everything on port 80 is not a good option, we will require more than just 1 service per IP.
Offline zyko  
#7 Posted : Friday, October 14, 2011 10:22:04 AM(UTC)
zyko

Joined: 10/12/2011(UTC)
Posts: 5

Thanks: 1 times
i've found a nice website that can tell someone whether his 'outgoing ports'
are blocked or not:

http://www.firebind.com

but to be useful, you must document your used ports too!
fe. it's new to me fe. that your using port 777 too.

i think it's usual in serious companys, that they block all ports but those that are usually used by users. a usual restrictive firewall policy.
what ports they block may differ:
fe. http will be mostly always allowed.
all the other ports depend on whether the company is more ore less restrictive.
maybe imap, pop, vnc, mostly not smpt, and and and.
and if you've got total bad luck, they restrict their users to use a proxy.

if other people have the same problem i'ld recommend you to switch all
your services to an webservice layer working on port 80.
that should give the least troubles.

if company users are your 'usual customers' you should take that effort.
for 'home users' this problem will occure less of course. private firewalls that block outgoing ports are 'not that usual' i think.
maybe you can give 'company users' an alternate way to get the 'cloud-resources'
(ftp)...?
i don't understand completely why it's always nececessary to login and download ressources from your site. as you see it makes things less available and for me if our admins are'nt 'nice' it's a ko.

g
Zyko

Edited by user Friday, October 14, 2011 10:31:35 AM(UTC)  | Reason: Not specified

Offline Benjamin  
#8 Posted : Friday, October 14, 2011 3:32:37 PM(UTC)
Benjamin

Medals: Admin

Joined: 8/20/2011(UTC)
Posts: 1,421
Location: Hannover

Thanks: 18 times
Was thanked: 97 time(s) in 92 post(s)
I have added some fallback ports, including port 80 on a different IP, which should solve most of this problem. However, if someone can't be online or is blocked, he obviously can't use online services and the engine at the current state won't be very useful (you need to be online for content generation and building on other platforms right now).
Offline zyko  
#9 Posted : Monday, October 17, 2011 10:48:11 AM(UTC)
zyko

Joined: 10/12/2011(UTC)
Posts: 5

Thanks: 1 times
thx. any idea when this will be available for public? - i saw no public code or download changes.

btw. meanwhile our admin opened port 800 for me. but things still don't work.
question remains: what ports do you need minimal for communication with your server?
you should document this.
i can't do a 'and please also open port yyy too' any day...

will 800 and 777 do the job, or are there any other ports needed?
Offline Benjamin  
#10 Posted : Monday, October 17, 2011 1:53:43 PM(UTC)
Benjamin

Medals: Admin

Joined: 8/20/2011(UTC)
Posts: 1,421
Location: Hannover

Thanks: 18 times
Was thanked: 97 time(s) in 92 post(s)
Version v0.9.1 supports port 800, 8080, 80 and 443, whatever is free and possible will be tried. Port 777 is optional for logging (you can disable it in your Settings or in the content project settings).

And yes we are trying to document this better. Thanks for reminding us :)
thanks 1 user thanked Benjamin for this useful post.
zyko on 10/17/2011(UTC)
Offline zyko  
#11 Posted : Monday, October 17, 2011 1:57:39 PM(UTC)
zyko

Joined: 10/12/2011(UTC)
Posts: 5

Thanks: 1 times
thx - so see again at v0.9.1 which, as far as i understand, will come on the 1st of november...
Offline Benjamin  
#12 Posted : Monday, October 17, 2011 4:22:21 PM(UTC)
Benjamin

Medals: Admin

Joined: 8/20/2011(UTC)
Posts: 1,421
Location: Hannover

Thanks: 18 times
Was thanked: 97 time(s) in 92 post(s)
Yes Blink
Rss Feed  Atom Feed
Users browsing this topic
OceanSpiders 2.0
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2022, Yet Another Forum.NET
This page was generated in 0.125 seconds.