cesium-plus-pod issueshttps://git.duniter.org/clients/cesium-grp/cesium-plus-pod/-/issues2018-08-24T19:22:07+02:00https://git.duniter.org/clients/cesium-grp/cesium-plus-pod/-/issues/1java.lang.UnsatisfiedLinkError: Can't obtain updateLastError method for class...2018-08-24T19:22:07+02:00Benoit Lavenierjava.lang.UnsatisfiedLinkError: Can't obtain updateLastError method for class com.sun.jna.NativeOn unbuntu, i get this error when starting ucoinj-elasticsearch.sh:
``` bash
2016-01-11 12:12:50,331 WARN unable to load JNA native support library, native methods will be disabled.
java.lang.UnsatisfiedLinkError: Can't obtain updateLa...On unbuntu, i get this error when starting ucoinj-elasticsearch.sh:
``` bash
2016-01-11 12:12:50,331 WARN unable to load JNA native support library, native methods will be disabled.
java.lang.UnsatisfiedLinkError: Can't obtain updateLastError method for class com.sun.jna.Native
at com.sun.jna.Native.initIDs(Native Method)
at com.sun.jna.Native.<clinit>(Native.java:139)
```
0.1https://git.duniter.org/clients/cesium-grp/cesium-plus-pod/-/issues/4Idea] To verify autenticity of software2021-03-22T10:59:10+01:00Benoit LavenierIdea] To verify autenticity of software*Created by: mcl1234*
Hi ,
I have this "warning" :
```
Verifying https://github.com/duniter/duniter4j/releases/download/0.2.0/duniter4j-elasticsearch-0.2.0.zip
checksums if available ...
NOTE: Unable to verify checksum for downloaded...*Created by: mcl1234*
Hi ,
I have this "warning" :
```
Verifying https://github.com/duniter/duniter4j/releases/download/0.2.0/duniter4j-elasticsearch-0.2.0.zip
checksums if available ...
NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .md5 file to verify)
```
I think it can be done with PGP ? for this indexer0.2.1Benoit LavenierBenoit Lavenierhttps://git.duniter.org/clients/cesium-grp/cesium-plus-pod/-/issues/3Erreur d'extensions2018-08-24T19:22:07+02:00Benoit LavenierErreur d'extensions*Created by: mcl1234*
Bonjour,
Je ne parviens pas à ajouter l'extension Duniter pour l'indexeur , car les versions de l'indexeur ne sont pas rétro-comptabiles pour ces extensions, et leur site ne présente pas de elasticSearch 2.3.3
ER...*Created by: mcl1234*
Bonjour,
Je ne parviens pas à ajouter l'extension Duniter pour l'indexeur , car les versions de l'indexeur ne sont pas rétro-comptabiles pour ces extensions, et leur site ne présente pas de elasticSearch 2.3.3
ERROR: Plugin [duniter4j-elasticsearch] is incompatible with Elasticsearch [2.3.4]. Was designed for version [2.3.3]
0.2.1https://git.duniter.org/clients/cesium-grp/cesium-plus-pod/-/issues/48Node selection can use GVA endpoint2023-08-07T10:25:42+02:00Benoit LavenierNode selection can use GVA endpointWHen starting Cesium (v1.7.6) sometimes GVA endpoint are selected.WHen starting Cesium (v1.7.6) sometimes GVA endpoint are selected.https://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/44Automatically change Duniter peer, when forked or down ?2021-03-22T11:02:22+01:00Benoit LavenierAutomatically change Duniter peer, when forked or down ?Can be done using:
- a timer (e.g. every 10 min), that check new block appear
- stats on peers, to find a better peerCan be done using:
- a timer (e.g. every 10 min), that check new block appear
- stats on peers, to find a better peerhttps://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/42Possibility to deactivate the messaging feature2021-03-22T16:55:26+01:00MoulPossibility to deactivate the messaging featureIn case we do not want to use, and/or we are not reading messages sent via CS+ (Cesium, Ğchange, or any other clients) on a regular basis, that would be great if we could disable the messaging feature, and instead provide an address to a...In case we do not want to use, and/or we are not reading messages sent via CS+ (Cesium, Ğchange, or any other clients) on a regular basis, that would be great if we could disable the messaging feature, and instead provide an address to an external messaging software/protocol in a profile field.
CS+ users would not be able to send messages to disabled CS+ messaging accounts, and prevent lost messages which would be unread.https://git.duniter.org/clients/cesium-grp/cesium-plus-pod/-/issues/41Peers network: Parse WS2P path, even when no starting slash2020-08-17T14:54:33+02:00Benoit LavenierPeers network: Parse WS2P path, even when no starting slashCesium+ Pod should accept such endpoint, when parsing the string : `WS2P df0328fc gt.elo.tf 443 ws2p`Cesium+ Pod should accept such endpoint, when parsing the string : `WS2P df0328fc gt.elo.tf 443 ws2p`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/39Indexed BMA peer should not have block=null2019-02-01T16:39:48+01:00Benoit LavenierIndexed BMA peer should not have block=null```json
{
"version" : null,
"currency" : "g1",
"status" : "UP",
"block" : null,
"signature" : null,
"pubkey" : "38MEAZN68Pz1DTvT3tqgxx4yQP6snJCQhPqEFxbDk4aE",
"endpoints" : [ "BASIC_MERKLED_API g1.duniter.fr ...```json
{
"version" : null,
"currency" : "g1",
"status" : "UP",
"block" : null,
"signature" : null,
"pubkey" : "38MEAZN68Pz1DTvT3tqgxx4yQP6snJCQhPqEFxbDk4aE",
"endpoints" : [ "BASIC_MERKLED_API g1.duniter.fr 443", "BASIC_MERKLED_API g1.duniter.fr 80" ],
"statusTS" : 0,
"first_down" : null,
"last_try" : 1548696392
}
```
This may be indexed from config peer ?https://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/11Data sync > Bad signature detected on some [user/profile] documents2020-01-27T17:44:16+01:00Benoit LavenierData sync > Bad signature detected on some [user/profile] documentsSee `TODO` in `AbstractSynchroService.doImportChangesAtOffset`See `TODO` in `AbstractSynchroService.doImportChangesAtOffset`https://git.duniter.org/clients/cesium-grp/cesium-plus-pod/-/issues/12User event WS: id not serialized2018-08-24T19:22:06+02:00Benoit LavenierUser event WS: id not serializedSo Cesium+ could not mark as read if no id !So Cesium+ could not mark as read if no id !https://git.duniter.org/clients/cesium-grp/cesium-plus-pod/-/issues/6Blockchain indexation : Auto-reconnect when websocket closed abnormally2018-08-24T19:22:07+02:00Benoit LavenierBlockchain indexation : Auto-reconnect when websocket closed abnormallyhttps://git.duniter.org/clients/cesium-grp/cesium-plus-pod/-/issues/13Email subscription: no object DCH for MIME type multipart/alternative;2018-08-24T19:22:07+02:00Benoit LavenierEmail subscription: no object DCH for MIME type multipart/alternative;When send email trigger, get this error :
```
org.duniter.core.exception.TechnicalException: Error while sending email to [benoit.lavenier@e-is.pro] using smtp config [username=cesium@le-sou.org, server=smtp.le-sou.org:587]: IOExcep...When send email trigger, get this error :
```
org.duniter.core.exception.TechnicalException: Error while sending email to [benoit.lavenier@e-is.pro] using smtp config [username=cesium@le-sou.org, server=smtp.le-sou.org:587]: IOException while sending message
at org.duniter.core.service.MailServiceImpl.sendEmail(MailServiceImpl.java:185)
at org.duniter.core.service.MailServiceImpl.sendHtmlEmailWithText(MailServiceImpl.java:122)
at org.duniter.elasticsearch.user.service.MailService.sendHtmlEmailWithText(MailService.java:101)
at org.duniter.elasticsearch.subscription.service.SubscriptionService.lambda$processEmailSubscription$7(SubscriptionService.java:328)
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:745)
Caused by: javax.mail.MessagingException: IOException while sending message;
nested exception is:
javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/alternative;
boundary="----=_Part_1_1908556606.1495213245470"
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1167)
at org.duniter.core.service.MailServiceImpl.sendEmail(MailServiceImpl.java:182)
... 11 more
Caused by: javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/alternative;
boundary="----=_Part_1_1908556606.1495213245470"
at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:896)
at javax.activation.DataHandler.writeTo(DataHandler.java:317)
at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1485)
at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1773)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1119)
... 12 more
```