-
Notifications
You must be signed in to change notification settings - Fork 45
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
Problem with App Engine Java with new HTTP Connector - It's return status 403. "Error: !Secure" #251
Comments
Thanks for the report, looking! |
While we investigate, there is another setting you can try that will help us:
That will keep javax.servlet.* APIs, but move to Jetty12. Since the code path is a bit different, it would be nice to see if you see the same issue. |
Thank Ludoch, As I checked from https://cloud.google.com/appengine/docs/standard/java-gen2/upgrade-java-runtime As I see from the "Java runtime compatibility" table , I don't see Java 17 with Jetty 12 is listed in the table. The question is, If I add properties "appengine.use.EE8" and set it to true on Java 17. Is it supported configuration in Production environment? I'm worry, because it's not list in the table. I need to run my server app on supported production environment without any risk. So please make sure on this. I've no plan to update to Java 21 yet. I will be feel good and safe if that table included Java 17 and Jetty 12 on the list. :) |
Ack! |
Hi Ludoch , After I added property "appengine.use.EE8" (jetty 12) to my test service. Now it's running as expected with new HTTP connector. No return 403 as I seen right now. So Refer to my previous comment above, If I use "appengine.use.EE8" with Java 17 , it's in supported production environment right? No side effect or any risk? So that I will apply this to my production environment next. Waiting for your confirmation. Thanks Ludoch |
…etty9.4 runtimes Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
The last PR should do the fix for Jetty94 path (default in Java17). |
The fix is now propagating to production environment (currently 65%, eta before end of the weekend) |
Refer to "Google App Engine Java new performant HTTP connector" document. https://github.com/GoogleCloudPlatform/appengine-java-standard/blob/main/httpconnector.md
So I decide to test with my app. After I add this below properties into appengine-web.xml
property name="appengine.use.httpconnector" value="true"
and then re-deploy the service. Perform testing by HTTP GET on the browser, it's return status 403. And display the message: Error: !Secure" on the browser.
So I have revert it by change the value from 'true' to 'false' and re-deploy everything work as usual.
My environement is below ...
Runtime: java17
Using app-engine-apis: true
on F4 instance, automatic scaling.
Anybody has this kind of issue like me?
The text was updated successfully, but these errors were encountered: