Windows Develop Bookmark and Share   
 index > Windows Forms Sample Applications > All Green Lights and No Critters
 

All Green Lights and No Critters

I have installed 1.2 Terrarium on 2 machines of mine. (Behind a firewall, port 50000 opened and NAT support checked) All lights are green but i dont get anything coming into my terrarium. I have this thing running for at least 24 hours so i know it isnt just a shortage of critters. Something else has to be wrong, but nothing is showing an error or anything. Like i said, all lights are green, as far as i can tell that mean all is well. But it isnt. What else can i do to verify everything is working so i can enter my little critters.

Thanks 
MigrationUser 1  Wednesday, July 14, 2004 1:13 PM
What type of firewall? Often times you have to enable port forwarding and have port 50000 traffic sent to a specific machine.
MigrationUser 1  Wednesday, July 14, 2004 2:19 PM
I have the Microsoft Wireless Base Station (MN-500). I have both the straight port open and the port forwarding to each IP open as well. 
MigrationUser 1  Wednesday, July 14, 2004 4:11 PM
I'm having the same problem.  I read the faq.  I did the best I could to do what it said considering I don't know much about his stuff.  According to the Microsoft Broadband Network Utility's Base Station Management Tool, I now have both Application-triggered port forwarding, and Persistent port forwarding enabled, both of which are supposedly directing all port 50000 traffic to the computer which is currently running Terrarium 1.2.  I have also left it up running for a day, and had a peer count of about 25 before I switched to the training server.  Now I have two.  Regardless of server, same situation as you described.
MigrationUser 1  Wednesday, July 28, 2004 12:13 AM
Apparently, they heard me complaining, because they decided to come out and play now.  Don't ask me why.  I didn't change anything.  Maybe, it takes a day or so for my computer to grasp my full intent.  I guess I should treat it more nicely.
MigrationUser 1  Wednesday, July 28, 2004 12:20 AM
Note that remote peers can blacklist you internally if you aren't accepting connections for a while. These blacklists are only supposed to last a single hour, but there are propagation statistics that point to times when a peer might not be able to get teleports for up to a day. All of the logic that makes this happen is also responsible for preventing DOS style attacks between peers, so there isn't much that can be done to improve the situation.
MigrationUser 1  Wednesday, July 28, 2004 6:04 PM
I'm having the same problem.  I used the previous version and received creatures fast but I've left this new client up all day and though I have green lights and see the peers and number of creatures I don't receive anything all day.
MigrationUser 1  Thursday, September 02, 2004 5:21 PM
You guys could easily log your tracings and let us know if anything strange is showing up. We eat all of our exceptions... and as a result they show up in a log file that we can digest later (excuse the pun). It is possible that your own local peer is somehow blacklisting remote peers, that remote peers are sending assemblies that are failing validation, or that you have some firewall software that you haven't set up to recognize the latest version of Terrarium. Remember that programs like ZoneAlarm will operate on a per program basis and the old Terrarium and new Terrarium will look different to these programs.
MigrationUser 1  Saturday, September 04, 2004 4:34 PM
Im getting this problem too - not left it online for more than a few hours at a time tho so ill try that now - i think it would be much more reliable if the program allowed you to manually change the ip of the router if it doesnt work.
MigrationUser 1  Monday, October 04, 2004 12:31 PM
thought id let you have an update on my progress...

so far port forwarding on my router is well.. crap. but when my host is in teh DMZ it forwards web perfectly. so i assume it should be working for Terrarium.

I am however when hovering over the green buttons at the top finding that the number of sent / received animals is 0. I have tried to make an animal ( i used to be quiet proficient ) in .net studio 2002 ( which none of the tutorials or samples i can find support ) which is getting me down atm.

anyway. not much else i can try without some guidance.

Scott.
MigrationUser 1  Tuesday, October 05, 2004 2:03 PM
Scott, as far as using studio 2002, what specifically are you having trouble with?
MigrationUser 1  Thursday, October 14, 2004 2:06 PM
wow, weird string of events have landed me up here again.

after spending way too long trying to get the old 1.1client working something happened to it and it completly stoped working, i mean fubar.

well recently i found the old shortcut on my machine and thought id see if there are any updates, found 1.2 and installed it. still not recieving any animals so i started trawling through the forums, came accross this thread and read it through to see if it could help me.

was reading teh last comment posted, and saw you refering to someone called Scott, odd i thought (at this point i didnt even realise i was registered on this forum) i wonder who else is called scott, and i suddenly realised it was me !!!

well im still not recieving any animals, but i've had much more experience with VS.NET and am running 2003 atm. Going to try and get some animal transfer before digging up all my old code and rewriting any of them. not worth it unless i can send them around.

MigrationUser 1  Wednesday, April 20, 2005 6:04 PM
addendum,

I do appologise for not replying to you before, complete system failure / forgetting i was registered / not having a o=working terrarium for testing all contributed to me really just forgetting about it all.

fortunatly i still have the drive to prove i can write a successful animal. even more so now that i have completed a module on artificial intelegence in my degree course ;)
MigrationUser 1  Wednesday, April 20, 2005 6:07 PM
ok so i decided to see what i can do with some of the tools i got on my machine; started with this:

netcat allows me to conenct to port 50,000 on my local machine, and the tcp viewer i have shows a connection;

netcat also allows me to conenct to 50,000 on my external ip, and shows a connection again ;) so i can accept connections from outside.

i managed to introduce a simple plant, ( so i have something to send to other people ) but out of 275 sends, not a single one was successful...

this to me is a bit dodgy... im pretty sure my router is not stopping me sending info; maybe i have been black-listed??

if someone can answer, what are the conditions to be black listed?... ill leave it for an hour and a half and try again, but i dont hold much hope.

here is some of the info i managed to get from the TCP viewer, if it helps.

process name, proto, local address, remote address, state

Terrarium.exe:3440, TCP, bluebox:1341, xxx:50000, SYN_SENT

Terrarium.exe:3540, TCP, bluebox:1497, xxx:50000, SYN_SENT


I have replaced peoples Ip's or domain names with X's to protect their ident; i know i would not appreciate someone posting my ip all over the interweb.

They appear to stick at SYN_SENT before being destroyed. I have seen a few with LAST_ACK, ESTABLISHED and the much more comon TIME_WAIT

If there is anything else i can do to help fix this let me know, and i appreciate all the help anyone can throw my way ;)

Cheers Guys / Gals

MigrationUser 1  Thursday, April 21, 2005 9:30 AM
dont know how relevant this is but here goes;

terrarium is querying this reg key "HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\Hostname" and for the life of me i cannot figure out what relevance my internal hostname is for internet communication... "bluebox" means nothing over the internet if im not mistaken?

It also tries to query the following but cannot find them;

"HKLM\Software\Policies\Microsoft\Windows NT\DnsClient"
"HKLM\Software\Policies\Microsoft\System\DNSClient"

not sure what relevance they are but dns is probably fairly important. 

Hope this info triggers something in someone ;D

MigrationUser 1  Thursday, April 21, 2005 9:50 AM
aww man, why cant i think of everything at the same time?

Another thouht accured to me, as when i was checking my website, which contains a phpbb forum on it i noticed my IP address was: 62.254.xx.xx which is different from the external IP of my router, which is: 82.12.xx.xx.

This is nothing new to me, I know the 62 is probably a webcache of some description, but what if, terrarium client is not pulling the correct IP for people who are using Ntl for example, like myself?

what if the terrarium had an option to input the IP to use, and stop all the silly NAT detection? no offense intended, but the nat detection is a real pain, It would be so much easier if it displayed the IP it is using, and ifit is incorrect having the ability to set it.

That would solve a lot of problems in my mind; The way i think it works is thus;

client connects to server and when connecting the server calls some form of remote_address() to get the address of the connecting machine. This is where the problem lies, where after connecting through several proxies / webcache ect the original IP used to connect back is lost?

is this right??

I know especcially to get past having a banned IP on most forums / IRC (worked a few times, not always tho ) I can run the program through an anon proxy to hide My ip. so im assuming this can or is being done without my knowledge.

Oh the reason im thinking this is because i set Netcat running on ym machine earlier listening on 50000, sent a copy to my dad and told him to conenct to the IP that my router gets from NTl, and it connected and he could send plain text to me. perfect. which suggests to me that rather than being a router config problem it is a problem with the client sending the incorrect IP or the server detecting the wrong one, which got me thinking would it not be easier to jsut set the IP manually??

I have also been thinking about how this might facilitate cheating but as yet I have not come up with anything that i can convince myself that it will change the state of play as it is at the moment. 
MigrationUser 1  Thursday, April 21, 2005 3:23 PM
poped open me old trusty packet sniffer to check some of thestuff sent around see if i could route out an error message...

HTTP/1.1 200 OK
Server: Microsoft .Net Terrarium
Date: Sat, 23 Apr 2005 10:12:12 GMT
Connection: Close
Content-Length: 147
Content-Type: text/xml

<organismArrived>false</organismArrived><reason>The peer 82.xx.xx.xx did not pass the check for badpeer/shouldreceive on the remote peer</reason>

after trying to send an assembly and failing, and either trying again or checking to see if it worked i get this : which contains my IP, in all its glory. the correct one. so my Ip is being send or detected correctly. Now i dont know why im being black listed =(
MigrationUser 1  Saturday, April 23, 2005 10:23 AM

You can use google to search for other answers

Custom Search

More Threads

• Seeking a windows service example that connects to database
• fotovision panels
• Anyone still playing this game?
• 16 bit Windows Subsystem
• application updater problem
• Problem with SplitContainer control
• OTP folder in win xp
• Smart Client Offline Application Block (SCOAB)
• Sample code for PDF to TIFF
• .Net Terrarium