connection status: unreachable address

Related to the Portal
lurch
Posts: 43
Joined: Fri Nov 15, 2013 10:02 pm

Re: connection status: unreachable address

Post by lurch »

when doing the port forwarding test should I be using current ip address or the wifi adapter address?
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: connection status: unreachable address

Post by rimai »

Your controller has never sent data to the server.
Make sure you are not using a security key in the Portal. If you are, make sure you edit your code to match the same key you entered in the portal.
If enabled, please make sure to change the Portal() function in your INO code. It should follow this format:
ReefAngel.Portal("username","key");
Roberto.
lurch
Posts: 43
Joined: Fri Nov 15, 2013 10:02 pm

Re: connection status: unreachable address

Post by lurch »

do I do this on the portal site or on the controller
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: connection status: unreachable address

Post by rimai »

If you enable the security key in the portal, you must also change your code to match the same key you entered in the portal.
If you disable it in the portal, then you don't need to change anything in the code.
Roberto.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: connection status: unreachable address

Post by lnevo »

The ip on the portal needs to be your external ip. Not the wifi module, not the computer. Its your internet provider ip on the closest router to the internet. http://whatsmyip.org
lurch
Posts: 43
Joined: Fri Nov 15, 2013 10:02 pm

Re: connection status: unreachable address

Post by lurch »

so on the reef angel web site I can adjust the portal settings
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: connection status: unreachable address

Post by rimai »

Go to the Portal and click on Portal Settings.
Roberto.
lurch
Posts: 43
Joined: Fri Nov 15, 2013 10:02 pm

Re: connection status: unreachable address

Post by lurch »

still no luck made changes in portal still not working
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: connection status: unreachable address

Post by rimai »

Ok, I don't think you understood what I said.
If you enable the security key in the portal, you MUST change your code to match the same key you have entered in the portal settings.
If enabled, please make sure to change the Portal() function in your INO code. It should follow this format:
ReefAngel.Portal("username","key");
So, you MUST change your code to be like this:

Code: Select all

ReefAngel.Portal("lurch","mykey");
Where mykey is the same thing you set in the portal settings.
If the keys don't match, the server rejects your data and it never saves it.
If your code is like this:

Code: Select all

ReefAngel.Portal("lurch");
And you set a portal key, you will never get it to work. You should disable the portal key to make it work or change it to match the portal key like the code posted above.
Roberto.
lurch
Posts: 43
Joined: Fri Nov 15, 2013 10:02 pm

Re: connection status: unreachable address

Post by lurch »

turned off password but still cant use portal
lurch
Posts: 43
Joined: Fri Nov 15, 2013 10:02 pm

Re: connection status: unreachable address

Post by lurch »

Thank you its working. sorry it took me so many times to figure it out I'm really thankfull for you help
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: connection status: unreachable address

Post by rimai »

Yay :)
Roberto.
lurch
Posts: 43
Joined: Fri Nov 15, 2013 10:02 pm

Re: connection status: unreachable address

Post by lurch »

not working again. very disappointed in my purchase
lurch
Posts: 43
Joined: Fri Nov 15, 2013 10:02 pm

Re: connection status: unreachable address

Post by lurch »

Is there a way to know if my wifi adapter is still sending signal? Now when I try to set up port forwarding my computer does not show the reef angel. The blue light is still blinking but my phone app does not work either
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: connection status: unreachable address

Post by lnevo »

Blue light means no connection. You want green light. Try to use the wifi setup again.
lurch
Posts: 43
Joined: Fri Nov 15, 2013 10:02 pm

Re: connection status: unreachable address

Post by lurch »

sorry I'm very frustrated it is a green light not blue.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: connection status: unreachable address

Post by lnevo »

You need to get intimate with your router. Most likely your router gave it a different ip address. You need to find on your router how to "reserve" the ip address so it doesn't change. The problem if it changes is 1) you don't know what it changed to and 2) it could mess up your port forwarding.

I know its frustrating, this part takes really learning a bit of networking. This process is no different than with any other controller and I've seen plenty of threads for the same issues with apex too.

We'll help you get it figured out, try not to let the technical issues get you worked up.
lurch
Posts: 43
Joined: Fri Nov 15, 2013 10:02 pm

Re: connection status: unreachable address

Post by lurch »

I think your right I think I need a reserve ip address so next to call internet provider thank you.
Post Reply