Giter Club home page Giter Club logo

algocoursera's People

Contributors

freele avatar

Watchers

 avatar

algocoursera's Issues

test

WP Push not sent

Description

При создании публичной вп пуши списку контактов не приходят

How to reproduce and test

Создать ВП, сделать публичной. Пуши должны прийти всем в списке контактов

Who reported

Who resolved

@Ренат Б

Reason

Причина проблемы (неправильный конфиг, неработающий сервис, не та версия)

How to debug

  1. Сначала определить какой енв, организация и юзер.

  2. Создается ли вотчпати? Если нет то +Tinode host/audience are incorrectly set up

  3. Приходят ли пуши вообще? ПРОВЕРИТЬ! Если нет то ССЫЛКА НА НАСТРОЙКУ ПУШЕЙ

  4. Смотрим логи графане

    1. проверяем логи тинода.
      Нормальное поведение, пришел UA, корректно обработан, подготовлен пуш и отправлен к нам на сервис

    б. проверяем логи пушей
    Нормальное поведение. Пришел мессадж от тинода, зарезолвили юзера и проверили настройки уведомлений. Видим что андроид токен нашелся и мы туда отправили уведомление. Так же видим что иос токен принадлежит другой орге поэтому пуш на иос не ушел.

How to fix

  1. В тиноде после обновления UA не произошла отправка пуша
  2. Ниже ошибки из пушсервиса
  3. user not resolved (токена юзера нет)
  4. cannot resolve recipient (юзер нашелся но токен не подходит для орги или нет токена нужного провайдера)
  5. notification allow: false (юзер отключил уведомления)
  6. В ответах от провайдеров после send notification могут быть ошибки (BadToken, WrongTopic) проверять в этом случае настройки пушей у орги. ССЫЛКА НА НАСТРОЙКУ ПУШЕЙ

How to prevent

Как предотвратить подобные баги, либо как они были полностью пофикшены.

  1. поправить UA на клиенте
  2. настроить пуши корректно

test issue

DevOps

Infrastructure, DevOps

System status

Monitoring service Description Internal links Credentials
What do we expect to see for fully functioning system. Specific dashboards. Either universal credentials everyone can use or a person responsible for granting access
Grafana Логи https://grafana.streamlayer.io/explore https://grafana.streamlayer.io/login
admin


https://grafana.services.next.streamlayer.io/
admin
pass /
Lens Какая версия зарелижена.
Хэлсчеки сервисов.
Логи (можно смотреть)
{tbd}.
{tbd} {tbd}

Troubleshooting

https://www.dropbox.com/home/Streamlayer%20Docs/Troubleshooting

Full system recovery

Infrastructure recovery

Data to recover

Microservice What Database How to create backup Where and how often the data is backed up Where to get the latest backup How to populate after system recovery
ms-users, sdk-setting Данные организаций и пользователей. Настройки организаций (всё тоже там). Redis
tinode (сообщения) Rethink

Basic test scenario
Set of scenarios to verify that system was recovered.

[ ] {tbd} типа создать WP между 2 юзерами
[ ] …

Failure notifications

Who and when receives failure notifications. Who is responsible for reactions on them.
{tbd}
Сейчас ничего не приходит. И надо будет сделать.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.