Comments (13)
Can you still reproduce this, @gipfeli? WWO recently changed their certificate and it works for me. Which commit of wego are you using?
from wego.
Can you still reproduce this
[maxim@localhost ~]$ wego
2015/06/01 11:45:29 Get https://api.worldweatheronline.com/free/v2/weather.ashx?key=26b42a27c1503bd00132ce33bd129&q=Murmansk&format=json&num_of_days=3&tp=3&lang=en: x509: certificate signed by unknown authority (possibly because of "x509: cannot verify signature: algorithm unimplemented" while trying to verify candidate authority certificate "COMODO RSA Certification Authority")
from wego.
Two possibilities come to mind:
- Your operating system is not up to date. The comodo CA needs SHA384 and RSA-4096 support to verify.
- You don't have the comodo CA in your trust-store. Try to update the respective package (on debian it would be called
ca-certificates
)
A dirty workaround would be to change the we.go
to use http
instead of https
, but I don't recommend that.
from wego.
I've just started hitting this issue too on Ubuntu 14.10 with the latest version of ca-certificates
from wego.
Heyho @gipfeli, @Region51, @thomshutt,
can you check if it works, when you insert the line _ "crypto/sha512"
to the imports in we.go
? This blog entry might be related.
Also which version of golang-go are you running?
from wego.
On my mac (10.10.3) I have the following SHA checked out e0dce56 (10 days ago). go version
spits out go version go1.1.2 darwin/amd64
The error I am receiving is:
2015/06/01 08:30:28 Get https://api.worldweatheronline.com/free/v2/weather.ashx: x509: certificate signed by unknown authority
from wego.
I synced my repo to master head, and added the line _ "crypto/sha512"
as you mentioned, did a build install, and now wego runs smoothly.
from wego.
Same here, all working after adding crypto/sha512
from wego.
All working. We can close the ticket now.
from wego.
The issue is also fixed upstream, but I don't know in which version exactly. I am running golang 1.4.2, but debian jessie is still at 1.3.3. Im closing it, but if there are more reports from up-to-date distro users, I think we have to include that import statement in wego master temporarily, until the major distributions caught up on the golang upstream fix.
from wego.
Reopened, so people see this.
Still if anyone having this problem is running an up to date distribution, let me know.
from wego.
ubuntu 14.04 lts, will be "up to date" for a few years more...
go version go1.2.1 linux/amd64
installed from your github, now 5 hours ago (thats as upstream as it gets, right?).
plus: very latest security updated ssl/tls libraries.
from wego.
Ok, Ubuntu seems to be not bleeding edge enough unfortunately…
I have merged the respective pull request #49. It should work now without manual code adjustments after you updated wego, @OliverLeitner.
from wego.
Related Issues (20)
- Better representation for Lightning in ASCII Art. HOT 6
- Weird table indentation HOT 2
- Expose formatCond method in frontend interface
- Feature request: Can you add UV index into the result HOT 1
- can't find backend 'openweathermap' HOT 4
- Dark Sky API being shut down after 2021 HOT 4
- [Feature Request] ASCII Frontend for Radar View HOT 1
- Yr HOT 1
- Question/Enhancement: Please add local build instructions HOT 1
- Bug/Enhancement: Visibility, Sunrise, Sunset data returned by OpenWeatherMap is not captured in by json frontend
- API on OWM not working
- Go module support HOT 1
- Can't install. HOT 2
- "Could not find selected backend 'forecast.io'?" HOT 4
- please add backend `www.weatherapi.com`
- Move config file default path to os.UserConfigDir()
- Debian Support? HOT 2
- wegorc file does not generate HOT 4
- Is it possible to change the color settings?
- Denser ASCII graph frontend like ways/fingr project
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wego.