makeWebRequest GET stripped for (ConnectMobile/Darwin) users

Hi everyone

i did not find any solution in the forum, so here is my problem :

For some users, server side script does not receive any GET request.

Here is my WebRequest :

			var w3Api = "https://xxx/x.php";
			    		
	   		var dataFromWebRequest ;		// received datas
			var options = {
					:methods => Comm.HTTP_REQUEST_METHOD_GET,
					:headers => {"Content-Type" => Comm.REQUEST_CONTENT_TYPE_URL_ENCODED, "key" => appVersion},
					:responseType => Comm.HTTP_RESPONSE_CONTENT_TYPE_JSON
				};
			var params = {
	   			"email" 	=> Email,
	   			"uuid" 		=> uuId,
				"apikey" 	=> SerialKey,
				"L"			=> L,
				"G"			=> G
	   		};
			var _Request = [w3Api, params, options];

here is HTTP Headers when server receive GET request (no key so it is older app version, before i added "key"):

 User-Agent: Mozilla/5.0 ( compatible ) 
 Accept: application/json 
 Content-Type: application/x-www-form-urlencoded 
 X-app-ver: 5993 
 X-lang: vi 
 Host: www.xxx.com 
 Connection: Keep-Alive 
 Accept-Encoding: gzip 

(

here is http headers when receiving nothing ( else headers ):

 Host: www.xxx.com 
 Content-Type: application/x-www-form-urlencoded 
 Accept: */* 
 key: 1.0.6 
 User-Agent: ConnectMobile/33 CFNetwork/1240.0.4 Darwin/20.5.0 
 Accept-Language: zh-cn 
 Accept-Encoding: gzip, deflate, br 
 Connection: keep-alive 

May it be about ConnectMobile / Darwin ?

(or, of course, from my WebRequest options...!)

(key is my app version to check if user updated app).

Any idea what's going wrong ?

Thanks for your help

  • hum... No tracks ?

    should i open a bug ticket about it?

    It seems it is an IOS user agent, used by ConnectMobile, so i guess it may be some bug from ConnectMobile ?

    Marco

  • Still not working for Apple users.

    Here are server logs :

    [19/Jul/2021:08:43:54 +0200] "GET /watchquery.php HTTP/1.1" 200 6716 "-" "ConnectMobile/33 CFNetwork/1240.0.4 Darwin/20.5.0"

    => server did not receive any data from the user, ( i put a default answer so 6716 is the default answer length).

    => received headers ;

     Host: www.undawa.com
     Accept: application/json
     Accept-Language: en-sg
     Connection: keep-alive
     Accept-Encoding: gzip, deflate, br
     User-Agent: ConnectMobile/33 CFNetwork/1240.0.4 Darwin/20.5.0

    It is working for all others users:

    [19/Jul/2021:08:30:44 +0200] "GET /watchquery.php?apikey=demo&G=0.0&L=0.0&uuid=xxx&email=demo HTTP/1.1" 200 6719 "-" "Mozilla/5.0 ( compatible )"

    Any idea would be very appreciated ;)

    thanks