-
Notifications
You must be signed in to change notification settings - Fork 44
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
internal.flushLog: Flush RPC: service bridge returned HTTP 400 ("App Engine APIs over the Service Bridge are disabled.\nIf they are required, enable them by setting the following to your app.yaml:\n\nbeta_settings:\n enable_app_engine_apis: true\n") #82
Comments
I'm getting this error all the time as well |
Hi! Any update on this? I migrated from standard GAE to flexible environment, and faced this issue when trying to do a POST request to a resource outside my app. Regards, |
Hi (and apologies for the late response :)), This error should only occur when you're attempting to make requests over the compatibility service bridge (this would occur only if you're making HTTP requests to appengine.googleapis.internal). If that's the case, it's likely a library you use (or the runtime itself) is making these requests. Do you have a repro? It'd be useful to help pin down what could be making these requests on our end. |
Thank you Cynocracy! Here is the code I'm trying to run: `
} I get the error from the client.Do(method) line. I dont know if it is the case you pointed out. The real thing is I need to make a post to an external resource... it is an external system implementing oauth2. Please, let me know if it is enough for you. Best regards, |
I also created this issue in the public tracker: https://issuetracker.google.com/u/2/issues/71050584 |
Ah, I see the issue: URLFetch is itself a compatibility API, you should be able to make HTTP requests normally using something idiomatic in the language. For go, I suppose that means the http package https://golang.org/pkg/net/http/ The main differences between Flex and Standard is the lack of these APIs, as well as an easier access to 'external' resources, so it makes sense that there'd be some confusion here. If there are any docs you think should be updated, feel free to link them and I can try to get someone to take a look :) |
Thank you very much Cynocracy!
In the other hand, this page: https://cloud.google.com/appengine/docs/flexible/go/flexible-for-standard-users says:
Anyhow, now, it is more clear for me! I appreciate your support and, I'd like to take advantage of this thread to ask you about one more confusions between standard and flexible flavors: it is about the tracing mechanism. I started a couple of threads in gce-discussion forum: Main thread: https://groups.google.com/forum/#!topic/gce-discussion/1INCUtvc300
The main thread, despite of it is working for me now, it focuses on the confusing documentation, pleaste take a look on my posts. Thanks again! |
What is the status of this? These errors just started flooding my logs. Is this whats causing my server to lag horribly? |
The api_proxy sidecar has now been deleted. |
The following error for GAE Go Flexible is logged every second:
internal.flushLog: Flush RPC: service bridge returned HTTP 400 ("App Engine APIs over the Service Bridge are disabled.\nIf they are required, enable them by setting the following to your app.yaml:\n\nbeta_settings:\n enable_app_engine_apis: true\n")
The error is coming from:
https://github.com/GoogleCloudPlatform/appengine-sidecars-docker/blob/master/api_proxy/proxy.go#L15
Please note that app.yaml is no longer using any custom runtime:
runtime: go
api_version: go1.8
env: flexible
So, it should stop generating the logs above. Can we please stop logging the above message?
The text was updated successfully, but these errors were encountered: