It looks like BlobStore upload is still broken. We use Python 2.7 and here 
is the boilerplate code used in our system:

class MainHandler(webapp2.RequestHandler):

  def getUploadForm(self):
    upload_url = blobstore.create_upload_url('/imageUpload')

    self.response.write('<html>\n<body>\n')
    self.response.write('<form action="%s" method="POST" 
enctype="multipart/form-data">\n'% upload_url)
    self.response.write('<input type="file" name="file" 
accept=".png"><br>\n')
    self.response.write('<input type="submit" name="submit" 
value="Submit"></form>\n')
    self.response.write('</body>\n</html>\n\n')
  .....

After the user hits the Submit button, a 500 error will be returned. The 
expected behavior is that the image will be uploaded to BlobStore and then 
navigate to myDomain.com/imageUpload. Note that the 500 error occurred 
before navigating to image upload success handler myDomain.com/imageUpload. 
Because the issue is not on our codebase, we cannot see any errors/traces 
on Google Cloud Console/App Engine Dashboard.

The same code has worked for at least 5 years.  We understand that we need 
to move to Google Cloud Storage and switch to Python 3, but we have a 
complex system and it will be a huge undertaking for us. I really hope 
Google can fix this issue as soon as possible. Thanks!!
============================

   1. Request URL: 
      
      
https://www.mydomain.com/_ah/upload/AMmfu6axah0bzR6QPuVaEb1I3WnGVpuSAU11QSdFFGLWFl15YMvLUJEqN6lZZw_RxH6pQp7TOORbPEApZe4OZNnreTAjLNiYuKgp0AGlghpIZ_iYtUDLmKSSO11lTEecdu_sFcQV3n7qsPZ28OWss_NVN6c5CA2p794poyCYpBWiLBarvdCksLtKJJA0IUiuNcyJQRD6FmDPHonHngD0d8FImpWqa6_XNA/ALBNUaYAAAAAXz85bB_Pf7F0dGmJhgGZNsyQ9RN_d5lv/
      2. Request Method: 
      POST
      3. Status Code: 
      500 
      4. Remote Address: 
      [2607:f8b0:4000:816::2013]:443
      5. Referrer Policy: 
      no-referrer-when-downgrade
      1. Response Headers
      1. content-length: 
      0
      2. content-type: 
      text/html; charset=UTF-8
      3. date: 
      Fri, 21 Aug 2020 02:53:14 GMT
      4. server: 
      UploadServer
      5. status: 
      500
      6. x-guploader-uploadid: 
      
      
AAANsUkAqnyXebkSBTKiYHZ4ObP9rk0weOQ1jiBRXpkDQhdc73HeJydQvAIR6_bl-Z-VG-QWfWqDMe4FP3ErHqdYMObvuyA44A
      2. Request Headers
      1. :authority: 
      www.mydomain.com
      2. :method: 
      POST
      3. :path: 
      
      
/_ah/upload/AMmfu6axah0bzR6QPuVaEb1I3WnGVpuSAU11QSdFFGLWFl15YMvLUJEqN6lZZw_RxH6pQp7TOORbPEApZe4OZNnreTAjLNiYuKgp0AGlghpIZ_iYtUDLmKSSO11lTEecdu_sFcQV3n7qsPZ28OWss_NVN6c5CA2p794poyCYpBWiLBarvdCksLtKJJA0IUiuNcyJQRD6FmDPHonHngD0d8FImpWqa6_XNA/ALBNUaYAAAAAXz85bB_Pf7F0dGmJhgGZNsyQ9RN_d5lv/
      4. :scheme: 
      https
      5. accept: 
      
      
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
      6. accept-encoding: 
      gzip, deflate, br
      7. accept-language: 
      en-US,en;q=0.9
      8. cache-control: 
      max-age=0
      9. content-length: 
      205103
      10. content-type: 
      multipart/form-data; boundary=----WebKitFormBoundaryyCwtZU7W4GyPos5l
      11. cookie: 
      
__utmz=157282283.1597952850.1.1.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided);
 
      
__gads=ID=53591dab302103ee:T=1597952850:S=ALNI_MaF4YdKpIKyFr4pSlgJeMJlFfmocQ; 
      __utmc=157282283; 
      __utma=157282283.1009616170.1597952850.1597965252.1597975354.3; __utmt=1; 
      __utmb=157282283.9.10.1597975354
      12. origin: 
      https://www.mydomain.com
      13. referer: 
      https://www.mydomain.com/mypage.html
      14. sec-fetch-dest: 
      iframe
      15. sec-fetch-mode: 
      navigate
      16. sec-fetch-site: 
      same-origin
      17. sec-fetch-user: 
      ?1
      18. upgrade-insecure-requests: 
      1
      19. 
      user-agent: 
      Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, 
      like Gecko) Chrome/84.0.4147.135 Safari/537.36
      20. 
      
On Thursday, August 20, 2020 at 4:49:30 PM UTC-5 henry....@gmail.com wrote:

> Do you want to say the analyst managed to upload an image to the BLOB? 
> Please provide an URL to this BLOB please?
>
>
> On Thursday, August 20, 2020 at 2:21:17 p.m. UTC-7 Elliott (Cloud Platform 
> Support) wrote:
>
>> Hello Henry,
>>
>> I'm sorry that you've had to do through this multiple times. I've looked 
>> at one of the issue trackers you opened with us. The analyst could not 
>> reproduce your scenario and left a message for you.
>>
>> On Wednesday, August 19, 2020 at 3:23:32 PM UTC-4 henry....@gmail.com 
>> wrote:
>>
>>> Of you can do that Jason, but since February 20th I created 5 private 
>>> issue trakers but problem still not solved. 
>>>
>>>
>>> On Wednesday, 19 August 2020 12:02:40 UTC-7, David (Cloud Platform 
>>> Support) wrote:
>>>>
>>>> Jason, if you are still experiencing this issue and you believe it’s an 
>>>> issue on our end, you are able to create a private Issue Tracker 
>>>> <https://issuetracker.google.com/issues/new?component=491168&template=1161155>
>>>>  
>>>> and provide information such as Project ID. If determined this issue is 
>>>> not 
>>>> only individually affecting you, an investigation will be launched. 
>>>> Otherwise, you are also able to open a support ticket with GCP support 
>>>> <https://cloud.google.com/support#tab2> if you have access to a 
>>>> support package.
>>>>
>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/5ac4ca61-6844-4b8b-be18-8bcaaeadd78cn%40googlegroups.com.
  • [google-appeng... Henry Saldyga
    • [google-a... 'Aref Amiri (Cloud Platform Support)' via Google App Engine
      • [goog... Henry Saldyga
        • [... Jason Li
          • ... 'David (Cloud Platform Support)' via Google App Engine
            • ... Henry Saldyga
              • ... 'Elliott (Cloud Platform Support)' via Google App Engine
                • ... Henry Saldyga
                • ... Jason Li
                • ... Jason Li
                • ... 'Mary (Google Cloud Support)' via Google App Engine

Reply via email to