Cannot upload blob via Google Cloud Storage

71 views
Skip to first unread message

Long Tran

unread,
Aug 5, 2015, 2:23:29 PM8/5/15
to Google App Engine
I am getting these error when trying to create new blob file. 
def write_blob(self, data, info):
        filename = "/bucket/{}".format(info['name'])
        with gcs.open(filename=filename, content_type=info['type'], mode='w') as f:
            f.write(data)
            blobstore_filename = '/gs' + filename
            r = blobstore.create_gs_key(blobstore_filename)
        return r


  1. 2015-08-05 10:21:29.893 suspended generator _make_token_async(rest_api.py:103) raised InternalError()
  2. W2015-08-05 10:21:29.893 suspended generator get_token_async(rest_api.py:214) raised InternalError()
  3. W2015-08-05 10:21:29.894 suspended generator urlfetch_async(rest_api.py:247) raised InternalError()
  4. D2015-08-05 10:21:29.894 Tasklet is <bound method _StorageApi.urlfetch_async of <cloudstorage.storage_api._StorageApi object at 0xfb6a38d0>>
  5. D2015-08-05 10:21:29.894 Got exception "InternalError('',)" from tasklet.
  6. D2015-08-05 10:21:29.894 Retry in 0.1 seconds.

Nick (Cloud Platform Support)

unread,
Aug 6, 2015, 12:20:11 PM8/6/15
to Google App Engine
Hi Long,

I'm a member of the Cloud Platform Community Support team, and while we do monitor these threads, along with stackoverflow and the public issue tracker, I have to let you know that unfortunately Google Groups isn't the place to post specific technical issues, as this forum is meant more for general discussion of the platform and services. 

If you believe you've identified an issue with the platform itself (behaviour is different from documentation or error occurs during normal use), then you should proceed to open a public issue tracker issue with enough detail to reproduce the issue on our side, or if possible, an attached app that can be used to directly observe the behaviour. 

In your case, the issue doesn't seem to necessarily be reproducible, and may be only affecting your app. If you open a public issue tracker issue with the app id and an affected timeframe, we may be able to observe the issue on our side, so when you create your issue, I suggest you to do that.

If you would like to open a thread in this forum discussing the platform or services in more broad terms, starting a discussion that would be useful for other users to join in to, feel free to do so.

Have a great day!

-- Nick
Reply all
Reply to author
Forward
0 new messages