Comments (10)
Please, could you add more context? DonΒ΄t know exactly how to reproduce this.
Besides, looks like it could also be some bug on client side
from jackal.
Im not sure what i context i could provide
the server is able to put more data into the buffer as you can see on the first stanza
but after that he just puts not enough data into it anymore
im not sure how this is even possible it almost looks like some parser puts stuff into the buffer as he parses it, element after element
16.03.2019 20:39:33 (I) nbxmpp.client | raising event from transport: :::::DATA RECEIVED::::
_____________
<?xml version="1.0"?><stream:stream xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" id="95f52c14-8e87-4fd0-8104-639aaeac246e" from="wormhole.chat" version="1.0"><stream:features xmlns:stream="http://etherx.jabber.org/streams" version="1.0"><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mech
anism>PLAIN</mechanism><mechanism>DIGEST-MD5</mechanism><mechanism>SCRAM-SHA-1</mechanism><mechanism>SCRAM-SHA-1-PLUS</mechanism><mechanism>SCRAM-SHA-256</mechanism><mechanism>SCRAM-SHA-256-PLUS</mechanism><mechanism>SCRAM-SHA-512</mechanism><mechanism>SCRAM-SHA-512-PLUS</mechanism></mechanisms><register xmlns="http://
jabber.org/features/iq-register"/></stream:features>
_____________
16.03.2019 20:39:43 (I) nbxmpp.transports | Plugging fd 1128, W:True, R:True
16.03.2019 20:39:43 (I) nbxmpp.transports | pollout called, state == CONNECTED
16.03.2019 20:39:43 (I) nbxmpp.transports | Plugging fd 1128, W:False, R:True
16.03.2019 20:39:43 (I) nbxmpp.client | raising event from transport: :::::DATA SENT::::
_____________
<auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256-PLUS">cD10bHMtdW5pcXVlLCxuPWxvdmV0b3gscj0zNmE1YWY0MzAxODFjZWFhMGU4NTdkOGViYTViZmFlYjAyYTczODc4ZjM5Mjk4MjI=</auth>
_____________
16.03.2019 20:39:43 (D) gajim.c.ged | Raise event: stanza-sent
16.03.2019 20:39:43 (I) nbxmpp.transports | pollin called, state == CONNECTED
16.03.2019 20:39:43 (I) nbxmpp.idlequeue | read timeout removed for fd 1128
16.03.2019 20:39:43 (I) nbxmpp.client | raising event from transport: :::::DATA RECEIVED::::
_____________
<
_____________
16.03.2019 20:39:43 (I) nbxmpp.transports | pollin called, state == CONNECTED
16.03.2019 20:39:43 (I) nbxmpp.idlequeue | read timeout removed for fd 1128
16.03.2019 20:39:43 (I) nbxmpp.client | raising event from transport: :::::DATA RECEIVED::::
_____________
challenge
_____________
16.03.2019 20:39:43 (I) nbxmpp.transports | pollin called, state == CONNECTED
16.03.2019 20:39:43 (I) nbxmpp.idlequeue | read timeout removed for fd 1128
16.03.2019 20:39:43 (I) nbxmpp.client | raising event from transport: :::::DATA RECEIVED::::
_____________
_____________
16.03.2019 20:39:43 (I) nbxmpp.transports | pollin called, state == CONNECTED
16.03.2019 20:39:43 (I) nbxmpp.idlequeue | read timeout removed for fd 1128
16.03.2019 20:39:43 (I) nbxmpp.client | raising event from transport: :::::DATA RECEIVED::::
_____________
xmlns
_____________
16.03.2019 20:39:43 (I) nbxmpp.transports | pollin called, state == CONNECTED
16.03.2019 20:39:43 (I) nbxmpp.idlequeue | read timeout removed for fd 1128
16.03.2019 20:39:43 (I) nbxmpp.client | raising event from transport: :::::DATA RECEIVED::::
_____________
="
_____________
16.03.2019 20:39:43 (I) nbxmpp.transports | pollin called, state == CONNECTED
16.03.2019 20:39:43 (I) nbxmpp.idlequeue | read timeout removed for fd 1128
16.03.2019 20:39:43 (I) nbxmpp.client | raising event from transport: :::::DATA RECEIVED::::
_____________
urn:ietf:params:xml:ns:xmpp-sasl
_____________
from jackal.
what kind of transport are you using? socket? websocket?
from jackal.
no special transport, standard socket
from jackal.
π€ I see.
I think I can figure out where the problem is. I'll tackle the issue and make know as soon as the patch is ready.
from jackal.
Just pushed a patch on master branch...
could you please check it now? π
from jackal.
hm yes can you offer an account on a patched server?
i am a client dev i just observed this problem, its not my server
from jackal.
Try registering an account on jackal.im
from jackal.
yes works fine on that server, though we never know now if that bug was on that server in the first place.
but i guess you wouldnt push changes if you didnt think you found something
thanks
from jackal.
You were right from the begining, data was being sent while perfoming serialization.
Current approach uses an intermediate buffer instead.
Thanks to you for reporting! π π
from jackal.
Related Issues (20)
- Add repository.Private cached type
- Add repository.Offline cached type
- Add repository.Last cached type
- Add repository.Capabilities cached type
- Add repository.BlockList cached type
- XEP-0227: Portable Import/Export Format for XMPP-IM Servers
- New maintainer(s) needed HOT 3
- Move into the organization HOT 2
- Refactor storage model to provide other alternatives besides an RDBMS / SQL db HOT 3
- Websocket connection? HOT 2
- no pepper keys defined? HOT 1
- Getting Started: go get won't work any more HOT 4
- Cannot install with go install
- jackalctl will create invalid users HOT 3
- Add support for XEP-0163: Personal Eventing Protocol
- Authentication failure HOT 2
- VoIP HOT 1
- Digging into logger configuration
- Docker-compose doesn't work HOT 2
- β οΈ Looking for a new maintainer β οΈ HOT 2
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 jackal.