Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
it was great
because it was working still yesterday
but Today!!
error!!!!!
please .. how to fix it?
thanks
Hi seonho Cha,
Does it work when you use http instead of https?
Also, please share the code instead of a Screenshot of code.
Also, the error seems to be related to SSL try adding following in the params:
ignoreSSLErrors: true /* BOOLEAN */,
this is my code
and i add that but still error...
var params = {
ignoreSSLErrors: true /* BOOLEAN */,
timeout: 75 /* NUMBER */,
url: "https://maps.googleapis.com/maps/api/geocode/json?latlng=" + lat + "," + long + "&language=ko" /* STRING */,
};
// result: JSON
var result = Resources["ContentLoaderFunctions"].GetJSON(params);
var address = result.results[0].formatted_address.substring(5);
var params={
infoTableName:"UpdatePropertiesInfoTableTMP",
dataShapeName:"NamedVTQ"
};
var updateValues = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(params);
updateValues.AddRow({'time':datetime,'name':'GPS_Address','quallity':undefined,'value':address});
me.UpdatePropertyValues({values:updateValues});
i did not turn off Computer about 7days.
and it's code works very well before today...
this code error
i input String value(i have tried number input)
this code No error.. but i use real time data
so this code not useful
Dear seonho cha,
Please try to use http instead of https url:
- //var url = "http://maps.googleapis.com/maps/api/geocode/json?latlng=39.773844,-89.643711";
- var url = "http://maps.googleapis.com/maps/api/geocode/json?latlng="+latitude+","+longitude;
- var params = {
- proxyScheme: undefined /* STRING */,
- headers: undefined /* JSON */,
- ignoreSSLErrors: undefined /* BOOLEAN */,
- useNTLM: undefined /* BOOLEAN */,
- workstation: undefined /* STRING */,
- useProxy: undefined/* BOOLEAN */,
- withCookies: undefined /* BOOLEAN */,
- proxyHost: undefined/* STRING */,
- url: url /* STRING */,
- timeout: undefined /* NUMBER */,
- proxyPort: undefined/* INTEGER */,
- password: undefined /* STRING */,
- domain: undefined /* STRING */,
- username: undefined /* STRING */
- };
- var json1 = Resources["ContentLoaderFunctions"].GetJSON(params);
- var result = json1.results[0].formatted_address;
input:
latitude:NUMBER
longitude:NUMBER
output: STRING
Please let me know if it works.
Br,
Anna
thanks a lot!!!
but https, http good working
and i found reason
i think if many Service(about 10?) in Thing
GeoCoding service appear this error
and i extend timeout 100 -> 1000
i think that both reason makes error
thank you really really you 're angel !!
Dear seonho cha,
You are welcome!
Glad to hear it works for you.
Please mark correct answer so we could close this thread and feel free to open new topic we will continue assist with your new issues.
Thank you,
Br,
Anna