~sircmpwn/sr.ht-discuss

3 2

pages: error 400 on acurl

Details
Message ID
<774b3457-9e70-43c1-a0ed-496bf1f9fc0c@inventati.org>
DKIM signature
permerror
Download raw message
Hi,

I am trying to build my website and upload it just as I did before the
recent outage.

All the tasks specified in the build manifest work as expected except
for the last one:

+ acurl -f https://pages.sr.ht/publish/manueluberti.eu
-Fcontent=@site.tar.gz
+ set +x
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
Current
                                 Dload  Upload   Total   Spent    Left
Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
    0
  0 18.4M    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--
    0
 63 18.4M    0     0   63 11.7M      0  5332k  0:00:03  0:00:02  0:00:01
5333k
 63 18.4M    0     0   63 11.7M      0  3693k  0:00:05  0:00:03  0:00:02
3694k
 63 18.4M    0     0   63 11.7M      0  2825k  0:00:06  0:00:04  0:00:02
2825k
 63 18.4M    0     0   63 11.7M      0  2320k  0:00:08  0:00:05  0:00:03
2320k
100 18.4M    0     0  100 18.4M      0  2990k  0:00:06  0:00:06 --:--:--
3610k
100 18.4M    0     0  100 18.4M      0  2580k  0:00:07  0:00:07 --:--:--
1350k
100 18.4M    0     0  100 18.4M      0  2269k  0:00:08  0:00:08 --:--:--
1350k
100 18.4M    0     0  100 18.4M      0  2025k  0:00:09  0:00:09 --:--:--
1350k
100 18.4M    0     0  100 18.4M      0  1828k  0:00:10  0:00:10 --:--:--
1330k
100 18.4M    0     0  100 18.4M      0  1666k  0:00:11  0:00:11 --:--:--
    0
100 18.4M    0     0  100 18.4M      0  1531k  0:00:12  0:00:12 --:--:--
    0
100 18.4M    0     0  100 18.4M      0  1415k  0:00:13  0:00:13 --:--:--
    0
100 18.4M    0     0  100 18.4M      0  1316k  0:00:14  0:00:14 --:--:--
    0
100 18.4M    0     0  100 18.4M      0  1230k  0:00:15  0:00:15 --:--:--
    0
 99 18.4M    0     0  100 18.4M      0  1224k  0:00:15  0:00:15 --:--:--
    0
curl: (22) The requested URL returned error: 400


Is there anything I am missing? If you need me to provide further
details, please feel free to ask.


All the best

-- 
Manuel Uberti
https://manueluberti.eu
Details
Message ID
<CYHQ5TWCD9TQ.1RW74SDH7X1ZQ@taiga>
In-Reply-To
<774b3457-9e70-43c1-a0ed-496bf1f9fc0c@inventati.org> (view parent)
DKIM signature
pass
Download raw message
acurl is deprecated, please update your build to use hut(1) instead
(among other things it will actually print a useful error message).

Relatedly, the most common reason why this is failing at the moment is
because of users who need to update their apex record (again):

https://srht.site/custom-domains

It's now 46.23.81.157, which should be stable in the long term.
Details
Message ID
<170557464274.7.1867633220136567815.250604500@ploum.eu>
In-Reply-To
<CYHQ5TWCD9TQ.1RW74SDH7X1ZQ@taiga> (view parent)
DKIM signature
pass
Download raw message
On 24/01/18 10:30, Drew DeVault wrote:
>acurl is deprecated, please update your build to use hut(1) instead
>(among other things it will actually print a useful error message).

It should be noted that for websites with more than a few hundreds of 
files, hut could fail randomly. 

A few people, like myself, where thus using acurl because it failed a 
lot less (and, even, in the last months, started to work reliably).

I’m currently testing and managed to get hut to randomly work (which 
never happened one year ago, so this is a clear progress). But it also 
randomly fail. Maybe those failures will stop completely once the dust 
settle. Crossing my findger.
>
>Relatedly, the most common reason why this is failing at the moment is
>because of users who need to update their apex record (again):
>
>https://srht.site/custom-domains
>
>It's now 46.23.81.157, which should be stable in the long term.

This should be put in flashing red letter for people, like me, who 
thought they already had changed the IP. There was a temporary IP during 
the outage, so it should be changed again.

-- 
Ploum - Lionel Dricot
Blog: https://www.ploum.net
Livres: https://ploum.net/livres.html
Details
Message ID
<CYHRS8MFWWQN.3DBAKRB3E2H1S@taiga>
In-Reply-To
<170557464274.7.1867633220136567815.250604500@ploum.eu> (view parent)
DKIM signature
pass
Download raw message
On Thu Jan 18, 2024 at 11:43 AM CET, Ploum wrote:
> This should be put in flashing red letter for people, like me, who 
> thought they already had changed the IP. There was a temporary IP during 
> the outage, so it should be changed again.

We're going to run a check against all sites to see if their apex record
is correct, and email affected users who need to update. The current IP
should be permanent; the previous IP was the temporary one (and we
communicated this when we disseminated it to users).
Reply to thread Export thread (mbox)