Browser_stream_setup connection test fails

I just thought I would post here as an fyi that the file in the browser streaming example cannot successfully ping google to confirm internet connection for me, it fails every time. I had to remove all of

wget -q --tries=2 --timeout=20
if [[ $? -eq 0 ]];then
echo "Connected"
echo "Unable to Connect, try again !!!"
exit 0

to get it to work. Just wanted to share this with you guys because I’m sure other people are experiencing this too! Cheers!

Are you actually connected to the internet when you run this? If you run “ping” on your command line, do you get a response?

Thanks though, really appreciate it!