I have a CRM Extension trying to load when a contact page is being opened in a test hub, and I'm not seeing my data-fetch uri being requested. In the monitoring section of my developer account, I see an IOError. I can copy paste the request in my browser and I see the request.
So, the way we automatically provision certs was missing the addition of intermediate certs, so the cert chain was not "complete" enough for postman / curl (but apparently for chrome ?).
@Kevin_Griffin that is amazing. So happy you were able to get that and thank you for the link to SSL labs and helping out a fellow developer! This is incredibly helpful.
Got it. I included more details on the info i gave to our developers so I hope they can clarify what the restrictions are on the certs we accept, if there are any restrictions. Hope to get back to you as soon as possible
So, the way we automatically provision certs was missing the addition of intermediate certs, so the cert chain was not "complete" enough for postman / curl (but apparently for chrome ?).
@cameroncollective, I was able to make a successful GET request to your URL (https://srv1.cameroncollective.com/learning_api/fetch) here when SSL certificate verification was turned off as @Kevin_Griffin mentioned, so your hunch about the certificate is probably right. I'm going to get clarification from the CRM extensions team so that I can provide more details on what we require for SSL certs.
Got it @Kevin_Griffin, so you're all set now? Glad I could help. If I could now flip the tables on you, how were you able to disable the SSL verification in Postman? I'm not aware of where to find that setting!
We're thinking maybe something is wrong with the cert chain. Not sure you guys can help us, we're investigating on our side. I follow up if we resolve it, hopefully it will help others in the future with cert issues.
The only difference I can see between your app and mine is that if you check the Network on your webpage and look at the response, your JSON is formatted like this:
Whereas mine looks like this:
I also made your app have the same base URI structure as mine. Here's what my HubSpot app looks like:
Hi @Kevin_Griffin can you try changing the URIs of the data that comes back to be one of your baseURI's to see if this fixes your issue?
@cameroncollective, it looks like your data is stringified when I go to your fetch URL, can you make the data that gets returned just be JSON, rather than the stringified version of your JSON object?
Hi @cameroncollective, I'm still looking into this to see what's going on. I don't think this has to do with your SSL cert. I'm looking to see if there's something with the format of your JSON data, but I'm still checking. @Kevin_Griffin, what is your App id so I can take a look?
Hey @Connor_Barley I left the server running and it will return a fairly static object to the data-fetch request.
After poking around a bit, I still don't see the request hitting nginx, However with tcpdump, I see traffic from you guys trying to open a SSL/TLS connection. My guess is that you guys don't like my SSL certificate signed by Let's Encrypt CA?