Uploaded image for project: 'NLPCraft'
  1. NLPCraft
  2. NLPCRAFT-110

Weather example error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.7.0
    • Examples
    • None

    Description

      "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)

      Attachments

        Activity

          People

            aradzinski Aaron Radzinski
            sergeykamov Sergey Kamov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: