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

wget #177

Closed
Znajdzik opened this issue Feb 8, 2019 · 12 comments
Closed

wget #177

Znajdzik opened this issue Feb 8, 2019 · 12 comments

Comments

@Znajdzik
Copy link

Znajdzik commented Feb 8, 2019

I have a problem with using the command "wget"
wget -d returns "Error 403"
I used the command "curl -a" but similar problem i have with apt-key.

@empierre
Copy link
Owner

empierre commented Feb 8, 2019

Seems the host filters the. Key extension, ticket ongoing...

@MarcusKlerks
Copy link

Maybe related? sudo apt-update reports following:
Err:8 https://www.e-nef.com/domoticz/mdah Release
403 Forbidden
and later on:
E: The repository 'https://www.e-nef.com/domoticz/mdah Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

@SkowronK
Copy link

I have the same.
I was able to download gpg.mykey from other computer and forced
sudo apt-key add gpg.mykey

sudo apt-key list
returns:
pub rsa4096 2016-03-02 [SC]
CDD9 6A0B DFFA E454 73B3 8BF2 54CE DB8D A543 5C9B
uid [ unknown] Emmanuel PIERRE epierre@e-nef.com
sub rsa4096 2016-03-02 [E]

but then when running
sudo apt-get update
I receive:
W: The repository 'https://www.e-nef.com/domoticz/mdah Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://www.e-nef.com/domoticz/mdah/Packages 403 Forbidden
E: Some index files failed to download. They have been ignored, or old ones used instead.

Any idea how to fix this?

@empierre
Copy link
Owner

empierre commented Feb 20, 2019 via email

@empierre
Copy link
Owner

empierre commented Feb 20, 2019 via email

@SkowronK
Copy link

actually it doesn't work:
I cannot even download key
pi@Domoticz3:~ $ wget https://www.e-nef.com/domoticz/mdah/gpg.mykey
--2019-02-20 22:11:55-- https://www.e-nef.com/domoticz/mdah/gpg.mykey
Resolving www.e-nef.com (www.e-nef.com)... 164.132.235.17, 2001:41d0:301::23
Connecting to www.e-nef.com (www.e-nef.com)|164.132.235.17|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2019-02-20 22:11:55 ERROR 403: Forbidden.

to avoid confusion downloading random image works.

@Znajdzik
Copy link
Author

Still not working:
wget -d http://www.e-nef.com/domoticz/mdah/nodejs_4.4.2_armhf.deb
DEBUG output created by Wget 1.18 on linux-gnueabihf.

Reading HSTS entries from /home/pi/.wget-hsts
URI encoding = `UTF-8'
Converted file name 'nodejs_4.4.2_armhf.deb' (UTF-8) -> 'nodejs_4.4.2_armhf.deb' (UTF-8)
--2019-02-20 22:22:14-- http://www.e-nef.com/domoticz/mdah/nodejs_4.4.2_armhf.deb
Translacja www.e-nef.com (www.e-nef.com)... 164.132.235.17, 2001:41d0:301::23
Caching www.e-nef.com => 164.132.235.17 2001:41d0:301::23
Łączenie się z www.e-nef.com (www.e-nef.com)|164.132.235.17|:80... połączono.
Created socket 3.
Releasing 0x00d28058 (new refcount 1).

---request begin---
GET /domoticz/mdah/nodejs_4.4.2_armhf.deb HTTP/1.1
User-Agent: Wget/1.18 (linux-gnueabihf)
Accept: /
Accept-Encoding: identity
Host: www.e-nef.com
Connection: Keep-Alive

---request end---
Żądanie HTTP wysłano, oczekiwanie na odpowiedź...
---response begin---
HTTP/1.1 403 Forbidden
Date: Wed, 20 Feb 2019 21:22:14 GMT
Content-Type: text/html; charset=iso-8859-1
Content-Length: 245
Server: Apache
Set-Cookie: SERVERID31394=2321180|XG3FC|XG3FC; path=/
X-IPLB-Instance: 18199

---response end---
403 Forbidden

Stored cookie www.e-nef.com -1 (ANY) / [expiry none] SERVERID31394 2321180|XG3FC|XG3FC
Registered socket 3 for persistent reuse.
URI content encoding = `iso-8859-1'
Skipping 245 bytes of body: [

<title>403 Forbidden</title>

Forbidden

You don't have permission to access /domoticz/mdah/nodejs_4.4.2_armhf.deb on this server.

] done. 2019-02-20 22:22:14 BŁĄD 403: Forbidden.

~ $ wget https://www.e-nef.com/domoticz/mdah/gpg.mykey
--2019-02-20 22:19:05-- https://www.e-nef.com/domoticz/mdah/gpg.mykey
Translacja www.e-nef.com (www.e-nef.com)... 164.132.235.17, 2001:41d0:301::23
Łączenie się z www.e-nef.com (www.e-nef.com)|164.132.235.17|:443... połączono.
Żądanie HTTP wysłano, oczekiwanie na odpowiedź... 403 Forbidden
2019-02-20 22:19:06 BŁĄD 403: Forbidden.

@SkowronK
Copy link

I have exactly the same behaviour on my Raspberry pi.
I can download http://www.e-nef.com/domoticz/mdah/nodejs_4.4.2_armhf.deb from my Chrome on win10

@empierre
Copy link
Owner

empierre commented Feb 21, 2019 via email

@empierre
Copy link
Owner

empierre commented Feb 21, 2019 via email

@MarcusKlerks
Copy link

Confirm fixed, thanks.
Mark

@SkowronK
Copy link

thanks - everything OK

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