Esoth
(Eric Wohnlich)
July 16, 2018, 3:40pm
1
Although I can access http://dist.plone.org/release/5.0.5/versions.cfg in a browser, it is failing in buildout with a 403 error. I can reproduce the error just using urllib2, which buildout uses
import urllib2
urllib2.urlopen('http://dist.plone.org/release/5.0.5/versions.cfg')
All of the adjacent versions work without a problem. And in fact I can get this to work with a no-cache header
import urllib2
url='http://dist.plone.org/release/5.0.5/versions.cfg'
request = urllib2.Request(url)
request.add_header('Pragma', 'no-cache')
urllib2.build_opener().open(request)
Is this likely a cache on the dist.plone.org server?
jaroel
(Roel Bruggink)
July 16, 2018, 4:29pm
2
Might be solved?
python 2.7.15:
urllib2.urlopen('http://dist.plone.org/release/5.0.5/versions.cfg').read()
"[buildout]\nextends = http://dist.plone.org/versions/zopetoolkit-1-0-8-zopeapp-versions.cfg\n http://dist.plone.org/versions/zope-2-13-24-versions.cfg\n\n[versions]\n################\n#(...)
tkimnguyen
(T. Kim Nguyen)
July 17, 2018, 3:07pm
3
If it's still not working for you, please email admins@plone.org to let them know
Esoth
(Eric Wohnlich)
July 17, 2018, 3:20pm
4
Looks like our proxy cached a bad request, flushing it resolved this issue.
1 Like
idgserpro
(Idgserpro)
July 19, 2018, 5:00pm
5
Some years a go we had a similar problem (https://github.com/plone/Products.CMFPlone/issues/606 ), but instead of 403 we were getting a gzipped file, and used the strangest workaround we've ever seen .