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

Package publication fails - CloudFlare 413 Request Entity Too Large #2910

Closed
ymartin59 opened this issue Sep 11, 2017 · 4 comments
Closed

Package publication fails - CloudFlare 413 Request Entity Too Large #2910

ymartin59 opened this issue Sep 11, 2017 · 4 comments

Comments

@ymartin59
Copy link
Contributor

Since I has been granted access to repository, I have never been able to publish packages.

===>  Preparing conf
src/conf/privilege
src/conf/PKG_CONX
/spksrc/spk/tvheadend/work-bromolow-5.2/conf/privilege
/spksrc/spk/tvheadend/work-bromolow-5.2/conf/PKG_CONX
(cd /spksrc/spk/tvheadend/work-bromolow-5.2 && tar cpf /spksrc/spk/tvheadend/../../packages/tvheadend_bromolow-5.2_4.2.3-10.spk --group=root --owner=root package.tgz INFO PACKAGE_ICON.PNG PACKAGE_ICON_256.PNG scripts WIZARD_UIFILES conf)
http --verify=no --auth XXXXXXXXXXXXXXX: POST https://synocommunity.com/packages @/spksrc/spk/tvheadend/../../packages/tvheadend_bromolow-5.2_4.2.3-10.spk
HTTP/1.1 413 Request Entity Too Large
CF-RAY: 39c9aea05d773e56-ZRH
Connection: keep-alive
Content-Type: text/html
Date: Mon, 11 Sep 2017 09:43:23 GMT
Server: cloudflare-nginx
Set-Cookie: __cfduid=XXXXXXXXXXX; expires=Tue, 11-Sep-18 09:43:23 GMT; path=/; domain=.synocommunity.com; HttpOnly
Transfer-Encoding: chunked

<html>
<head><title>413 Request Entity Too Large</title></head>
<body bgcolor="white">
<center><h1>413 Request Entity Too Large</h1></center>
<hr><center>nginx/1.4.6 (Ubuntu)</center>
</body>
</html>

make[1]: Leaving directory '/spksrc/spk/tvheadend'

As far as I understand, CloudFlare rejects my requests because of body payload length... So I wonder if other SynoCommunity members have same issues - I would say no, as noticed @cytec published recently after my first failed trial.

@ymartin59 ymartin59 mentioned this issue Sep 11, 2017
3 tasks
@ymartin59
Copy link
Contributor Author

Related to #2825

@cytec
Copy link
Member

cytec commented Sep 12, 2017

uhm that seems strange!
I've had all kinds of errors when publishing SPK's over the api but mostly that where timeout or some wrong/strange duplication errors.... that one is new to me too

@Safihre
Copy link
Contributor

Safihre commented Sep 12, 2017

Maybe you could try with my PR #2905 since that one is ready to go?
To see if it's package dependent?

@Diaoul
Copy link
Member

Diaoul commented Sep 12, 2017

Use api.synocommunity.com: that subdomain doesn't go through CloudFlare.
I think you didn't use make setup-synocommunity to setup the repo, because that's the default.

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