Comm.makeJsonRequest working on simulator but not on watch+phone

hi

my Comm.makeJsonRequest usage in one widget for fenix3 works fine using sdk + simulator.

side loading it to my watch which is paired to my iphone 5 ios 9 with latest connect app does not work.

1 - having connect app running and on phone's screen will let the connect app crash once i initiate the Comm.makeJsonRequest on my watch (i have the enter key make it happen to call the function)
2 - the app on watch does not crash and still works .. continues triggering with watch's enter key will always crash phone connect app
3 - via tcpdump on phone i see no communication attempt

json i expect and which simulator can handle has a size of 8kB.
ios ConnectMobile diagnostic data shows exception type EXC_BAD_ACCESS KERN_INVALID_ADDRESSat 0x00000000

any ideas ?

ciao

----------------8<--------------
...
using Toybox.Communications as Comm;
...
const fhemURL = "192.168.111.40:8083/fhem";
const fhemURLVARIABLECMD = "jsonlist%20c_kodu_balcony_left";
const fhemURLVARIABLES = {"cmd" => fhemURLVARIABLECMD, "XHR" => 1};
const fhemURLMETHOD = Comm.HTTP_REQUEST_METHOD_GET;
...
class fhemModel {
...
function load() {
Comm.makeJsonRequest(fhemURL, fhemURLVARIABLES, {:method => fhemURLMETHOD }, method(:save));
}
...
function save(_responseCode, _data) {
...}
}
...
----------------8<--------------

ciao and tx
  • same with stocks widget

    hi

    the connect iq offered widget 'stocks' seems to have the same problem

    ios connect iq app crashes once 'stocks' widget is selected on watch

    maybe something todo with latest update of ios connect iq app ?

    i narrowed it down to that http encoded space %20 for get requests causes ios connect iq app to crash.


    ciao