You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nlpcraft.apache.org by "Aaron Radzinski (Jira)" <ji...@apache.org> on 2020/09/02 18:14:00 UTC

[jira] [Closed] (NLPCRAFT-110) Weather example error

     [ https://issues.apache.org/jira/browse/NLPCRAFT-110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aaron Radzinski closed NLPCRAFT-110.
------------------------------------
    Resolution: Fixed

> Weather example error
> ---------------------
>
>                 Key: NLPCRAFT-110
>                 URL: https://issues.apache.org/jira/browse/NLPCRAFT-110
>             Project: NLPCraft
>          Issue Type: Bug
>          Components: examples
>            Reporter: Sergey Kamov
>            Assignee: Aaron Radzinski
>            Priority: Major
>             Fix For: 0.7.0
>
>
> "txt" : "Will it be hot next Sunday?"
>  
> "error": "City cannot be determined.",
>  
> Unable to answer due to IP location finder (keycdn) error for host: fe80:0:0:0:0:0:0:1%1
> java.io.IOException: Unexpected response [status=error, description=Hostname or IP is not valid.]
>  at org.apache.nlpcraft.examples.misc.geo.keycdn.GeoManager.get(GeoManager.java:106)
>  at org.apache.nlpcraft.examples.weather.WeatherModel.prepGeo(WeatherModel.java:87)
>  at org.apache.nlpcraft.examples.weather.WeatherModel.onMatch(WeatherModel.java:179)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:498)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)