Hello people,
Could you point me the exact version of Firefox used and perhaps a
link to the nightly trunk?
I have FF Mozilla DeveloperPreview/4.0b2pre, which 'knows' some basic
websockets, but not entirely. It does NOT work with one of my
Websockets demos...
When I ran the simple web client, the status message is always
"DISCONNECTED", and the bottom console logs forever: "Attempting to
reconnect".
However on the server side, the Ws connection is created AND then
dropped:
"Jul 16, 2010 10:54:18 AM
org.waveprotocol.wave.examples.fedone.rpc.ServerRpcProvider
$WebSocketConnection <init>
**INFO: New websocket connection set up. **
2010-07-16 10:54:18.105:DBUG::RESPONSE /socket 101
**Jul 16, 2010 10:54:18 AM
org.waveprotocol.wave.examples.fedone.rpc.WebSocketServerChannel
onDisconnect **"
I got also another exception from Jetty:
":WARN::handle failed
java.lang.IllegalArgumentException: !utf8
at
org.eclipse.jetty.util.Utf8StringBuilder.append(Utf8StringBuilder.java:
119)
at
org.eclipse.jetty.websocket.WebSocketParser.parseNext(WebSocketParser.java:
147)
at
org.eclipse.jetty.websocket.WebSocketConnection.handle(WebSocketConnection.java:
96)
at
org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
474)
at org.eclipse.jetty.util.thread.QueuedThreadPool
$2.run(QueuedThreadPool.java:437)
at java.lang.Thread.run(Thread.java:619)"
I think the problems lies in the browser. (in Chrome works perfectly,
in latest Safari 5 does not).
So what browser to use to be able to run Hosted mode (my comp is
x86_64, OS: either Ubuntu 10.04 or Windows 7)?
Any advice welcome.
Thank you!
On Jun 24, 10:52 am, Anthony Baxter <[email protected]> wrote:
> The testing/ code is only used by tests. It's bad form to have test
> code that depends on other test code.
>
> I'll look at cleaning that up next week.
>
>
>
>
>
>
>
>
>
> On Thu, Jun 24, 2010 at 17:28, andreas <[email protected]> wrote:
> > You're right Anthony, it was (simply) the wrong version of FireFox.
>
> > I'm sorry about that. I was just to curious about getting it running
> > that I did not read the last Error with its attached Exception which
> > of course (shame on me) clearly stated that WebSocket was not
> > supported by the browser (FF 3.6).
>
> > With 3.7 it all works fine.
>
> > Anyway I resolved the other Errors by moving the affected class files
> > into the test source folder. Is there a reason why test code is placed
> > in the normal source folder?
>
> > Andreas
>
> > On 24 Jun., 09:08, Anthony Baxter <[email protected]> wrote:
> >> Those errors shouldn't stop the code from starting up...
>
> >> On Thu, Jun 24, 2010 at 01:59, andreas <[email protected]>
> >> wrote:
> >> > Hey alona,
>
> >> > did you manage to get the Hosted Mode running? How is your project
> >> > setup?
>
> >> > I have imported FedOne (io2010 repository) in one Java project and got
> >> > Hosted Mode up with your "startupUrl" hint. However Hosted Mode drops
> >> > the following errors when I try to connect FF (daily) withGWTPlugin:
>
> >> > 00:00:18,386 [DEBUG] Validating newly compiled units
> >> > 00:00:18,386 [ERROR] Errors in 'file:/home/ahorst/workspace/
> >> > MyFedOne/src/org/waveprotocol/wave/client/editor/testing/
> >> > MockTypingSink.java'
> >> > 00:00:18,386 [ERROR] Line 71: No source code is available for
> >> > type junit.framework.TestCase; did you forget to inherit a required
> >> > module?
> >> > 00:00:18,390 [ERROR] Errors in 'file:/home/ahorst/workspace/
> >> > MyFedOne/src/org/waveprotocol/wave/client/editor/testtools/
> >> > EditorAssert.java'
> >> > 00:00:18,390 [ERROR] Line 29: No source code is available for
> >> > type junit.framework.Assert; did you forget to inherit a required
> >> > module?
> >> > 00:00:18,395 [ERROR] Errors in 'file:/home/ahorst/workspace/
> >> > MyFedOne/src/org/waveprotocol/wave/model/conversation/testing/
> >> > FakeConversationView.java'
> >> > 00:00:18,395 [ERROR] Line 27: The import
> >> > org.waveprotocol.wave.model.testing.FakeWaveView cannot be resolved
> >> > 00:00:18,395 [ERROR] Line 74: FakeWaveView cannot be resolved to
> >> > a type
> >> > 00:00:18,395 [ERROR] Line 74: FakeWaveView cannot be resolved
>
> >> > You did not run into these problems? If yes how did you resolve them?
>
> >> > Greetings,
>
> >> > Andreas
>
> >> > On 23 Jun., 11:05, "alona.oz" <[email protected]> wrote:
> >> >> I new this is something stupid...
> >> >> I've just added the -startupUrl pointed to the server
>
> >> >> -startupUrlhttp://localhost:9898
>
> >> >> Now it works
>
> >> >> On Jun 23, 10:53 am, "alona.oz" <[email protected]> wrote:
>
> >> >> > I've installed Safari Windows 5 and received similar error:
>
> >> >> > Safari can’t connect to the server.
> >> >> > Safari can’t open the page “http://127.0.0.1:8888/Diamond.html?
> >> >> >gwt.codesvr=127.0.0.1:9997” because Safari can’t connect to the server
> >> >> > “127.0.0.1”.
>
> >> >> > It seems to me basic problem with connection that I can't understand.
> >> >> > I need your help here since currently the development is very slow
> >> >> > because to compile project on each change takes 2-3 minutes (it
> >> >> > compiles 15 permutations that I also didn't succeed to reduce) and
> >> >> > hosted mode doesn't work.
> >> >> > Any idea to speed up the development will be appreciated.
>
> >> >> > On Jun 23, 9:46 am, "alona.oz" <[email protected]> wrote:
>
> >> >> > > Do you mean I need to install Safari and develop with Safari? Will
> >> >> > > it
> >> >> > > work with Windows?
> >> >> > > I want to set up the normal development mode forGWTweb application.
> >> >> > > Did you develop this project with Safari?
>
> >> >> > > 10x
>
> >> >> > > On Jun 23, 9:07 am, Anthony Baxter <[email protected]> wrote:
>
> >> >> > > > The only hosted mode plugin that works is with webkit
> >> >> > > > nightly/safari
> >> >> > > > 5. There's no Chrome plugin, and only Chrome and latest Safari
> >> >> > > > support
> >> >> > > > websockets.
>
> >> >> > > > On Wed, Jun 23, 2010 at 00:44, alona.oz <[email protected]>
> >> >> > > > wrote:
> >> >> > > > > I am trying to run a hosted_gwt target from given build.xml
> >> >> > > > > file and I
> >> >> > > > > get this in the browser window.
> >> >> > > > > What is the problem? May be I should do some more except
> >> >> > > > > starting the
> >> >> > > > > FedOne server?
>
> >> >> > > > > Oops! Google Chrome could not connect to 127.0.0.1:8888
>
> >> >> > > > > The broswer url
> >> >> > > > > ishttp://127.0.0.1:8888/simplewebclient.html?gwt.codesvr=127.0.0.1:9997
>
> >> >> > > > > 10x
>
> >> >> > > > > --
> >> >> > > > > You received this message because you are subscribed to the
> >> >> > > > > Google Groups "Wave Protocol" group.
> >> >> > > > > To post to this group, send email to
> >> >> > > > > [email protected].
> >> >> > > > > To unsubscribe from this group, send email to
> >> >> > > > > [email protected].
> >> >> > > > > For more options, visit this group
> >> >> > > > > athttp://groups.google.com/group/wave-protocol?hl=en.
>
> >> >> > > > --
> >> >> > > > Anthony Baxter, [email protected] Hide quoted text -
>
> >> >> > > > - Show quoted text -- Hide quoted text -
>
> >> >> > > - Show quoted text -- Hide quoted text -
>
> >> >> > - Show quoted text -
>
> >> > --
> >> > You received this message because you are subscribed to the Google
> >> > Groups "Wave Protocol" group.
> >> > To post to this group, send email to [email protected].
> >> > To unsubscribe from this group, send email to
> >> > [email protected].
> >> > For more options, visit this group
> >> > athttp://groups.google.com/group/wave-protocol?hl=en.
>
> >> --
> >> Anthony Baxter, [email protected]
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Wave Protocol" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group
> > athttp://groups.google.com/group/wave-protocol?hl=en.
>
> --
> Anthony Baxter, [email protected]
--
You received this message because you are subscribed to the Google Groups "Wave
Protocol" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/wave-protocol?hl=en.