Comments (10)
Interesting. I'll take a look at this tomorrow (just heading off to bed) and see if I can reproduce using my test harness. There are also some other bugs around channels I need to look at too (see #25).
On a side-note, it's cool to hear you're using this for Gaug.es - I've been meaning to try it out for ages.
from libpusher.
Also, out of interest, do you do any further customisation of the authorisation request (e.g. inject an auth token header, set up basic auth) in the pusher:willAuthorizeChannelWithRequest:
delegate method?
from libpusher.
@lukeredpath thanks for following up so quickly.
We are adding the user's token to the request:
- (void)pusher:(PTPusher *)pusher willAuthorizeChannelWithRequest:(NSMutableURLRequest *)request {
[request setValue:User.token forHTTPHeaderField:@"X-Gauges-Token"];
}
from libpusher.
@bkeepers I was also wondering if you've tried the use-socket-rocket
backend branch. It's still being tested but I've ripped out the web socket backend for one that's more up-to-date, conforms to spec and is being actively maintained (it's developed by the guys over at @square).
from libpusher.
I Haven't. We can give that a try.
On Feb 28, 2012, at 4:28 PM, Luke [email protected] wrote:
@bkeepers I was also wondering if you've tried the
use-socket-rocket
backend branch. It's still being tested but I've ripped out the web socket backend for one that's more up-to-date, conforms to spec and is being actively maintained (it's developed by the guys over at @square).
Reply to this email directly or view it on GitHub:
#26 (comment)
from libpusher.
@bkeepers some positive news is that I've been able to reproduce your issue (see the functional spec I've added in the above commit). If I can't get to the bottom of this tonight, I will do my best to fix this tomorrow.
from libpusher.
@bkeepers good news - I found the source of the bug. See the commit for more details. Thanks for reporting this issue, that could have lied undiscovered for a while.
I intend to get the use-socketrocket-branch merged into master ASAP and release a new version, but in the meantime please use the use-socketrocket-branch.
Me, on finding the bug:
from libpusher.
Awesome, thanks! We'll give it a try tomorrow. If all goes well, we'll ship the next version of the Gaug.es iOS app using libPusher. :)
Thanks for your great work!
from libpusher.
I never followed up. That worked beautifully. The next version of the Gauges iOS app is submitted and waiting for approval. Thanks for sharing libPusher!
from libpusher.
Thanks for the follow up, great news. You are welcome.
from libpusher.
Related Issues (20)
- Expose more verbose error from SDK. HOT 1
- Xcode 8 and iOS 10 HOT 10
- 'PTEventListener.h' file not found HOT 2
- No auth data sent in subscription event HOT 4
- Crash with PTNSJSONParser objectFromJSONString HOT 2
- [push notifications] Error callbacks? HOT 3
- Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_PTPusher" HOT 1
- [Critical] Version Preprocessor Macro Crashes Cocoapods HOT 1
- Push lib crashes HOT 3
- Retain cycle in PTURLRequestOperation HOT 2
- ReactiveCocoa => ReactiveObjC for swift3
- Undefined symbols for architecture arm64 HOT 2
- Dynamic Channels HOT 4
- New release? HOT 4
- No current subscription to channel myChannel, or subscription in progress HOT 7
- Unable to read your certificate: failed to parse PKCS1 private key HOT 12
- Xcode 9 - PTPusherErrorDomain error while subscribing to private channel HOT 2
- Getting this error. "Value of type 'PTPusherPrivateChannel' has no member 'bind'" HOT 2
- 'WebSocketClient' is ambiguous for type lookup in this context
- Private channel not receiving pusher events. HOT 9
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 libpusher.