If you have a support question or comment, click the Post New Topic link below.
Current Version: 3.8.4 | Sytist Manual | Sytist Articles 

Twilio Error 11200

 
Please log in or Create an account to post or reply to topics.
 
Elizabeth Andrews
39 posts
Tue Feb 09, 21
11:49 PM
Seems Twilio can't commuicate with my site, although it seems the site can commuinicate with Twilio.

Twilio reports bad gateway errors, if I send from sytist, the messages get through but are never confirmed on the site and I get twilio warnings. If I reply to my Twilio number, I get failures from twilio.

failure:
sourceComponent "14100"
httpResponse "502"
url "https://lizandrews.com/sy-inc/twilio-receive-sms.php"
ErrorCode "11200"
LogLevel "ERROR"
Msg "Bad Gateway"
EmailNotification "false"

warning:
Msg "Request to StatusCallback URL timed out."


Hope you can help with this?

Something that may or may not make a difference, I guess it depends on what PHP verifications you use on the webhooks, is that I use SSL offloading.

In short the relevance is, the site believes it is using http (and reports it as the server address etc) where in reality its https to the outside world. All traffic it routed through https regardless, but perhaps the php validations use server addresses which it would think is http? I tried Twilio with both but like I said, it might be in the hook code?

I checked and the php webhook files are there in the expected web directory.

Thanks

Liz
Tim - PicturesPro.com
13314 posts
admin
Wed Feb 10, 21
8:23 AM
I suspect it has something to do with how you are doing the SSL or something along those lines.

https://www.twilio.com/docs/api/errors/11200

Maybe try the URL with the www. like https://www.lizandrews.com/sy-inc/twilio-receive-sms.php
 
 
 
 
 
Tim Grissett, DIA - PicturesPro.com || My Email Address: info@picturespro.com
Elizabeth Andrews
39 posts
Wed Feb 10, 21
11:10 AM
Hi Tim,

I've managed to fix the load balancer issue now, however, I'm getting new Twilio errors that seem much more related to the website itself.

I'm getting Schema Validation Warnings, and the twilio confirmations or reply text messages don't get through. Here is the warning debug inspector from Twilio:

POST
https://www.lizandrews.com/sy-inc/twilio-receive-sms.php
2021-02-10 16:05:47 UTC
Request
URL
ParametersShow Raw
Message TextShow Raw
sourceComponent "14100"
line "1"
ErrorCode "12200"
LogLevel "WARN"
Msg "Content is not allowed in prolog."
EmailNotification "false"
parserMessage "Content is not allowed in prolog."
cols "1"
Response
Headers
BodyShow Raw
Not Twilio


The website still has the sent mesages (which do get trhough) as "queued" and any replies via SMS to the Twilio number just don't come through.

Any thoughts?
Tim - PicturesPro.com
13314 posts
admin
Thu Feb 11, 21
6:23 AM
Must be something to do with the server setup. I have not seen this issue and no one else has this issue.


You can email me the following for me to look into it:

1) Link to your Sytist admin.

2) The admin username and password (or create me an admin account by clicking Admins in the upper right corner of the admin pages).

3) FTP username and password.

 
 
 
 
 
Tim Grissett, DIA - PicturesPro.com || My Email Address: info@picturespro.com
Elizabeth Andrews
39 posts
Thu Feb 11, 21
2:22 PM
Details sent!
Elizabeth Andrews
39 posts
Fri Feb 12, 21
9:31 AM
Thank you so much for that Tim, it all works great now.

I'm just curious, will I need to back up those hook files and replace them through future updates, or are you adding the backup code to the updates also?

Thanks

Liz
Tim - PicturesPro.com
13314 posts
admin
Fri Feb 12, 21
10:20 AM
You won't need to do anything.
 
 
 
 
 
Tim Grissett, DIA - PicturesPro.com || My Email Address: info@picturespro.com
Loading more pages
Loading more pages

Sign up for email promotions.

Your information is safe with us and won't be shared.

Thank you for signing up!

 
©2003 - 2019 Grissett, LLC. All Rights Reserved.

By continuing to browse or by clicking Accept Cookies, you agree to the storing of cookies on your device necessary to provide you with the services available through our website.

    Accept   Privacy & Cookie Policy
Loading More Photos
Scroll To Top
Close Window
Loading
Close