GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [GAE-S] can't upload zip files · Issue #734 · GoogleCloudPlatform/nodejs-docs-samples

[GAE-S] can't upload zip files #734

New issue
Copy link
New issue
Copy link
Closed
Closed
[GAE-S] can't upload zip files#734
Copy link

Description

@VikramTiwari
VikramTiwari
opened on Sep 7, 2018
Issue body actions

Using the example here to upload a file works totally fine from local (to gs) but won't work for zip files when deployed to app engine (standard). Only change made to file is to increase the limit to 1 GB on this line.

Attached are the sample zip files:

FL_insurance_sample.csv.zip
SampleZIPFile_10mbmb.zip

Not sure what I am doing wrong.

Activity

  1. VikramTiwari commented on Sep 11, 2018

    @VikramTiwari
    VikramTiwari
    on Sep 11, 2018
    Author
    More actions

    @jasonpolites Any help on this?

  2. jasonpolites commented on Sep 11, 2018

    @jasonpolites
    jasonpolites
    on Sep 11, 2018
    Contributor
    More actions

    App Engine has a 32MB file size (POST BODY) limit (https://cloud.google.com/appengine/quotas, search for "Incoming bandwidth"). We have some docs in Cloud Functions for how to do "large" file uploads that should work in App Engine without much re-work https://cloud.google.com/functions/docs/writing/http#file_uploads_using_cloud_storage

  3. VikramTiwari commented on Sep 12, 2018

    @VikramTiwari
    VikramTiwari
    on Sep 12, 2018
    Author
    More actions

    Hey @jasonpolites Neither of the attached files are more than 30MB (including the whole POST body). On such files I am getting the proper error 413 Request Entity Too Large. But for zip files, I am getting the 500 Server Error even for 10kb zip files.

    The code I am using is the same as in the example here:
    https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/master/appengine/storage/standard/app.js

    Not sure what I am doing wrong. cc: @jmdobry

    Gonna try the cloud-functions method.

  4. VikramTiwari commented on Sep 12, 2018

    @VikramTiwari
    VikramTiwari
    on Sep 12, 2018
    Author
    More actions

    Using signed URLs worked fine. If I get time, I will add a PR for the signed-urls sample for app engine too.
    Thanks for all the help @jasonpolites and @jmdobry 👍

  5. VikramTiwari
    closed this as completedon Sep 12, 2018
  6. grayside
    added a commit that references this issue on Nov 11, 2022

    chore: release 4.1.2 (#734)

    9f4b600
  7. ace-n
    added 4 commits that reference this issue on Nov 12, 2022

    chore: release 4.1.2 (#734)

    8f2752f

    chore(deps): update dependency @google-cloud/storage to v6 (#734)

    15063e8

    chore(deps): update dependency @google-cloud/storage to v6 (#734)

    3886dca

    chore(deps): update dependency @google-cloud/storage to v6 (#734)

    c91306a
  8. Shabirmean
    added a commit that references this issue on Feb 16, 2023

    test: fix sample test for listJobs (#734)

    5854387
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.