Highlighted

URLMonitor bad results on MOBILE

Community Beginner ,
Jul 30, 2015

Copy link to clipboard

Copied

I belive this is an URLMonitor/google problem.

Here is the the response for HTTPStatusEvent.HTTP_RESPONSE_STATUS listener:
503 [HTTPStatusEvent type="httpResponseStatus" bubbles=false cancelable=false eventPhase=2 status=503 redirected=true responseURL="http://ipv4.google.com/sorry/IndexRedirect?continue=http://www.google.com/&q=CGMSBAUPUKsYsanorQUiGQD..."]

the response for HTTPStatusEvent.HTTPStatusEvent.HTTP_STATUS listener:
503 [HTTPStatusEvent type="httpStatus" bubbles=false cancelable=false eventPhase=2 status=503 redirected=true responseURL=null]

This testing was based on an attempt to load http://www.google.com
This WORKS on desktop, but NOT on my test Galaxy S5.
Can anyone else confirm this issue?

var url:URLRequest = new URLRequest("http://www.google.com"); 
url.method = "HEAD"; mInternetMonitor = new URLMonitor(url);
 mInternetMonitor.pollInterval = 4000; 
mInternetMonitor.addEventListener(StatusEvent.STATUS, _handleCheckInternetConnection); 
mInternetMonitor.start();   
var ldr:URLLoader = new URLLoader(); 
ldr.addEventListener(HTTPStatusEvent.HTTP_RESPONSE_STATUS, rStatus);
 ldr.addEventListener(HTTPStatusEvent.HTTP_STATUS, hStatus);
 ldr.addEventListener(IOErrorEvent.IO_ERROR, ioErr);
 ldr.load(url);

TOPICS
Performance issues

Views

205

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

URLMonitor bad results on MOBILE

Community Beginner ,
Jul 30, 2015

Copy link to clipboard

Copied

I belive this is an URLMonitor/google problem.

Here is the the response for HTTPStatusEvent.HTTP_RESPONSE_STATUS listener:
503 [HTTPStatusEvent type="httpResponseStatus" bubbles=false cancelable=false eventPhase=2 status=503 redirected=true responseURL="http://ipv4.google.com/sorry/IndexRedirect?continue=http://www.google.com/&q=CGMSBAUPUKsYsanorQUiGQD..."]

the response for HTTPStatusEvent.HTTPStatusEvent.HTTP_STATUS listener:
503 [HTTPStatusEvent type="httpStatus" bubbles=false cancelable=false eventPhase=2 status=503 redirected=true responseURL=null]

This testing was based on an attempt to load http://www.google.com
This WORKS on desktop, but NOT on my test Galaxy S5.
Can anyone else confirm this issue?

var url:URLRequest = new URLRequest("http://www.google.com"); 
url.method = "HEAD"; mInternetMonitor = new URLMonitor(url);
 mInternetMonitor.pollInterval = 4000; 
mInternetMonitor.addEventListener(StatusEvent.STATUS, _handleCheckInternetConnection); 
mInternetMonitor.start();   
var ldr:URLLoader = new URLLoader(); 
ldr.addEventListener(HTTPStatusEvent.HTTP_RESPONSE_STATUS, rStatus);
 ldr.addEventListener(HTTPStatusEvent.HTTP_STATUS, hStatus);
 ldr.addEventListener(IOErrorEvent.IO_ERROR, ioErr);
 ldr.load(url);

TOPICS
Performance issues

Views

206

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jul 30, 2015 0

Have something to add?

Join the conversation