Comments (6)
[2023-07-10 17:25:27:587] [FINEST ] [ pool-23-thread-8 ] ClientConnectionManager.processSocketData(): Processing socket data: from=null, to=null, serverAuthorisedStanzaFrom=Optional.empty, DATA=<presence xmlns="jabber:client" busi="online"/>, SIZE=47, XMLNS=jabber:client, PRIORITY=PRESENCE, PERMISSION=NONE, TYPE=null, STABLE_ID=null from connection: ws2s@laptop-jjogo4vd/0:0:0:0:0:0:0:1_5290_0:0:0:0:0:0:0:1_58235
[2023-07-10 17:25:27:829] [FINEST ] [ in_1-sess-man ] SessionManager.processPacket() : Received packet: from=null, to=sess-man@laptop-jjogo4vd, serverAuthorisedStanzaFrom=Optional.empty, DATA=<presence xmlns="jabber:client" from="[email protected]/2137503554-tigase-1"/>, SIZE=81, XMLNS=jabber:client, PRIORITY=PRESENCE, PERMISSION=NONE, TYPE=null, STABLE_ID=null
[2023-07-10 17:25:27:829] [INFO ] [ in_1-sess-man ] SessionManager.getXMPPResourceConnection(): Message without TO attribute set, don't know what to do wih this: from=null, to=sess-man@laptop-jjogo4vd, serverAuthorisedStanzaFrom=Optional.empty, DATA=<presence xmlns="jabber:client" from="[email protected]/2137503554-tigase-1"/>, SIZE=81, XMLNS=jabber:client, PRIORITY=PRESENCE, PERMISSION=NONE, TYPE=null, STABLE_ID=86e18cb5-ac51-416c-bc86-4994e463a013
[2023-07-10 17:25:27:829] [FINEST ] [ in_1-sess-man ] SessionManager.processPacket() : processing packet: from=null, to=sess-man@laptop-jjogo4vd, serverAuthorisedStanzaFrom=Optional.empty, DATA=<presence xmlns="jabber:client" from="[email protected]/2137503554-tigase-1"/>, SIZE=81, XMLNS=jabber:client, PRIORITY=PRESENCE, PERMISSION=NONE, TYPE=null, STABLE_ID=86e18cb5-ac51-416c-bc86-4994e463a013, connection: null
[2023-07-10 17:25:27:829] [FINEST ] [ in_1-sess-man ] SessionManager.walk() : XMPPProcessorIfc: MessageAmp (amp)Request: from=null, to=sess-man@laptop-jjogo4vd, serverAuthorisedStanzaFrom=Optional.empty, DATA=<presence xmlns="jabber:client" from="[email protected]/2137503554-tigase-1"/>, SIZE=81, XMLNS=jabber:client, PRIORITY=PRESENCE, PERMISSION=NONE, TYPE=null, STABLE_ID=86e18cb5-ac51-416c-bc86-4994e463a013, conn: null
[2023-07-10 17:25:27:832] [FINEST ] [ in_1-sess-man ] SessionManager.walk() : XMPPProcessorIfc: PresenceState (presence-state)Request: from=null, to=sess-man@laptop-jjogo4vd, serverAuthorisedStanzaFrom=Optional.empty, DATA=<presence xmlns="jabber:client" from="[email protected]/2137503554-tigase-1"/>, SIZE=81, XMLNS=jabber:client, PRIORITY=PRESENCE, PERMISSION=NONE, TYPE=null, STABLE_ID=86e18cb5-ac51-416c-bc86-4994e463a013, conn: null
[2023-07-10 17:25:27:835] [FINEST ] [ in_1-sess-man ] SessionManager.processPacket() : Packet processed by: [amp, presence-state]
[2023-07-10 17:25:30:416] [FINE ] [ stats-cache ] ComponentInfo.lambda$getImplementationVersion$0(): Problem obtaining version for class: tigase.dist.XmppServerDist, exception: tigase.dist.XmppServerDist
[2023-07-10 17:25:30:416] [WARNING ] [ stats-cache ] ComponentInfo.lambda$getImplementationVersion$1(): Problem obtaining current version information
from tigase-server.
message-router--QueueListener:from=null, to=sess-man@laptop-jjogo4vd, serverAuthorisedStanzaFrom=Optional.empty, DATA=<presence xmlns="jabber:client" to="[email protected]"/>, SIZE=59, XMLNS=jabber:client, PRIORITY=PRESENCE, PERMISSION=NONE, TYPE=null, STABLE_ID=null
[2023-07-10 19:14:45:284] [WARNING ] [ stats-cache ] ComponentInfo.lambda$getImplementationVersion$1(): Problem obtaining current version information
sess-man--QueueListener:from=null, to=sess-man@laptop-jjogo4vd, serverAuthorisedStanzaFrom=Optional.empty, DATA=<presence xmlns="jabber:client" to="[email protected]"/>, SIZE=59, XMLNS=jabber:client, PRIORITY=PRESENCE, PERMISSION=NONE, TYPE=null, STABLE_ID=null
[2023-07-10 19:14:46:783] [WARNING ] [ stats-cache ] ComponentInfo.lambda$getImplementationVersion$1(): Problem obtaining current version information
[2023-07-10 19:14:50:783] [WARNING ] [ presence-state-proc-1 ] PresenceState.processInInitial() : Initial presence without from attribute set: from=null, to=sess-man@laptop-jjogo4vd, serverAuthorisedStanzaFrom=Optional.empty, DATA=<presence xmlns="jabber:client" to="[email protected]"/>, SIZE=59, XMLNS=jabber:client, PRIORITY=PRESENCE, PERMISSION=AUTH, TYPE=null, STABLE_ID=40d6e8d3-c6d7-48ab-8de8-127522b1869c
from tigase-server.
message-router--QueueListener:from=null, to=sess-man@laptop-jjogo4vd, serverAuthorisedStanzaFrom=Optional.empty, DATA=<presence xmlns="jabber:client" to="[email protected]" from="[email protected]"/>, SIZE=87, XMLNS=jabber:client, PRIORITY=PRESENCE, PERMISSION=NONE, TYPE=null, STABLE_ID=null
sess-man--QueueListener:from=null, to=sess-man@laptop-jjogo4vd, serverAuthorisedStanzaFrom=Optional.empty, DATA=<presence xmlns="jabber:client" to="[email protected]" from="[email protected]"/>, SIZE=87, XMLNS=jabber:client, PRIORITY=PRESENCE, PERMISSION=NONE, TYPE=null, STABLE_ID=null
from tigase-server.
Can't 'from' be empty? I only ran to 'sess man' and didn't continue running anymore, and there was no error reported. Online and offline messages cannot be sent to individuals. Thank you!
Can you restate your problem more clearly?
Firstly: you are sending a presence
packet (which is used to signal if you are offline or online) and not a message.
Secondly: for message packet you have to provide to
address, so the server knows where to send the message. from
can be optional in this case, though it's better to specify it as well.
from tigase-server.
Can't 'from' be empty? I only ran to 'sess man' and didn't continue running anymore, and there was no error reported. Online and offline messages cannot be sent to individuals. Thank you!
Can you restate your problem more clearly?
Firstly: you are sending a
presence
packet (which is used to signal if you are offline or online) and not a message. Secondly: for message packet you have to provideto
address, so the server knows where to send the message.from
can be optional in this case, though it's better to specify it as well.
thank you!
In 'AbstractMessageReceiver->addPacket',I intercepted the packet and serialized it into a string. After processing through the grpc program, return to the program, convert the string into a packet, call the addOutPacket method of SessionManager, and throw this packet into .
Test01 logs in on the first server, test02 logs in on the second server, and the login message of test02 is forwarded to the first server, which then notifies all users who log in on the first server
from tigase-server.
In 'AbstractMessageReceiver->addPacket',I intercepted the packet and serialized it into a string. After processing through the grpc program, return to the program, convert the string into a packet, call the addOutPacket method of SessionManager, and throw this packet into .
How do you convert that string into the packet?
Test01 logs in on the first server, test02 logs in on the second server, and the login message of test02 is forwarded to the first server, which then notifies all users who log in on the first server
What are you trying to achieve here? It looks like some sort of clustering? Which Tigase supports natively?
from tigase-server.
Related Issues (20)
- maven build error HOT 7
- upgrade tigase from 7.1.5 to 8.2.2 HOT 30
- 用sprak连接tigase 8.2.2版本服务无法连接
- I tried to connect to tigase using smack and spark, but encountered the following error
- XEP-0485: PubSub Server Information support HOT 5
- Accound Disabled HOT 1
- Readme Quickstart Link broken HOT 1
- The BOSH port denies the connection HOT 5
- Can's access http://my-server-ip:8080/setup/ HOT 5
- 8.3.1 version HOT 1
- Inquiry About Licensing Options for Triplecyber HOT 2
- Cannot link to server HOT 1
- Tigase setup HOT 1
- Tigase.net blog section has a problem HOT 1
- www.tigase.org certificate + redirection without problem (no problem .net) HOT 1
- tigase.im sure.im jabber.today (www vhost problems) HOT 1
- The tigase service runs on an ARM linux server HOT 1
- Performance Optimization for stored procedure `Tig_OfflineMessages_AddMessage` and `last_insert_id` HOT 2
- ❗️Tigase has new home at tigase.dev - please submit all issues/pull-requests there in the relevant sub-project❗️
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 tigase-server.