Comments (6)
@AlwxSin @vyuldashev @notarseniy now you can try to solve your problem with the api_origin
option.
from sentry-telegram.
Any ETA on this?
from sentry-telegram.
@vyuldashev please, look at getsentry/sentry#6784
from sentry-telegram.
@AlwxSin Well, its not finished
from sentry-telegram.
+1
from sentry-telegram.
Hi! We get to work telegram with next scenario:
-
Setup nginx with self-signed certs in local network:
server {
listen 443 ssl;ssl_certificate /etc/ssl/certs/fakeapi.crt; ssl_certificate_key /etc/ssl/certs/fakeapi.key; server_name api.telegram.ru; location / { proxy_pass http://ourhetznerserver.ip:443; }
}
2. Nginx on hetzner VM:
server {
listen 443;
server_name api.telegram.org;
location / {
proxy_pass https://api.telegram.org;
}
}
I think there is one nginx in hetzner enough, but with this we get an error with our another alert services:
curl: (35) Unknown SSL protocol error in connection
(updating rootCA.pem didn't help)
-
Add line to Dockerfile:
RUN apt-get update && apt-get install -y python-pip && pip install sentry-telegram && sed -i 's/verify_ssl=True/verify_ssl=False/g' /usr/local/lib/python2.7/site-packages/sentry/http.py -
Add record witn local nginx to hosts in docker-compose.yml:
extra_hosts:- "api.telegram.org:192.168.110.35"
-
Rebuild sentry:
docker-compose build && docker-compose run --rm web upgrade && docker-compose up -d
Profit!
from sentry-telegram.
Related Issues (20)
- Release version for 8.22 HOT 1
- Sentry 9 support HOT 4
- Error on first try HOT 1
- Make installation easier
- Django project can't send an alert
- Can't see plugin HOT 1
- telegram HOT 1
- Does not work with Sentry 10.1.0 HOT 6
- Show triggered alert name in notification text HOT 1
- Can't see plugin in web interface HOT 1
- More detailed documentation please HOT 2
- Does not work properly with Sentry onpremise 20.9.0 HOT 4
- Settings for different environments
- [onpremise] This plugin needs to install in which one of them? HOT 2
- Up-to-date copy for version 21.6.3+
- I can't find Telegram notfication on Sentry > settings > Integrations ? HOT 5
- On Sentry 21.8.0.dev0 does not processes the receivers field. [With solution] HOT 1
- Doesnt work on 22.7.0.dev0 HOT 9
- Message to topic HOT 2
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 sentry-telegram.