Comments (7)
@et44 I pushed a fix that will resolve this. I have only tested on 10.7. If you run into this again, try rm -rf .env
Please reopen this if you still experience issues.
from socketrocket.
very much appreciate the work you're doing and the quick reply.
On Feb 13, 2012, at 2:18 PM, Mike Lewis wrote:
@et44 I pushed a fix that will resolve this. I have only tested on 10.7. If you run into this again, try
rm -rf .env
Please reopen this if you still experience issues.
Reply to this email directly or view it on GitHub:
#6 (comment)
from socketrocket.
just fyi, i had to rm .env but make finished and the tests ran. tnx again.
On Feb 13, 2012, at 2:18 PM, Mike Lewis wrote:
@et44 I pushed a fix that will resolve this. I have only tested on 10.7. If you run into this again, try
rm -rf .env
Please reopen this if you still experience issues.
Reply to this email directly or view it on GitHub:
#6 (comment)
from socketrocket.
sorry to bug you. the python chat server starts, and the testchat app in the simulator says it's connected, and it does append chat sentCells to its tableview, but a browser (Safari 5.1.2) opened to localhost:9000 seems to hang. the info_div on the browser page only displays "status: connecting..." - never updates to "status: connected to gateway" (per proxy.js), and Submit updates the page but not the (iPhone 5.0 Simulator) app, or vice-versa from the app to the browser. am I missing something obvious?
On Feb 13, 2012, at 2:18 PM, Mike Lewis wrote:
@et44 I pushed a fix that will resolve this. I have only tested on 10.7. If you run into this again, try
rm -rf .env
Please reopen this if you still experience issues.
Reply to this email directly or view it on GitHub:
#6 (comment)
from socketrocket.
I've only tested it in Chrome. Can you tell me if Chrome works? If not, I
will take a look.
Thanks,
Mike
Michael Lewis
lolrus.org
[email protected]
On Mon, Feb 13, 2012 at 4:34 PM, et44 <
[email protected]
wrote:
sorry to bug you. the python chat server starts, and the testchat app in
the simulator says it's connected, and it does append chat sentCells to its
tableview, but a browser (Safari 5.1.2) opened to localhost:9000 seems to
hang. the info_div on the browser page only displays "status:
connecting..." - never updates to "status: connected to gateway" (per
proxy.js), and Submit updates the page but not the (iPhone 5.0 Simulator)
app, or vice-versa from the app to the browser. am I missing something
obvious?On Feb 13, 2012, at 2:18 PM, Mike Lewis wrote:
@et44 I pushed a fix that will resolve this. I have only tested on
10.7. If you run into this again, tryrm -rf .env
Please reopen this if you still experience issues.
Reply to this email directly or view it on GitHub:
#6 (comment)
Reply to this email directly or view it on GitHub:
#6 (comment)
from socketrocket.
yeah, works in chrome, tnx. thought I had tried it but realized i only tried safari and firefox - same problem with both.
hope this doesn't piss you off but i'm wondering if the socketrocket cocoa would work just as well with a node.js server with socket.io? I've been fiddling with express/mongodb and ASIHTTPRequest the last few days and i've got some basic stuff working, but i suck at javascript only somewhat less than python which i've never looked at before. i looked through the SRWebSocket class - it is wayyy over my head. I'm trying to get multiple iOS devices to work with shared data using json without polling. your chat server works awesome and the SRWebSocketDelegate implementation in TCViewController is really minimal and clean. using your library on the ios client side seems like a breeze. it looks like your python server largely leverages tornado, and it would take me a lot longer to get up to speed with python than javascript if node/socket.io would work.
On Feb 13, 2012, at 6:10 PM, Mike Lewis wrote:
I've only tested it in Chrome. Can you tell me if Chrome works? If not, I
will take a look.Thanks,
MikeMichael Lewis
lolrus.org
[email protected]On Mon, Feb 13, 2012 at 4:34 PM, et44 <
[email protected]wrote:
sorry to bug you. the python chat server starts, and the testchat app in
the simulator says it's connected, and it does append chat sentCells to its
tableview, but a browser (Safari 5.1.2) opened to localhost:9000 seems to
hang. the info_div on the browser page only displays "status:
connecting..." - never updates to "status: connected to gateway" (per
proxy.js), and Submit updates the page but not the (iPhone 5.0 Simulator)
app, or vice-versa from the app to the browser. am I missing something
obvious?On Feb 13, 2012, at 2:18 PM, Mike Lewis wrote:
@et44 I pushed a fix that will resolve this. I have only tested on
10.7. If you run into this again, tryrm -rf .env
Please reopen this if you still experience issues.
Reply to this email directly or view it on GitHub:
#6 (comment)
Reply to this email directly or view it on GitHub:
#6 (comment)
Reply to this email directly or view it on GitHub:
#6 (comment)
from socketrocket.
By default tornado.websocket only supports RFC6455. Safari uses the older draft76/00 protocol. There is an option in tornado to enable support for older protocols: http://www.tornadoweb.org/documentation/websocket.html (see the warning box)
The javascript test client only creates an unprefixed WebSocket connection (https://github.com/square/SocketRocket/blob/master/TestChatServer/static/proxy.js#L13). This will not work in FireFox as before version 11 (i.e. all non RFC6455 implementations) were prefixed as MozWebSocket. It can be made to work in older FireFox's by checking whether either one is available and using the appropriate one.
et44: SocketRocket client should work with any WebSocket server, not just python ones. I have it running against my own server written in C++. Node.js shouldn't be a problem as long as you can arrange the server to speak RFC6455 websocket.
from socketrocket.
Related Issues (20)
- The newest version: 0.6.0, [wss + ip] format to connect, it gets an error: Error Domain=NSOSStatusErrorDomain Code=-9807
- iOS16.0 线程警告提示 HOT 3
- Crash on iOS 16:CFSocketInvalidate + 132 HOT 2
- wss pem
- [SRWebSocket setReadyState:] crash
- Memory leaks HOT 2
- How to use SSL new version
- Seeing the app crash due to crash at com.facebook.SocketRocket.NetworkThread
- SRWebSocket.m give Hang risk warning in Xcode 14 HOT 5
- Memory Leak HOT 1
- Deployment Targets for Cocoapod
- EXC_BREAKPOINT pod '0.6.0' HOT 1
- is 0.6.1 available in pods? HOT 2
- Libraries collision in iOS, React Native and AWS Iot
- Open Error HOT 3
- Cannot connect with subprotocol `graphql-transport-ws`
- How to set or enforce TLS 1.3 version?
- Q: Support L4S udp socket?
- Add SocketRocket.podspec of 0.7.0 version to https://github.com/CocoaPods/Specs.git HOT 3
- Privacy Manifest 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 socketrocket.