google-app-engine


GAE Custom domain mapping failure after adding SSL Wildcard certificate


We have three projects in Google App Engine, each of them have a custom sub-domain name mapped to it like this:
Project A: projecta.domain.com
Project B: projectb.domain.com
Project C: projectc.domain.com
That worked very well until we added a wildcard ssl-certificate to Project A. Suddenly all three subdomains are mapped to Project A.
They appeared under Project A, custom domains (Project A->App Engine->Settings->Custom Domains) and not one under each Project B and Project C, and when browsing to projectb.domain.com and projectc.domain.com, we get content from projecta.domain.com and not from b and c.
We have tried this but none of it fixes the problem:
Removed the SSL-certificate
Removed all custom domains and added them again
Disabled all projects, removed all domains, added them again
and enabled the projects
Logged in as different users, verify the domain again, add/remove etc
Two more notes:
We also have a fourth project, Project D (projectd.domain.com), which strange enough has not been affected and still works.
When trying to add a custom domain under project B or C (Project [B/C]->App Engine->Settings->Custom Domains), clicking on Add button does not give any response at all. Checking network, the click performs a call to Console servers, and when checking Project A (App Engine->Settings->Custom Domains), the custom domain name has appeared there instead.
Edit 1:
After deleting all custom domains in every project, when trying to add custom domain projectb.domain.com to Project B, we get this error message "This domain points to another app. If you point it to this app, the other app will stop working." But it does not appear in any another app. After confirming domain is not added.
Edit 2:
After deleting all custom domains in every project, when adding projectb.domain.com to Project B first, nothing appears. But when adding projecta.domain.com to Project A afterwards, both projectb and projecta appears under Project B. And when trying to delete projecta from projectb, we get the error message "Error. Failed to delete mapping.". Something is really wrong here.
Does anyone know how to access the domain mappings settings in any other way? It seams like the domain mapping data has been corrupted and we are stucked.
Edit 3:
For some unknown reason everything worked again after 8 hours of trying and failing, and I have no idea why. Suddenly I could delete all custom domains and when I added them they appear under the correct project. I've tried the exact same thing several times before. However, when I now add the SSL-certificate again every custom domain mapping moved by itself from their own project to the very project I added the SSL certificate to. Can somehow the SSL-certificate change the domain mappings?
I found a solution! There is a bug in Google App Engine Console when adding custom domains and connect to a ssl-certificate in different project right after each other.
ADDING CUSTOM DOMAINS
Steps to reproduce the bug:
Select a project in the toolbar
Goto App Engine->Settings->Custom Domains and after pressing "Add Custom Domain", add a sub-domain and press "Add"
Nothing happens, but when going back to "Custom Domains" the new subdomain appears there
Change project in the toolbar
Click on "Custom Domains", press "Add Custom Domain"
Add a sub-domain and press "Add"
The domain added in step 6 is now in fact mapped to the project selected in step 1.
Workaround
Make a page refresh in the browser between step 5 and 6.
CONNECT SEVERAL PROJECT TO WILDCARD SSL-CERTIFICATE
Steps to reproduce the bug
After uploading a Wildcard SSL-certificate
Select a project in the toolbar
Goto App Engine->Settings->SSL Certificate
Click on your SSL-certificate, then check the domain and press "Save"
Change project in the toolbar
Click on "SSL Certificate",
Click on your SSL-certificate, then check the domain and press "Save"
The custom domain previously connected to the project selected in step 5 is now added to the project selected in step 2.
Workaround
Make a page refresh in the browser between step 6 and 7.

Related Links

How to ensure that my entity will never be an orphan?
GAE custom Go runtime - internal.flushLog error
Google Datastore - Search Optimization Technique
Can't lease tasks by service account
Why custom domain “myapp.com” which replaces “myapp.appspot.com” took so long to load when comparing to “myapp.appspot.com”?
Does objectify have a get_or_insert equivalent
Custom domain from google not routing to App engine site
Unable to stop or delete datalabs environment on Google Cloud Platform
Is there a way to interactively create a new Datastore entity kind for Go GAE apps?
Is IP address from GoogleAppEngine URLFetch in same project static?
Index Disadvantages
Communications link failure when connect to Google Cloud SQL(second gen) only from prod
How do I add a Google Cloud Endpoints Module to my Android project in IntelliJ?
Does anyone know how to configure grunt-gcloud?
Can I have two instances on same App Engine project - Java servlet and Endpoints side by side?
Validate appspot application for mailgun

Categories

HOME
beautifulsoup
assembly
cobalt
ns-3
obfuscation
carousel
rom
telegram-bot
pyqt4
nuget-package
nfs
rcloud
fosrestbundle
augeas
google-schemas
minecraft-forge
dkim
java.util.logging
bitnami
keytool
jquery-ias
zxing
strongname
surveymonkey
slidetoggle
has-and-belongs-to-many
google-cast
kudu
kodi
android-sugarorm
login-script
activexobject
xcode7.3
openalpr
google-earth-engine
google-data-api
spring-mvc-test
apache-stanbol
microsoft-metro
clang++
apache-directory
rfc3339
httr
stdmap
excel-dna
filehandle
otp
oozie-coordinator
lsyncd
node-request
docpad
winusb
envi
windows-azure-queues
i386
scaffolding
avspeechsynthesizer
pushbots
invoke-sqlcmd
rasterize
concurrentmodification
xenomai
sha512
user-permissions
spy++
cbind
live555
malformedurlexception
radiant
windows-embedded-standard
spring-3
model-driven-development
dtmf
kaleidoscope
bjyauthorize
dopostback
pstack
listitem
cross-database
stress
agility.js
ikimagebrowserview
promotion-code
uipagecontrol
interprocess
lalr
lobo-cobra
product-management

Resources

Encrypt Message