cesium-plus-pod issueshttps://git.duniter.org/clients/cesium-grp/cesium-plus-pod/-/issues2023-09-15T11:45:09+02:00https://git.duniter.org/clients/cesium-grp/cesium-plus-pod/-/issues/47`/network/peers` is always empty2023-09-15T11:45:09+02:00Benoit Lavenier`/network/peers` is always emptySince some versions, `/network/peers` always return no peers.Since some versions, `/network/peers` always return no peers.https://git.duniter.org/clients/cesium-grp/cesium-plus-pod/-/issues/46Wrong json in node stats2023-08-04T15:54:12+02:00vjrjWrong json in node statsI described the issue here, as I didn't noticed this repo and issue tracker:
https://forum.duniter.org/t/cesium-incorrect-node-stats-json/11413I described the issue here, as I didn't noticed this repo and issue tracker:
https://forum.duniter.org/t/cesium-incorrect-node-stats-json/11413https://git.duniter.org/clients/cesium-grp/cesium-plus-pod/-/issues/45Errors while getting members2023-09-15T11:46:56+02:00Benoit LavenierErrors while getting membersPod cannot load members, without the scroll API, because the G1 has more than 10000 members (in the full G1's history)Pod cannot load members, without the scroll API, because the G1 has more than 10000 members (in the full G1's history)https://git.duniter.org/clients/cesium-grp/cesium-plus-pod/-/issues/43Email notification: remove "open" button (because Cesium website are readonly)2023-08-07T10:27:39+02:00Benoit LavenierEmail notification: remove "open" button (because Cesium website are readonly)https://git.duniter.org/clients/cesium-grp/cesium-plus-pod/-/issues/40Allow deletion from known admin pubkeys2021-03-22T10:58:22+01:00Benoit LavenierAllow deletion from known admin pubkeysSome deletion, should be approuved by other nodes, by configuration.
Example :
```
[2020-01-28 11:57:40,503][WARN ][duniter.p2p.history ] [es-g1-01] [g1] [ES_USER_API g1.data.duniter.fr 443] [history/delete/AWgDr1O6DqOegtDoxpdK] C...Some deletion, should be approuved by other nodes, by configuration.
Example :
```
[2020-01-28 11:57:40,503][WARN ][duniter.p2p.history ] [es-g1-01] [g1] [ES_USER_API g1.data.duniter.fr 443] [history/delete/AWgDr1O6DqOegtDoxpdK] Could not delete this document: not same [recipient].. Skipping.
[2020-01-28 11:57:40,505][WARN ][duniter.p2p.history ] [es-g1-01] [g1] [ES_USER_API g1.data.duniter.fr 443] [history/delete/AWgDr1O4DqOegtDoxpdI] Could not delete this document: not same [recipient].. Skipping.
```
The deletion has been done by the pubkey of BenoitLavenier, the owner of g1.data.duniter.frhttps://git.duniter.org/clients/cesium-grp/cesium-plus-pod/-/issues/38NullPointerException on NetworkServiceImpl (when fill consensus stats on peers)2019-07-25T20:10:14+02:00Benoit LavenierNullPointerException on NetworkServiceImpl (when fill consensus stats on peers)```
[2019-01-08 17:01:30,886][ERROR][org.duniter.core.client.service.local.NetworkServiceImpl] Error while loading all peers: Error while loading peers: java.lang.NullPointerException
org.duniter.core.exception.TechnicalException: Error ...```
[2019-01-08 17:01:30,886][ERROR][org.duniter.core.client.service.local.NetworkServiceImpl] Error while loading all peers: Error while loading peers: java.lang.NullPointerException
org.duniter.core.exception.TechnicalException: Error while loading peers: java.lang.NullPointerException
at org.duniter.core.client.service.local.NetworkServiceImpl.getPeers(NetworkServiceImpl.java:138)
at org.duniter.core.client.service.local.NetworkServiceImpl.lambda$addPeersChangeListener$23(NetworkServiceImpl.java:326)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at org.duniter.elasticsearch.threadpool.LoggingScheduledThreadPoolExecutor$LoggingTask.run(LoggingScheduledThreadPoolExecutor.java:64)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.concurrent.ExecutionException: java.lang.NullPointerException
at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1895)
at org.duniter.core.client.service.local.NetworkServiceImpl.getPeers(NetworkServiceImpl.java:136)
... 9 more
Caused by: java.lang.NullPointerException
at org.duniter.core.client.service.local.NetworkServiceImpl.lambda$fillPeerStatsConsensus$20(NetworkServiceImpl.java:271)
at java.util.ArrayList.forEach(ArrayList.java:1249)
at org.duniter.core.client.service.local.NetworkServiceImpl.fillPeerStatsConsensus(NetworkServiceImpl.java:262)
at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1595)
... 8 more
```https://git.duniter.org/clients/cesium-grp/cesium-plus-pod/-/issues/37Error on user/profile document : string value for 'time' cause an synchro error2019-01-08T13:07:42+01:00Benoit LavenierError on user/profile document : string value for 'time' cause an synchro error```
[2019-01-08 12:25:02,397][ERROR][duniter.p2p.user ] [es-g1-01] [g1] [ES_USER_API g1.data.duniter.fr 443] [user/settings/6QMSaDeDZFXsW55rvJdoB3Pyg4r1TE3dYByUgYBj9cSU] java.lang.String cannot be cast to java.lang.Number. Skippi...```
[2019-01-08 12:25:02,397][ERROR][duniter.p2p.user ] [es-g1-01] [g1] [ES_USER_API g1.data.duniter.fr 443] [user/settings/6QMSaDeDZFXsW55rvJdoB3Pyg4r1TE3dYByUgYBj9cSU] java.lang.String cannot be cast to java.lang.Number. Skipping.
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Number
at org.duniter.elasticsearch.synchro.AbstractSynchroAction.save(AbstractSynchroAction.java:526)
at org.duniter.elasticsearch.synchro.AbstractSynchroAction.fetchAndSave(AbstractSynchroAction.java:424)
at org.duniter.elasticsearch.synchro.AbstractSynchroAction.synchronize(AbstractSynchroAction.java:391)
at org.duniter.elasticsearch.synchro.AbstractSynchroAction.handleSynchronize(AbstractSynchroAction.java:157)
at org.duniter.elasticsearch.synchro.SynchroService.lambda$synchronizePeer$6(SynchroService.java:236)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
at org.duniter.elasticsearch.synchro.SynchroService.synchronizePeer(SynchroService.java:242)
at org.duniter.elasticsearch.synchro.SynchroService.lambda$synchronize$2(SynchroService.java:183)
at java.util.HashMap$Values.forEach(HashMap.java:981)
at org.duniter.elasticsearch.synchro.SynchroService.lambda$synchronize$3(SynchroService.java:183)
at java.lang.Iterable.forEach(Iterable.java:75)
at org.duniter.elasticsearch.synchro.SynchroService.lambda$synchronize$4(SynchroService.java:176)
at java.util.ArrayList.forEach(ArrayList.java:1257)
at org.duniter.elasticsearch.synchro.SynchroService.synchronize(SynchroService.java:176)
at org.duniter.elasticsearch.synchro.SynchroService.lambda$startScheduling$1(SynchroService.java:125)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at org.duniter.elasticsearch.threadpool.LoggingScheduledThreadPoolExecutor$LoggingTask.run(LoggingScheduledThreadPoolExecutor.java:64)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
```
The JSON document have a time in String :
```json
{
...
},
"geoPoint" : null,
"time" : "1539382746",
"issuer" : "54Hg44V1AGcDRHEMzom43sPKQhsuq3rjCrcr2uS5nQHj",
"version" : 2,
"tags" : [ ]
}
```https://git.duniter.org/clients/cesium-grp/cesium-plus-pod/-/issues/36[doc] Broken links in the documentation web site2018-12-31T10:26:38+01:00Benoit Lavenier[doc] Broken links in the documentation web sitehttps://forum.duniter.org/t/duniter4j-decoupe-en-duniter4j-et-cesium-plus-pod/5234/11?u=kimamilahttps://forum.duniter.org/t/duniter4j-decoupe-en-duniter4j-et-cesium-plus-pod/5234/11?u=kimamilahttps://git.duniter.org/clients/cesium-grp/cesium-plus-pod/-/issues/35[enh] Add share link URL, with OpenGraph tags2019-01-08T15:25:04+01:00Benoit Lavenier[enh] Add share link URL, with OpenGraph tagsAdd share link URL, with OpenGraph tags
See cesium issue : https://git.duniter.org/clients/cesium/cesium/issues/705Add share link URL, with OpenGraph tags
See cesium issue : https://git.duniter.org/clients/cesium/cesium/issues/705https://git.duniter.org/clients/cesium-grp/cesium-plus-pod/-/issues/34Block indexation >Missing some MEMBER_JOIN events2020-01-24T19:12:58+01:00Benoit LavenierBlock indexation >Missing some MEMBER_JOIN eventsSometime, block indexation not always create an `MEMBER_JOIN` event.
This is visible in account evolution graph, in Cesium+ (see this [post](https://forum.duniter.org/t/dividendes-universels-disparus-dans-cesium/4413) or [this one](http...Sometime, block indexation not always create an `MEMBER_JOIN` event.
This is visible in account evolution graph, in Cesium+ (see this [post](https://forum.duniter.org/t/dividendes-universels-disparus-dans-cesium/4413) or [this one](https://forum.duniter.org/t/affichage-du-du/5224))
https://git.duniter.org/clients/cesium-grp/cesium-plus-pod/-/issues/32Synchro > Sync profiles first2020-01-10T12:42:23+01:00Benoit LavenierSynchro > Sync profiles firstSync profiles data first, to enable UID replacement in messageSync profiles data first, to enable UID replacement in messagehttps://git.duniter.org/clients/cesium-grp/cesium-plus-pod/-/issues/30blockchain stats : wrong TX amount2018-08-24T19:22:07+02:00Benoit Lavenierblockchain stats : wrong TX amountstats on blocks are wrong :
- tx amount on block [72871](https://g1.duniter.org/blockchain/block/72871) should be 720,00 G1 and not 11069,50 G1
stats on blocks are wrong :
- tx amount on block [72871](https://g1.duniter.org/blockchain/block/72871) should be 720,00 G1 and not 11069,50 G1
https://git.duniter.org/clients/cesium-grp/cesium-plus-pod/-/issues/29Subscription error: unale to deserialize2018-08-24T19:22:07+02:00Benoit LavenierSubscription error: unale to deserialize```
[2017-11-12 22:37:15,632][WARN ][duniter.client ] [EIS-FIXE2] Unable to deserialize source [subscription/record/AV-cH_YDMEOHZ8iLvs2W] into [org.duniter.elasticsearch.subscription.model.email.EmailSubscription]: Unrecognize...```
[2017-11-12 22:37:15,632][WARN ][duniter.client ] [EIS-FIXE2] Unable to deserialize source [subscription/record/AV-cH_YDMEOHZ8iLvs2W] into [org.duniter.elasticsearch.subscription.model.email.EmailSubscription]: Unrecognized field "version" (class org.duniter.elasticsearch.subscription.model.email.EmailSubscription), not marked as ignorable (9 known properties: "recipientContent", "signature", "issuer", "type", "time", "hash", "nonce", "issuerContent", "recipient"])
at [Source: org.elasticsearch.common.io.stream.InputStreamStreamInput@5905b043; line: 1, column: 655] (through reference chain: org.duniter.elasticsearch.subscription.model.email.EmailSubscription["version"])
```https://git.duniter.org/clients/cesium-grp/cesium-plus-pod/-/issues/28Message > redundant user events2020-01-27T17:46:35+01:00Benoit LavenierMessage > redundant user events@c-geek :
> Systématiquement quand je reçois un message via Cesium+, l'icône de notification indique 2 fois plus de messages non lus que ceux réellement non lus.
>Le service de mailing indique également la notification en double :
![...@c-geek :
> Systématiquement quand je reçois un message via Cesium+, l'icône de notification indique 2 fois plus de messages non lus que ceux réellement non lus.
>Le service de mailing indique également la notification en double :
![image](https://user-images.githubusercontent.com/5269556/32488445-e6a7ea46-c3ac-11e7-9a59-afe2bbd7ceb4.png)
https://git.duniter.org/clients/cesium-grp/cesium-plus-pod/-/issues/27Add control on 'time' field value2018-08-24T19:22:07+02:00Benoit LavenierAdd control on 'time' field valueThis is need for P2P synchronisation :
- time > existing document's time
- time should be close to the UTC server time.This is need for P2P synchronisation :
- time > existing document's time
- time should be close to the UTC server time.https://git.duniter.org/clients/cesium-grp/cesium-plus-pod/-/issues/26Add daily stats on WOT2021-03-22T10:57:58+01:00Benoit LavenierAdd daily stats on WOTAdd daily stats on WOT :
- new pending resgitrations,
- new certs (pending/written),
- newcomers from g1-monit ?Add daily stats on WOT :
- new pending resgitrations,
- new certs (pending/written),
- newcomers from g1-monit ?https://git.duniter.org/clients/cesium-grp/cesium-plus-pod/-/issues/25P2P Synchro : Error Refresh is not supported on an item request2018-08-24T19:22:07+02:00Benoit LavenierP2P Synchro : Error Refresh is not supported on an item requestWith Duniter4j v0.17.0
```
[2017-10-03 17:34:56,370][ERROR][duniter.p2p.user ] [EIS-DEV] Validation Failed: 1: Refresh is not supported on an item request, set the refresh flag on the BulkRequest instead.;2: script or doc is mi...With Duniter4j v0.17.0
```
[2017-10-03 17:34:56,370][ERROR][duniter.p2p.user ] [EIS-DEV] Validation Failed: 1: Refresh is not supported on an item request, set the refresh flag on the BulkRequest instead.;2: script or doc is missing;3: Refresh is not supported on an item request, set the refresh flag on the BulkRequest instead.;4: script or doc is missing;
org.elasticsearch.action.ActionRequestValidationException: Validation Failed: 1: Refresh is not supported on an item request, set the refresh flag on the BulkRequest instead.;2: script or doc is missing;3: Refresh is not supported on an item request, set the refresh flag on the BulkRequest instead.;4: script or doc is missing;
at org.elasticsearch.action.ValidateActions.addValidationError(ValidateActions.java:29)
at org.elasticsearch.action.bulk.BulkRequest.validate(BulkRequest.java:494)
at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:129)
at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:85)
at org.elasticsearch.client.node.NodeClient.doExecute(NodeClient.java:58)
at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:359)
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:86)
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:56)
at org.elasticsearch.action.ActionRequestBuilder.get(ActionRequestBuilder.java:64)
at org.duniter.elasticsearch.synchro.AbstractSynchroAction.fetchAndSave(AbstractSynchroAction.java:389)
at org.duniter.elasticsearch.synchro.AbstractSynchroAction.synchronize(AbstractSynchroAction.java:340)
at org.duniter.elasticsearch.synchro.AbstractSynchroAction.handleSynchronize(AbstractSynchroAction.java:127)
at org.duniter.elasticsearch.synchro.SynchroService.lambda$synchronizePeer$5(SynchroService.java:205)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
at org.duniter.elasticsearch.synchro.SynchroService.synchronizePeer(SynchroService.java:211)
at org.duniter.elasticsearch.synchro.SynchroService.lambda$null$2(SynchroService.java:173)
at java.util.ArrayList.forEach(ArrayList.java:1249)
```https://git.duniter.org/clients/cesium-grp/cesium-plus-pod/-/issues/24P2P sync: unable to scroll2018-08-24T19:22:07+02:00Benoit LavenierP2P sync: unable to scrollP2P synchronisation are not possible yet.
Security layer should allow access to `/_search/scroll`, using POST requestP2P synchronisation are not possible yet.
Security layer should allow access to `/_search/scroll`, using POST requesthttps://git.duniter.org/clients/cesium-grp/cesium-plus-pod/-/issues/21Add daily stats in ES indices2018-08-24T19:22:07+02:00Benoit LavenierAdd daily stats in ES indicesAdd daily stats (count) with count on :
- new pending resgitrations,
- new certs (pending/written),
- Cesium+ :
* new profiles,
* new messages,
* new invitations,
* new groups,
* new pagesAdd daily stats (count) with count on :
- new pending resgitrations,
- new certs (pending/written),
- Cesium+ :
* new profiles,
* new messages,
* new invitations,
* new groups,
* new pageshttps://git.duniter.org/clients/cesium-grp/cesium-plus-pod/-/issues/20Missing block indexation (with UD)2018-08-24T19:22:07+02:00Benoit LavenierMissing block indexation (with UD)19 08 2017 :
![image](https://user-images.githubusercontent.com/5269556/29522669-4274d25e-868a-11e7-94e7-c3aa4ec48b11.png)
19 08 2017 :
![image](https://user-images.githubusercontent.com/5269556/29522669-4274d25e-868a-11e7-94e7-c3aa4ec48b11.png)