#stephricardo-applepay-verification

1 messages · Page 1 of 1 (latest)

near rock
#

Not immediately sure. Can you provide your account id? That will help me look closer at your setup

tropic pagoda
#

Can I send this to you via a direct message?

near rock
#

Sure, or you can send it in this chat

#

I can use it to look up further info but others cannot

#

Whichever you would prefer

tropic pagoda
#

Thank you again!

near rock
#

So it looks like I was accessing your file incorrectly before

#

If I use curl to access the apple-developer-merchantid-domain-association file from one of your working domains I actually see the file
curl -s https://working-subdomain.yourwebsite.com/.well-known/apple-developer-merchantid-domain-association

#

But if I do that same curl command pointing at the domain that is having issues I get an HTML response

#

So the issue appears to be that that path at the subdomain you are having an issue with is not directly serving the domain association file

#

If you do curl at the domain that isn't working do you recognize what is getting sent back?

tropic pagoda
#

When I visit the path in my browser, I am able to see if successfully. When I try the curl command, I get back the file data as the response

near rock
#

Yeah same. I did browser too at first which somehow overlooked this

tropic pagoda
#

When I use the curl command on another subdomain that registered successfully, it returns the same output

near rock
#

Oh interesting. As in for both of them you get the domain association file?

#

Or both you get the HTML? I am still seeing different responses

tropic pagoda
#

I see the same domain association file for both responses

#

When I use curl on the domain that has an issue, I see only the domain association file data returned. I am not seeing html in the response.

#

When I use curl on a domain that registered successfully, I see the same domain association file data as the response too

near rock
#

Hey sorry for the silence here. Still looking in to this. Many of my colleagues can see the file when they do the curl command that most accurately simulates how Apple tries to pull your domain file. curl -v --compressed https://subdomain.yourwebsite.com/.well-known/apple-developer-merchantid-domain-association -H 'Accept;' -H 'Accept:' -H "Via: https/1.1 usatl4-edge-bx-014.ts.apple.com[11FD071B] (ApacheTrafficServer/6.1.2)" -H "User-Agent: oslopartner Client 1.0" -H "Accept-Encoding: gzip"

#

It looks like the colleague and I that are getting the strange HTML are getting something from cloudflare so something may unexpectedly be getting cached

tropic pagoda
#

No problem! Thank you for your help! So due to this it could occur at any time for any subdomain? Ok. When I run this curl command for the domain with the issue, I do see the expected association file output. I will check out the docs.

#

We won't be able to disable any protection we have, but we can look into the allowed ips! Thank you!

near rock
#

I am unsure, I will consult my colleagues further on this. Will get back with what I hear.

#

Sounds good, let me know if that helps. If it doesn't I will see what else can be done

tropic pagoda
#

Ok! Thank you so much! I really appreciate the investigation here. Those docs are really helpful. I will let you all know if we encounter further issues.

near rock
#

So I think for this you should just need the webhook notification IPs for this. Those would our IPs that would reach out to your server, the fuller list would include IPs you reach out to

tropic pagoda
#

Got it. Thank you!!

#

I appreciate you reopening this to answer the question.

#

Hope you have a good day!

near rock
#

Of course. Let me know if that helps. I've still been having trouble finding out exactly what is failing here so I'm still unsure on your "can this happen to any subdomain at any time" question.

tropic pagoda
#

Yeah, I'm hoping this will help resolve the issue. We'll reach out if we find it continues and we can't register this domain once we've applied our changes.

oblique mantle
#

@tropic pagoda hello! reopened this cause we have IDs and some state here, looking one sec

tropic pagoda
#

Thank you @oblique mantle!

oblique mantle
#

@tropic pagoda so some of us are still seeing a different response when making that curl command

tropic pagoda
#

When you can, could you please send the response you see as a direct message?

#

Thank you for looking into it @oblique mantle . So you see an html page?

oblique mantle
#

I think the first few times, Pompey was seeing some html/js being spit out but now is seeing the response, so I'm not sure what it is but maybe some Cloudflare config that isn't returning the file immediately?

tropic pagoda
#

We'll double check. We haven't been able to replicate this issue on our end.

Can any of the js/html output that was seen please be shared? Did you or a member of the team see this output today after the allowed IP changes we made?

oblique mantle
#

Pompey saw it today but is in a meeting but I'll ask them if they have that output still open, to share

tropic pagoda
#

Ok. Thank you @oblique mantle!

near rock
#

This is the response I see when I run curl -v --compressed https://yoursubdomain.yourdomain.com/.well-known/apple-developer-merchantid-domain-association -H 'Accept;' -H 'Accept:' -H "Via: https/1.1 usatl4-edge-bx-014.ts.apple.com[11FD071B] (ApacheTrafficServer/6.1.2)" -H "User-Agent: oslopartner Client 1.0" -H "Accept-Encoding: gzip"

tropic pagoda
#

Thank you! I will follow up soon.

tropic pagoda
#

Feel welcome to archive the issue if needed, and I can reach back if we haven't found the issue. I appreciate all your help!