Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author WebCodin

    (@webcodin)

    Hi hiekje,

    Could we pls clarify following points:

    1) Did you add OpenWeather Map API key in the plugin settings (сurrently, OpenWeatherMap API doesn’t work without API key any more)?
    – if NO – pls registed for free (https://openweathermap.org/appid#get) and add API key here: “WCP OpenWeather” > “Settings” > “API Key”
    – if YES – please try to reset and re-add API key.

    If it won’t help:

    2) Did you add your sity name via Google Autocomplete or manually?
    – if manually: pls send exact copy of entered value

    3) Does Google Autocomplete work?
    – if NOT – Do you have oher plugins that also use GoogleMap API?

    Thanks in advance for info.

    with king regards,
    WordPress WebCodin Team

    Thread Starter hiekje

    (@hiekje)

    Hi!

    Thanks for the quick reply!!

    1. I used the API key, and I already tried resetting it. But that did not work. The API key seems to work okay.
    2. I found the city name by Google auto complete.
    3.The city name was found (with google auto complete) but still no weather was shown. I don’t use any other google map API in my website. I do use a mailchimp API and a google analytics API.

    Any other causes??

    Plugin Author WebCodin

    (@webcodin)

    Could you please send added locaton – we’ll check API request?
    Also, could you please add other city, for example from these ones – https://wpdemo.webcodin.com/weather-forecast/ – and let us know about the results?

    Thread Starter hiekje

    (@hiekje)

    Or… do I need to give in a weather station in my accoount at https://home.openweathermap.org/

    ??

    Thread Starter hiekje

    (@hiekje)

    My added location is: Midsland aan Zee, Friesland, Nederland

    Other locations (for example; new york ciy) don’t show either.

    But.. I do use google maps in my site. Only withoud API key… Can that be the cause?

    Plugin Author WebCodin

    (@webcodin)

    OK, we checked your locations – all is working properly for us.

    At the moment, we have following hypotheses. We used cURL extension for getting weather from OpenWeatherMap API. This extention must be installed on your server for properly work of our plugin.
    We found following errors: https://clip2net.com/s/3rrhrRC that can be related to:
    – cURL extension is not installed on your server
    – Security settings of your server are blocking requests for our plugin from your site for some reason
    – OpenWeatherMap API is blocking requests from your site for some reasone

    Possible, you need to ask support of your hosting about checking of described issues.

    Thread Starter hiekje

    (@hiekje)

    I asked my hosting about the discribed issues.
    They told me they only allow connection with IP-adresses from a list.
    If we should ask the provider of the plugin wich IP adresses are uses, thy could release these IP adresses.

    I must say: it sounds a little curious…
    Do you have a clue what they mean?

    Plugin Author WebCodin

    (@webcodin)

    Hi hiekje,

    We’re sorry for delay with the answer.
    As we described above, we use OpenWeatherMap API to get the weather data.

    As described in the API documentation:

    Use the name of the server as api.openweathermap.org. Please never use the IP address of the server.

    You can try to send following server name api.openweathermap.org to your hoster, perhaps they will be able to add it into their “white” list of the allowed connections.

    In additional, here is IP address: 188.166.125.149 (api.openweathermap.org) – at this moment, but we want to pay your attention on that fact that it can be dynamic IP address and it can be changed in any time.

    We hope this information will help you.

    Thread Starter hiekje

    (@hiekje)

    The plugin is working after the host added the IP address in a whitelist!! Thanks so much for the very, very good support!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘I cannot get it running!’ is closed to new replies.