All of a sudden, NONE of my functions in http-functions.js are executing! Not production, not functions-dev. I can’t even get a console.log to output. Any idea what could be going on?
No changes to code. Even test code is not executing. Is anyone else experiencing this issue?
Hi. I just checked the test function that you kindly prepared a couple of times. It sends the console log as expected. Is this issue still relevant for you?
If yes, can you please elaborate more on how do you call this function?
Regards, Alex
This is not a problem with my code - it is something wrong in the background of WIX. If I comment out ALL of my code, except this simple doTest function, it still does NOT work.
Postman will show it correct. There is nothing wrong with the code or functions. I have proven that by commenting out all code AND by copying this website and executing the exact same code in the copied website - all works fine.
This simple form will call post_doTest, which should output to the console in Chrome:
I have figured out the problem. Apparently, wix is blocking cognitoforms.com for my domain only. I have also reported this in the wix ticket (along with other research) but I am not getting any responses.
All they need to do is figure out why submissions from cognitoforms.com are being blocked and then remove the block.
It is very frustrating not getting any responses back from them.
Just to clarify. I tested this specific function doTest on your site via Postman and via the Terminal applications. Both times it worked fine for me (see my screenshot above).
Also the fact that this function works for you on a cloned version of the site means that Wix is not blocking http://cognitoforms.com/ service.
Have you tried to reach out http://cognitoforms.com/ support and ask them to check the request logs to see if the request is coming out from their side and if not - what is the reason?
We are also checking on our side if there are possible blocks or other issues, I will update here.
Please let me know if I can help with anything else.
Regards, Alex
Our engineers just checked that everything is working fine on Wix side. There is no issues with your site or account.
The best way to proceed would be to reach out http://cognitoforms.com/ support and ask them to check it on their side.
Since you also reported a support ticket, please follow up there in case you’ll need further assistance (it is the same team working on your request in this thread and in the support ticket).
IMHO, function working from a cloned version does not mean that wix is not blocking the service. It means the (test/clone)instance of wix from where the call is being made is working fine.
The production instance could be in a whole different domain which is being blocked.
Why am I saying this? I have a running issue(#211943126) that WIX team have acknowledged and is investigating for about a month now, where an oauth call to facebook fails from live site, but works from postman, or from wix’s editor’s run function.
I agree. Now, after we investigated this issue more, we can confirm that the requests made from http://cognitoforms.com/ are failing on any site with domain connected (cloned site simply didn’t have a domain).
Anyway, in order to understand what is happening, we would need more logs from the caller side.
Which is why the best thing would be to reach out their support and ask to provide more logs about this issue, like: what is the error? is it 4xx, 5xx? is there a request id? what does their network logs say? what IP they get when calling Wix site endpoint?