RocketChatMobilePushGateway issueshttps://git.fairkom.net/hosting/chat/RocketChatMobilePushGateway/-/issues2024-03-04T14:49:24Zhttps://git.fairkom.net/hosting/chat/RocketChatMobilePushGateway/-/issues/6Usage statistics & quota2024-03-04T14:49:24ZRoland AltonUsage statistics & quotaWe should be able to see from which domain how many push messages have been sent to the push gateway. Maybe create a prometheus connector.We should be able to see from which domain how many push messages have been sent to the push gateway. Maybe create a prometheus connector.https://git.fairkom.net/hosting/chat/RocketChatMobilePushGateway/-/issues/7Restrict by domains2024-03-04T14:49:22ZRoland AltonRestrict by domainsallow to set from which domains push requests can be sent
or could we simply handle a white list on the ingress https://git.fairkom.net/hosting/k8s-deployments/pushgateway/-/blob/master/k8s/ingress.yamlallow to set from which domains push requests can be sent
or could we simply handle a white list on the ingress https://git.fairkom.net/hosting/k8s-deployments/pushgateway/-/blob/master/k8s/ingress.yamlArmin FelderArmin Felderhttps://git.fairkom.net/hosting/chat/RocketChatMobilePushGateway/-/issues/8Push messages delivered in chunks2024-03-04T14:48:21ZRoland AltonPush messages delivered in chunksPush messages which arrive from any RC server (3.18.4, 3.18.5), come late and sometimes several times. Observed on Android devices only.
Push gateway pods seem to run normal in 3/3 replication.Push messages which arrive from any RC server (3.18.4, 3.18.5), come late and sometimes several times. Observed on Android devices only.
Push gateway pods seem to run normal in 3/3 replication.https://git.fairkom.net/hosting/chat/RocketChatMobilePushGateway/-/issues/5gateway run out of sockets2022-12-22T20:46:11ZRoland Altongateway run out of sockets`kubectl -n osalliance-prod logs fairchat-gateway-54d58bfcd-zcv89`
```
F1208 21:22:46.795786 7 HTTP1xCodec.cpp:448] Check failed: statusCode != 0 (0 vs. 0) F1209 08:41:56.646603 10 HTTP1xCodec.cpp:448] Check failed: statusCode !=...`kubectl -n osalliance-prod logs fairchat-gateway-54d58bfcd-zcv89`
```
F1208 21:22:46.795786 7 HTTP1xCodec.cpp:448] Check failed: statusCode != 0 (0 vs. 0) F1209 08:41:56.646603 10 HTTP1xCodec.cpp:448] Check failed: statusCode != 0 (0 vs. 0)
*** Check failure stack trace: ***
@ 0x7f77854450cd google::LogMessage::Fail()
@ 0x7f7785446f33 google::LogMessage::SendToLog()
@ 0x7f7785444c28 google::LogMessage::Flush()
@ 0x7f7785447999 google::LogMessageFatal::~LogMessageFatal()
@ 0x55a077fa5322 (unknown)
@ 0x55a077f1f8d3 (unknown)
@ 0x55a077ebeb7a (unknown)
@ 0x55a077ef4bb0 (unknown)
@ 0x55a077ef4fe7 (unknown)
@ 0x55a077f97ec0 (unknown)
@ 0x55a077e4a3d1 (unknown)
@ 0x55a077e64fe3 (unknown)
@ 0x55a077f97a8c (unknown)
@ 0x55a077ef26e2 (unknown)
@ 0x55a077ef2494 (unknown)
@ 0x55a077eb9dc3 (unknown)
@ 0x55a077f1fe2a (unknown)
@ 0x55a077fa970c (unknown)
@ 0x55a077faab5b (unknown)
@ 0x55a077f11039 (unknown)
@ 0x55a077fa34f3 (unknown)
@ 0x55a077f20640 (unknown)
@ 0x55a077eb6549 (unknown)
@ 0x55a077eb607f (unknown)
@ 0x7f7786a87938 folly::AsyncSocket::handleRead()
@ 0x7f7786a86279 folly::AsyncSocket::ioReady()
@ 0x7f7786a8d5a7 folly::AsyncSocket::IoHandler::handlerReady()
@ 0x7f7786abc00a folly::EventHandler::libeventCallback()
@ 0x7f7783beb8f8 (unknown)
@ 0x7f7783bec33f event_base_loop
@ 0x7f7786aa1a90 (anonymous namespace)::EventBaseBackend::eb_event_base_loop()
@ 0x7f7786aa4fe7 folly::EventBase::loopBody()
E1209 09:48:37.140410 15 AsyncServerSocket.cpp:1052] failed to dispatch newly accepted socket: all accept callback queues are full
```
Restarted gateway:
kubectl -n osalliance-prod rollout restart deployment fairchat-gatewayArmin FelderArmin Felderhttps://git.fairkom.net/hosting/chat/RocketChatMobilePushGateway/-/issues/10Google free push service2022-10-06T13:28:21ZRoland AltonGoogle free push serviceAdd ntfy as push provider https://unifiedpush.org/users/distributors/ntfy/
See alternative list https://www.reddit.com/r/fluffychat/comments/qn6liu/enable_push_notifications_without_google_services/Add ntfy as push provider https://unifiedpush.org/users/distributors/ntfy/
See alternative list https://www.reddit.com/r/fluffychat/comments/qn6liu/enable_push_notifications_without_google_services/https://git.fairkom.net/hosting/chat/RocketChatMobilePushGateway/-/issues/4Notifications arrive several times2019-07-31T20:32:27ZRoland AltonNotifications arrive several timesI get notifications at least twice.
Another user:
Wieso bekomm ich laufend Notifications für Erics letzten Post zur <a href='http://umweltv.at'>umweltv.at</a> obwohl ichs schon mehrfach gelesen hab?I get notifications at least twice.
Another user:
Wieso bekomm ich laufend Notifications für Erics letzten Post zur <a href='http://umweltv.at'>umweltv.at</a> obwohl ichs schon mehrfach gelesen hab?https://git.fairkom.net/hosting/chat/RocketChatMobilePushGateway/-/issues/2Unable to install Docker Container for RockerChatMobilePushGateway2018-08-28T23:00:48ZSchurink RolfUnable to install Docker Container for RockerChatMobilePushGatewayGood day,
Thanks for your brilliant contribution. I do however have trouble installing the gateway and require some assistance please. I have tried installing the Docker container, but I get the below error:
I run commands on Ubuntu 16....Good day,
Thanks for your brilliant contribution. I do however have trouble installing the gateway and require some assistance please. I have tried installing the Docker container, but I get the below error:
I run commands on Ubuntu 16.04.5 LTS:
> cd /opt/pushGateway
> git clone -b master https://git.fairkom.net/chat/RocketChatMobilePushGateway.git
> cd RocketChatMobilePushGateway
> docker build -t "gateway:Dockerfile" .
Then I get the following output and error:
>Sending build context to Docker daemon 119.3 kB
Step 1/7 : FROM afelder/proxygen:2018.1
---> 0b57223a066f
Step 2/7 : LABEL maintainer "armin.felder@osalliance.com"
---> Using cache
---> 384dc80506b3
Step 3/7 : ADD . /pushGateway/RocketChatMobilePushGateway
---> e37e6da1c1eb
Removing intermediate container e054fcd21bca
Step 4/7 : RUN cd /pushGateway/RocketChatMobilePushGateway &&cmake . && make && rm CMake* -rf && rm cmake* -rf
---> Running in 20ae990d0715
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
CMake Error at CMakeLists.txt:19 (add_executable):
Cannot find source file:
libs/cpp-jwt/include/jwt/jwt.hpp
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx
CMake Error: CMake can not determine linker language for target: rocketChatMobilePushGateway
CMake Error: Cannot determine link language for target "rocketChatMobilePushGateway".
-- Generating done
-- Build files have been written to: /pushGateway/RocketChatMobilePushGateway
The command '/bin/sh -c cd /pushGateway/RocketChatMobilePushGateway &&cmake . && make && rm CMake* -rf && rm cmake* -rf' returned a non-zero code: 1
Please advise what I'm doing wrong here? ANY assitance would be greatly appreciated.
Thanks in advanceArmin FelderArmin Felderhttps://git.fairkom.net/hosting/chat/RocketChatMobilePushGateway/-/issues/1Segfaults, rewrite ApplePush library2018-08-28T13:38:17ZRoland AltonSegfaults, rewrite ApplePush libraryPlease check, @rsc reported this from the syslogs:
```
Jun 13 00:11:05 heu20 kernel: [7448925.517269] traps: HTTPSrvExec0[23880] general protection ip:561bbeafbad4 sp:7f01febdf908 error:0
Jun 13 00:11:05 heu20 kernel: [7448925.517276] ...Please check, @rsc reported this from the syslogs:
```
Jun 13 00:11:05 heu20 kernel: [7448925.517269] traps: HTTPSrvExec0[23880] general protection ip:561bbeafbad4 sp:7f01febdf908 error:0
Jun 13 00:11:05 heu20 kernel: [7448925.517276] in rocketChatMobilePushGateway[561bbea86000+aa000]
```Armin FelderArmin Felder