Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Unable to fetch geo location: http status 403" #85

Closed
khalilfazal opened this issue Apr 1, 2016 · 5 comments
Closed

"Unable to fetch geo location: http status 403" #85

khalilfazal opened this issue Apr 1, 2016 · 5 comments
Milestone

Comments

@khalilfazal
Copy link

Here is what happens when I first ran wego after adding my API key to .wegorc:

$ wego
2016/03/31 21:10:24 Unable to fetch geo location: http status 403
2016/03/31 21:10:25 Unable to get weather data: http status 403

Here is what happens on subsequent runs (first error line doesn't show):

$ wego
2016/03/31 21:10:43 Unable to get weather data: http status 403

Here is my .wegorc:

# wego configuration
# 
# This config has https://github.com/schachmat/ingo syntax.
# Empty lines or lines starting with # will be ignored.
# All other lines must look like `KEY=VALUE` (without the quotes).
# The VALUE must not be enclosed in quotes!

# Show geo coordinates (default false)
aat-coords=true

# BACKEND to be used (default worldweatheronline.com)
backend=worldweatheronline.com

# LOCATION to be queried (default New York)
city=Toronto

# NUMBER of days of weather forecast to be displayed (default 3)
days=3

# FRONTEND to be used (default ascii-art-table)
frontend=ascii-art-table

# json frontend: do not indent the output (default false)
jsn-no-indent=false

# UNITSYSTEM to use for output.
# Choices are: metric, imperial, si (default metric)
units=metric

# wwo backend: the api KEY to use (default )
wwo-api-key={{OMITTED, it's a trial key from worldweatheronline.com}}

# wwo backend: print raw requests and responses (default false)
wwo-debug=false

# wwo backend: the LANGUAGE to request from wwo (default en)
wwo-lang=en
@GRMrGecko
Copy link

Same here.

@schachmat
Copy link
Owner

This is due to the changes from wordweatheronline, wegos only functioning backend at the moment. See #82 for more details, the forecast.io backend should be ready soon. I'll leave this open and write a confirmation here, when the new backend is ready, so if you have the same problem, just reply in this thread, so you get an email notification from github.

@nluo1201
Copy link

nluo1201 commented Apr 6, 2016

Same problem for me.
It sucks that they stopped giving free api keys.

@schachmat
Copy link
Owner

@khalilfazal @GRMrGecko @nluo1201
A new backend (forecast.io) is on the way. If you want to help test it, goto #83. Otherwise just wait for a few days, when I will merge it to master.

@schachmat schachmat added this to the 3.0 milestone Apr 9, 2016
@schachmat
Copy link
Owner

@khalilfazal @GRMrGecko @nluo1201
forecast.io is now the default backend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants