Comments (4)
Looking.
from wasync.
Working on it...but I can't reproduce it. Which server are you using? You set the header as LONG-POLLING but the primary transport is WEBSOCKET, which might explain the issue.
from wasync.
i don't know if it's the same problem ....
I create a socket ....
Socket sckt = socket.on(new Function() {
@OverRide
public void on(String r) {
System.out.println("Llegada : "+r);
response.set(r);
}
}).on(new Function() {
@OverRide
public void on(Throwable t) {
System.out.println(t.getMessage());
}
})
.open(request.build());
I use sckt.fire() and it works !!! .... but if i use it a second time .... the on() method does not register the new response, i have to open the socket again to make it work
could this be a reconnection problem ??
Oh, these are my parameters (I'm using JBoss 7.1.1):
RequestBuilder request = client.newRequestBuilder().method(Request.METHOD.GET).uri("http://localhost:8080/AtmosphereTest/echo/test").
transport(TRANSPORT.LONG_POLLING)
.header(HeaderConfig.X_ATMOSPHERE_TRANSPORT, HeaderConfig.LONG_POLLING_TRANSPORT);
from wasync.
Fixed
from wasync.
Related Issues (20)
- Atmosphere streaming problem HOT 2
- Documentation link broken HOT 1
- WebSocketTransport - are ignoring the first text frame HOT 2
- TrackMessageSizeDecoder is aborting messages that contain "__" in the body
- NPE: scheme when opening the socket HOT 1
- reconnect with long-polling transport
- Bug in TransportsUtil.java HOT 5
- Simple HTTP pooling
- Not able to receive some specific data on Android wAsync client HOT 1
- Issue with QueryParams - string becomes too long after a number of reconnect attempts HOT 4
- Update to latest Netty HOT 2
- Exception on Socket.close()
- Nullpointer exception in atmosphere runtime 2.0.3 version HOT 1
- travis CI fails with dist: not set to trusty
- Fix build status banner to point to travis-ci.
- SSLv2Hello HandshakeException
- java.io.IOException: Connection Error 200
- Can Atmosphere be used for persistent connection from behind the firewall?
- Incomplete padding messages are propagated to message Function<String> with long-polling
- StreamTransport triggers Event.REOPENED after each message when protocol is enabled HOT 3
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 wasync.