SKJM Forum
Support => iCam Support => Topic started by: netis on December 26, 2008, 02:37:27 AM
-
I bought icam 1.0.2, the iCam notify me "There was error connecting to the iCam Broker Server. Please try again later."
I already run iCam Source Windows 0.3 version, filled the username and password.
my pc system is vista.
Please help me, thanks.
-
The most common reason for that error is poor 3G/EDGE reception. You can verify this by putting your phone in Airplane mode (turns off 3G/EDGE and wifi) and running iCam. You'll get that same "Can't Connect to Broker Server" message.
There are other, rarer problems that can cause that error to show up. If you are pretty sure that you have good 3G/EDGE/wifi signal and you are still seeing this error message, please send an email to support@skjm.com with a description of the error message you're seeing and your iPhone's IP address. To get your iPhone's IP address, go to http://whatismyipaddress.com in your iPhone's web browser.
-
my iphone connect with same as my pc to linksys WAG325N router, ip adress is 61.142.180.182.
-
netis - If you are connecting via WiFi, your network might be configured to block UDP communication ... Have you tried connecting with your iPhone connected both via WiFi and 3G/EDGE? Do you get the same error messages when connected both ways?
-
Stefan - I try to connect via EDGE network to access iCam, but got same error too. sigh. already disable "SPI Firewall Protection" and "Block Anonymous Internet Requests" option in my Linksys Router. my pc firewall is vista build-in.
I tried all way I know. sigh....
-
netis - From your IP address it appears that you are connecting from China ... Do you know if your ISP and/or mobile phone company blocks outgoing UDP traffic? This is what iCam and the iCamSource uses to communicate with the iCam Broker Server.
-
Stefan - I am in China now, My ISP allow UDP traffic, but it blocked some foreign's IP adress, can you tell me iCam Broker Server IP adress?
-
Stefan - I use netstat command see what IP connect when run iCam, it connect 2 IP address, both forward to Google???
-
netis - Actually, iCam first creates a brief TCP connection to Google to make sure that the iPhone's internet connection is initialized. (It is a bug in Apple's code, in our opinion, and this is a work-around we have come up with.) ::)
The iCam Broker Server's IP address is 98.165.121.51.
-
Stefan - First, thanks for your answer, but I give up, because I can't make sure which has problem in my case, maybe Zero config idea is good , but not for me at lease, I can't access any IP address in my country. sigh....
-
netis - I am sorry to hear that you weren't able to get things working. The "zero config" feature really isn't the issue, however, since that only applies to you connecting from your iPhone to your computer, and not to you connecting from your iPhone or computer to our server.
Are you even able to ping the iCam Broker Server? (I have edited the firewall to allow it to respond to pings.)
-
Stefan - BIG thanks your make firewall allow ping for my test, I test in my iPhone(EDGE mode & wifi) and laptop, both can ping reachable the iCam Broker Server(98.165.121.51), I am very happy for this.
I found in my iPhone, iCam try to connect 2 IP address, both are google, it didn't connect 3rd IP address?
my iPhone in Jailbreak status, and Unlocked.
sorry for my poor english, I think you very hard talk to me.
Best Regards!
-
netis - You may be seeing your iPhone make TCP connections to Google, but the communication to the iCam Broker Server is done via UDP, which is connectionless.
Well, it does appear that our IP addresses are not completely blocked, however it might be an issue with the type of data (UDP) or the port that you are attempting to send to (12613).
Are you familiar with the security tool nmap? http://nmap.org/
If you want you can try to see if the port is reachable from your computer by running the following command once nmap is installed:
nmap -sU -v -p12613 98.165.121.51
Once you do that we can go from there. :)
-
Stefan - I tried via namp connect iCam server, it seem work, but iCam also notify me can't connect iCam Broker Server, I have not any word for this.
Starting Nmap 4.76 ( http://nmap.org ) at 2008-12-29 11:50 CST
Initiating Ping Scan at 11:50
Scanning 98.165.121.51 [2 ports]
Completed Ping Scan at 11:50, 0.56s elapsed (1 total hosts)
Initiating System DNS resolution of 1 host. at 11:50
Completed System DNS resolution of 1 host. at 11:50, 0.00s elapsed
Initiating UDP Scan at 11:50
Scanning 98.165.121.51 [1 port]
Completed UDP Scan at 11:50, 5.58s elapsed (1 total ports)
Host 98.165.121.51 appears to be up ... good.
Interesting ports on 98.165.121.51:
PORT STATE SERVICE
12613/udp open|filtered unknown
Read data files from: /usr/share/nmap
Nmap done: 1 IP address (1 host up) scanned in 8.92 seconds
Raw packets sent: 4 (124B) | Rcvd: 1 (28B)
-
netis - Well, this is very interesting indeed. I have now set up a packet capture process to log any incoming packets from your IP. Could you try the nmap command again followed by running the iCamSource and iCam so that I can try and capture the incoming packets? Can you also go to http://whatismyipaddress.com/ again to see if your IP address has changed?
Thanks again for your help and patience. :)
-
Stefan - sorry for my late, because these days I am busy, I have 2 days nope sleep until now, this month my company fire some people, I don't want to be next one, sigh.
my ip is 218.13.73.242 , now. I am runing iCam source for Windows 0.3, it start capture a test camera, my username is netis. you can start analyse my packets.
I need goto my bed for take a rest, I am so tire. if you need make more analyse for my case, do you add my MSN talk about it? my MSN address is hessian@21cn.com, nickname also is "NETiS".
-
netis - I don't see packets from your computer ... Can you try pinging the iCam Broker Server again?
Thanks ... And yes, get some well-needed rest. :)
-
Stefan - do you need I ping now? ok, I do this.
-
netis - Yes please, now will be fine. :)
-
Stefan - I pinging iCam server, now, but the result is "request time out"? I use -t, it will ping iCam server until I break it.
-
netis - Request time out? I remember before you were able to successfully ping the server ... Are you on a different computer, perhaps? The server is ping-able from different locations around the US (I just tried) so I am assuming it is being blocked by your network.
Are you going to be able to successfully ping it again?
-
Stefan - it can ping now, but so funny for this, when I disable firewall in my Linksys router, the ping result is request timeout, enable the firewall it can, very funny. hehe.
-
netis - Ok, I can see some of your pings ... Are you still running the iCamSource? If not, can you run and start it?
And can you also see if iCam works for you? Thanks. :)
-
Stefan - well, I am runing iCamSource and it capture a test camera, when I run iCam in my iPhone, it also notify me connect iCam Broker Server error, do I stop ping request?
-
Actually, I've only seen 6 packets come in. Were you pinging, or did you also run the nmap command? Are the pings reaching the server, or timing out?
-
Stefan - already restart my iCamSource, I can see my cam in iCamSource, I did click start button, the ping result is reachable, also I refresh the iCam in my iPhine, ping is continue in my desktop.
-
Stefan - here is ping result.
64 bytes from 98.165.121.51: icmp_seq=0 ttl=51 time=688.507 ms
64 bytes from 98.165.121.51: icmp_seq=1 ttl=51 time=607.971 ms
64 bytes from 98.165.121.51: icmp_seq=2 ttl=51 time=630.375 ms
64 bytes from 98.165.121.51: icmp_seq=4 ttl=51 time=779.210 ms
64 bytes from 98.165.121.51: icmp_seq=5 ttl=51 time=598.414 ms
64 bytes from 98.165.121.51: icmp_seq=6 ttl=51 time=622.922 ms
64 bytes from 98.165.121.51: icmp_seq=7 ttl=51 time=241.726 ms
64 bytes from 98.165.121.51: icmp_seq=8 ttl=51 time=258.511 ms
-
Stefan - I am set port forward to my desktop iCamSource listen udp port, ip: 218.13.73.242 port: 56849, I think its usefull if you can test it.
-
netis - I do see that it is pinging, and actually the packets that I was seeing actually were from the iCamSource. There is an issue, however.
For some reason I am only receiving a very small percentage of the packets you are sending. They are going to the correct port on the server, but the source port keeps changing for some reason. If the port that you are sending data from keep changing, the server won't be able to reply to it. Not that that really matters at this point, because there is also no data in packets. Are you somehow able to remove or disable any firewalls or packet-shaping programs or devices you may have connected to your computer? Perhaps connecting it directly to your cable or dsl modem without a router involved?
I am simply unsure as to the cause of what I am seeing.
-
Stefan - thanks your help for my problem, iCamSource can capture my CAM, so I bough iCam, but infact it can't. I tried all of your sugguest, sigh.
I hope special custom port and address in iCam next version. Thanks!
Best Regards!
-
netis - You had mentioned you are running the Linksys WAG325N, correct? This appears to be an ADSL modem + router:
http://www-au.linksys.com/servlet/Satellite?c=L_Product_C2&childpagename=AU%2FLayout&cid=1169671141909&pagename=Linksys%2FCommon%2FVisitorWrapper
Could you try logging into your router and temporarily disabling the firewall and see if your connectivity issues change at all? Basically if you get a different error than the "Broker Connection Error" on your iPhone when trying to connect via WiFi.
Also, do you have any sort of VPN setup in your router?
-
Stefan - Yes, my router is Linksys WAG325N, it run original firmware, it hasn't thirty-part firmware for it, I did it in my router, at first I diable my router firewall and allow anonymous access from Internet, dispear other error info in iCam.
I report some info to support@skjm.com, if you need more info, I will give you.
-
netis - Yes, I got your e-mail, thanks. :)
-
Just one final update to note that the problem has been resolved. :)
netis, who is based in China, was running Hotspot Shield VPN (http://www.hotspotshield.com/) software which was masking his computer's IP address to the iCam Broker Server. If you are accessing the Internet through a proxy or VPN, iCam may not work for you.
The other issue was that we have used a *.dyndns.org entry to resolve the iCam Broker Server's IP address, which consequently is not resolved correctly by China's "Great Firewall". We will be releasing new versions of the iCamSource and iCam to use a *.skjm.com name to resolve the IP address.
Many thanks to netis for his exceedingly abundant help and patience. ;D
-
Stefan,
I know. ;D