Skip to content

gateway timeout results in half-posted document #3791

@mcr

Description

@mcr

What happened?

I submit an ID through the API, but it takes too long, I guess, and I get an error from cloudflare.
So I try again, and it seems that the submission has already taken place.

a) maybe the error should include the hostname as part of the URL? Yes, it's relative, but the error is an API return...
b) maybe it's okay if I submit a second time, and the input file is identical, I get the same reply, not an error?
c) maybe, if it's going to take more than a few s, that it should go into a job queue, and I should get a reference to a job activity that I can query for status.

I know how to deal with this problem, but it may be very confusing to others.

curl -S -F "user=mcr+ietf@sandelman.ca" -F "xml=@constrained-voucher.xml" https://datatracker.ietf.org/api/submit
<html>
<head><title>504 Gateway Time-out</title><script async src='/cdn-cgi/bm/cv/669835187/api.js'></script></head>
<body>
<center><h1>504 Gateway Time-out</h1></center>
<hr><center>nginx/1.16.1</center>
<script type="text/javascript">(function(){window['__CF$cv$params']={r:'6f8391f5ca7aa228',m:'hcH7aS7BmeAwZupk.T.s.agLaCN2ok3q5PAjruxmcRo-1649343030-0-Ade8JFZjpQuHgOF2ZIwhmQSTZTxw+WQj1rPDXZ7vVyeF1SO5YSoL8qBIdlkrsq+6e5nHcKL59AiIHZmR1MG8gWb7wng3D48ubYutQbl28Gms6x66hksy1ET8IdUfT3hwQQ==',s:[0x95d6cbcc72,0xc08ac8c8f1],}})();</script></body>
</html>
[make submit]: u:5.37s s:0.46s r:67.44s 8% T:0 D:0 T:0 M:55
0sw 10+126667pf 8328i 1000o 0r 0s 0sig 553waits 278csw
obiwan-[work/anima/constrained-voucher](2.6.6) mcr 10087 %make submit
curl -S -F "user=mcr+ietf@sandelman.ca" -F "xml=@constrained-voucher.xml" https://datatracker.ietf.org/api/submit
Validation Error: {'__all__': ['A submission with same name and revision is currently being processed. <a href="/submit/status/125597/">Check the status here.</a>']}%                     

What browser(s) are you seeing the problem on?

Not Applicable

Code of Conduct

  • I agree to follow the IETF's Code of Conduct

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions