-
Notifications
You must be signed in to change notification settings - Fork 232
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
curl: (7) couldn't connect to host #154
Comments
What does:
report on Pi? What do you get entering that url in a web browser (e.g. on Windows PC) |
|
And the url in a web browser on PC? |
On the debian desktop:
...
Same thing in Firefox (Iceweasel) on the desktop machine. |
On Pi I get:
and
|
Same Here is
|
So I get a different PI address:
What about:
Yours works for me:
|
Trying HTP instead of HTTPS:
|
I'm getting the idea that it is a certificate/HTTPS protocol problem. |
curl --insecure |
Neither When trying
|
Yeah, so "nothing" hasn't worked either. So thanks for that. Niether does midori nor iceweasel: "Cannot connect to destination (www.google.com)" However, connecting to '''http://74.125.224.148''' works just fine. IPv6 is disabled. Other websites, internal and external, that use plain HTTP seem to work fine. But google, like most everyone else, is moving to HTTPS, and that is where the wheels come off the rpi wagon. nslookup works, pings work, and yet, at the application level, raspberrian/rasperry pi is nearly nonfunctional and useless on the web. The common denominator appears to be SSL, but I don't have time to dig into that bottomless rabbit hole. It seems that I must be the only person on the planet with this problem, so there is no point addressing it. This was my first, and likely my last, attempt to use the raspberry pi hardware for anything interesting. It works OK as a webcam on my internal network, and I guess that's about all it good for. It is a toy. |
@splurglepoof so this can be closed? |
rpi-update just uses curl for network access. It sounds like a general networking/DNS issue, and would be better discussed in the forum. |
Yeah, so I have the newest super greatest "rpi-update" that uses curl instead of the ancient broken wget 1.13.4 and it still doesn't work. wget 1.15 on my debian 3.16-2-amd64 desktop works fine, curl 7.38.0 on the desktop works fine but curl 7.26.0 on the rpi doesn't. Time is fine, using the same time server for both machines.
pi@raspcam /tmp $ sudo apt-get install ca-certificates
Reading package lists... Done
Building dependency tree
Reading state information... Done
ca-certificates is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sudo apt-get update && sudo apt-get install rpi-update
gets me:rpi-update is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
But
pi@raspcam /tmp $ sudo rpi-update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** Performing self-update
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) couldn't connect to host
!!! Failed to download update for rpi-update!
!!! Make sure you have ca-certificates installed and that the time is set correctly
I've looked at bug #65, and I see that the consensus is that everything is fixed. This does not appear to be the case.
pi@raspcam /tmp $ uname -a
Linux raspcam 3.12.28+ #709 PREEMPT Mon Sep 8 15:28:00 BST 2014 armv6l GNU/Linux
The text was updated successfully, but these errors were encountered: