Monday, February 27, 2012

Re: how to test GWT app through a proxy

I don't think it's directly related to the proxy pattern that Dan mentioned.  It seems to be that your user doesn't have great internet access, or there is some issue in the connection between that user and your web server.  It seems that the error message happens when the browser is not able to communicate (reliably) with the web server.

Here is a related link that could help you out:  http://stackoverflow.com/questions/5258434/unable-to-initiate-the-asynchronous-service-invocation 

On Monday, February 27, 2012 1:56:32 PM UTC-5, John Malpas wrote:
Thanks that is interesting. What I know is,
I am writing the "MyDataService" part, and somehow
GWT must be writing the "MyDataService_Proxy" part.

And then there is this one (thankfully) very vocal
user, whose access to the RPC needed by the application
goes through the "MyDataService_Proxy" part,
and it works for him only occasionally.

I would like to be able to test the "MyDataService_Proxy"
part from where I am developing, or at least from
somewhere nearby.

On Feb 26, 7:20 am, Dan <d.j.mcgr...@gmail.com> wrote:
> That error message suggests a different kind of proxy,http://en.wikipedia.org/wiki/Proxy_pattern.
>
> On Feb 25, 8:40 pm, John Malpas <jmal...@calflora.org> wrote:
>
>
>
>
>
>
>
> > I have several GWT (2.4) applications out there.
>
> > One in a while, a user writes in with a problem,
> > where it is clear the RPC is not working, and it
> > is clear there is some proxy involved in their access
> > to the application.
>
> > (Most recent: "Unable to initiate the asynchronous service invocation
> > (MyDataService_Proxy.login)")
>
> > I need to figure out some way to test access to the
> > applications through a proxy, so I can at least see what
> > these users are seeing. The same applications work fine
> > for me on a variety of browsers and computers.
> > (My own computers get to the web through ATT DSL with
> > no proxy involved.)
>
> > Has anyone else faced this problem (need to test through
> > a proxy)?

On Monday, February 27, 2012 1:56:32 PM UTC-5, John Malpas wrote:
Thanks that is interesting. What I know is,
I am writing the "MyDataService" part, and somehow
GWT must be writing the "MyDataService_Proxy" part.

And then there is this one (thankfully) very vocal
user, whose access to the RPC needed by the application
goes through the "MyDataService_Proxy" part,
and it works for him only occasionally.

I would like to be able to test the "MyDataService_Proxy"
part from where I am developing, or at least from
somewhere nearby.

On Feb 26, 7:20 am, Dan <d.j.mcgr...@gmail.com> wrote:
> That error message suggests a different kind of proxy,http://en.wikipedia.org/wiki/Proxy_pattern.
>
> On Feb 25, 8:40 pm, John Malpas <jmal...@calflora.org> wrote:
>
>
>
>
>
>
>
> > I have several GWT (2.4) applications out there.
>
> > One in a while, a user writes in with a problem,
> > where it is clear the RPC is not working, and it
> > is clear there is some proxy involved in their access
> > to the application.
>
> > (Most recent: "Unable to initiate the asynchronous service invocation
> > (MyDataService_Proxy.login)")
>
> > I need to figure out some way to test access to the
> > applications through a proxy, so I can at least see what
> > these users are seeing. The same applications work fine
> > for me on a variety of browsers and computers.
> > (My own computers get to the web through ATT DSL with
> > no proxy involved.)
>
> > Has anyone else faced this problem (need to test through
> > a proxy)?

On Monday, February 27, 2012 1:56:32 PM UTC-5, John Malpas wrote:
Thanks that is interesting. What I know is,
I am writing the "MyDataService" part, and somehow
GWT must be writing the "MyDataService_Proxy" part.

And then there is this one (thankfully) very vocal
user, whose access to the RPC needed by the application
goes through the "MyDataService_Proxy" part,
and it works for him only occasionally.

I would like to be able to test the "MyDataService_Proxy"
part from where I am developing, or at least from
somewhere nearby.

On Feb 26, 7:20 am, Dan <d.j.mcgr...@gmail.com> wrote:
> That error message suggests a different kind of proxy,http://en.wikipedia.org/wiki/Proxy_pattern.
>
> On Feb 25, 8:40 pm, John Malpas <jmal...@calflora.org> wrote:
>
>
>
>
>
>
>
> > I have several GWT (2.4) applications out there.
>
> > One in a while, a user writes in with a problem,
> > where it is clear the RPC is not working, and it
> > is clear there is some proxy involved in their access
> > to the application.
>
> > (Most recent: "Unable to initiate the asynchronous service invocation
> > (MyDataService_Proxy.login)")
>
> > I need to figure out some way to test access to the
> > applications through a proxy, so I can at least see what
> > these users are seeing. The same applications work fine
> > for me on a variety of browsers and computers.
> > (My own computers get to the web through ATT DSL with
> > no proxy involved.)
>
> > Has anyone else faced this problem (need to test through
> > a proxy)?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/6UqKqxVOSGAJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment