Unexpected end of stream

Basic / Standard Reef Angel hardware
Post Reply
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Unexpected end of stream

Post by rimai »

Does uapp give you these error too?
Roberto.
knapp870
Posts: 40
Joined: Mon Apr 16, 2012 10:52 am
Location: Kansas City, MO

Re: Unexpected end of stream

Post by knapp870 »

It says unable to Process controller data
Image
knapp870
Posts: 40
Joined: Mon Apr 16, 2012 10:52 am
Location: Kansas City, MO

Re: Unexpected end of stream

Post by knapp870 »

Screenshot
Attachments
Screenshot_20190620-211216.png
Screenshot_20190620-211216.png (171.02 KiB) Viewed 6600 times
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Unexpected end of stream

Post by rimai »

What do you get if you connect to the controller?
http://ipaddress:2000/r99
Roberto.
knapp870
Posts: 40
Joined: Mon Apr 16, 2012 10:52 am
Location: Kansas City, MO

Re: Unexpected end of stream

Post by knapp870 »

Says page did not send any data
Attachments
Screenshot_20190621-200508.png
Screenshot_20190621-200508.png (92.97 KiB) Viewed 6590 times
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Unexpected end of stream

Post by rimai »

The log you showed earlier said your ip address was 192.168.0.2.
Did anything change?
Roberto.
knapp870
Posts: 40
Joined: Mon Apr 16, 2012 10:52 am
Location: Kansas City, MO

Re: Unexpected end of stream

Post by knapp870 »

Every time you set it up almost it gets a new IP from the router. We'll, it jumps between 5 or 6 different ones depending on what is available at the time....
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Unexpected end of stream

Post by rimai »

Ok, if you are sure that is the IP address, there may be something wrong with either the module or the cable.
Roberto.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Unexpected end of stream

Post by lnevo »

You need to set it static on your router. If you aren't using cloud wifi or star then it's not going to work with your port forwarding..
knapp870
Posts: 40
Joined: Mon Apr 16, 2012 10:52 am
Location: Kansas City, MO

Re: Unexpected end of stream

Post by knapp870 »

lnevo wrote:You need to set it static on your router. If you aren't using cloud wifi or star then it's not going to work with your port forwarding..

Sorry but i think you must be misunderstanding. It doesn't receive a new IP every time it connects...just when setting it up. I'vehad one of these for 6 years and never had to set static IP.

That being said I reset everything again, deleted the manual port forwarding I put in place and disconnected and reconnected all cables. I can now connect when on wifi but I cannot connect externally using the gateway ip or the router ip
Image
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Unexpected end of stream

Post by lnevo »

Ok well at least you know that it's working now. So the app is working properly now?

Did you re-setup the port forwarding? It sounded like you went from .2 to .8 or vice-versa. The port-forwarding needs to match that.

Apologies for any miscommunication.
knapp870
Posts: 40
Joined: Mon Apr 16, 2012 10:52 am
Location: Kansas City, MO

Re: Unexpected end of stream

Post by knapp870 »

Here is the current state. When home on wifi, connecting works (sometimes takes a few attempts of getting errors), but when the app is set to away and I'm off home network it will not connect and says timeout. However....the portal updates all parameters but shows connection status of unreachable address.....thoughts on this? Appreciate the help as always! @rimai @lnevo
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Unexpected end of stream

Post by rimai »

Sounds like port forwarding
Roberto.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Unexpected end of stream

Post by lnevo »

I agree 100%
knapp870
Posts: 40
Joined: Mon Apr 16, 2012 10:52 am
Location: Kansas City, MO

Re: Unexpected end of stream

Post by knapp870 »

So it's possible that port forwarding is half set up? Forwarding on home network but not off network? How is the portal updating partially via external networks?
Image
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Unexpected end of stream

Post by lnevo »

There is no forwarding in the "Home" network. Forwarding is to get you from your router to the RA inside your network. The portal gets updated because the RA makes an *outgoing* connection to the portal every 5 minutes, but you cannot connect internally to a device (RA) behind your firewall/router which is where the forwarding comes into play. On the router you want to make sure the port 2000 is forwarded to the IP address of your RA on port 2000 and make sure the port is open on the outside. (sometimes you have to add this also to the firewall)
Post Reply