Comments (1)
I was able to workaround the TLS issue by replacing the CA certificates within the image. I added the following lines to docker-compose-base.yml
volumes:
- /etc/ssl/certs/ca-certificates.crt:/usr/local/lib/python2.7/site-packages/requests/cacert.pem
- /etc/ssl/certs/ca-certificates.crt:/usr/local/lib/python2.7/site-packages/httplib2/cacerts.txt
- /etc/ssl/certs/ca-certificates.crt:/usr/local/lib/python2.7/site-packages/twilio/conf/cacert.pem
However, it still does not work, because Twilio discontinued the API which is used by Cabot:
web_1 | ERROR 2024-05-25 00:04:31,687 models 20 139827124976424 Error sending twilio sms: HTTP 410 error: This API is being discontinued. Please see https://support.twilio.com/hc/en-us/articles/223181028-Switching-from-SMS-Messages-resource-URI-to-Messages-resource-URI-
web_1 | Traceback (most recent call last):
web_1 | File "/usr/local/lib/python2.7/site-packages/cabot_alert_twilio/models.py", line 79, in send_alert
web_1 | body=message,
web_1 | File "/usr/local/lib/python2.7/site-packages/twilio/rest/resources/sms_messages.py", line 167, in create
web_1 | return self.create_instance(kwargs)
web_1 | File "/usr/local/lib/python2.7/site-packages/twilio/rest/resources/base.py", line 365, in create_instance
web_1 | data=transform_params(body))
web_1 | File "/usr/local/lib/python2.7/site-packages/twilio/rest/resources/base.py", line 200, in request
web_1 | resp = make_twilio_request(method, uri, auth=self.auth, **kwargs)
web_1 | File "/usr/local/lib/python2.7/site-packages/twilio/rest/resources/base.py", line 164, in make_twilio_request
web_1 | uri=resp.url, msg=message, code=code)
web_1 | TwilioRestException: HTTP 410 error: This API is being discontinued. Please see https://support.twilio.com/hc/en-us/articles/223181028-Switching-from-SMS-Messages-resource-URI-to-Messages-resource-URI-
from cabot.
Related Issues (20)
- worker not subscribing to tasks from docker-compose / Checks not running
- Feature request: TLS 1.3 support
- Move documentation to README/Github HOT 2
- Planning migrate to Django 2.2? HOT 3
- Email alerts sent once not multiple times HOT 1
- There are no global settings yet HOT 2
- Jenkins check shows passing even though the status is failed HOT 5
- GitHub OAuth fails with redirect_uri_mismatch HOT 5
- How to create first user at setup time? HOT 15
- Cabot using deprecated access_token GitHub query parameter HOT 4
- The is_public setting for services appears to be ignored HOT 5
- Not receiving phone call when ICMP is down HOT 8
- Decrease frequency check to trigger alert! HOT 1
- How to add API route for a check plugin HOT 7
- docker-compose fails on Raspberry Pi 4 32bit
- Service 'beat' failed to build : The command '/bin/sh -c pip install --no-cache-dir -r requirements.txt' returned a non-zero code: 1 HOT 3
- Docker Images build fails HOT 1
- Pushes from alertmanager HOT 1
- Potential usage of cabot for WordPress Maintenance service?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cabot.