Skip to content

Can't call App Engine APIs on Google App Engine standard environment #1486

Open
@emathis11

Description

@emathis11

I have followed the instructions to run a Ktor server on App Engine standard environment but unfortunately, this only works as long as you're not calling any App Engine APIs. When you call any of them, it fails with the following error:

Can't make API call memcache.Set in a thread that is neither the original request thread nor a thread created by ThreadManager

The Google Cloud java library APIs don't have this threading limitation, but unfortunately I can't use them as I need to access the App Engine Memcache service, which is only available through the App Engine APIs.

Is there any way around it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    uxUser Experience issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions