RemoteAPI - LoginException

226 views
Skip to first unread message

Rajesh Gupta

unread,
Jul 19, 2016, 3:55:46 AM7/19/16
to google-a...@googlegroups.com
I am using 
    RemoteApiInstaller installer = new RemoteApiInstaller();
    RemoteApiOptions options =
        new RemoteApiOptions().server(domainName, portNumber)
            .credentials(userName, passwd);
    installer.install(options);
  
It is throwing the follow exception 
 com.google.appengine.tools.remoteapi.LoginException: Bad authentication response: 404

--
Regards,
Rajesh
Accounting/Inventory/Orders on Google Cloud Platform and Mobile

Rajesh Gupta

unread,
Jul 19, 2016, 7:30:20 AM7/19/16
to google-a...@googlegroups.com
I tried the following also - using useApplicationDefaultCredentail.
    RemoteApiOptions options =
        new RemoteApiOptions().server(serverConfig.domainName, serverConfig.portNumber).
        useApplicationDefaultCredential();

installer.install() still throws error.


I am running a local server and trying to access remote datastore.

Nick (Cloud Platform Support)

unread,
Jul 20, 2016, 6:18:28 PM7/20/16
to Google App Engine
Hey Rajesh,

As mentioned in previous threads, this forum should not be used for troubleshooting posts like this. You should either post an issue like this to the Public Issue Tracker if you are confident it's a platform issue (you have read the documentation and the system is not behaving as it should), or to Stack Overflow if it seems more like a possible confusion on your end. 

Nonetheless, I'll help you with some basic advice on this problem:

It seems that you have changed the authentication part of the code as a result of 404 - this is unnecessary as it's 403 which is the error response for auth issues. 404 means "Not Found", so it seems that you haven't deployed the remote API to the server you are trying to connect to. See this doc, for example, for the java way to configure remote API on the server (you need a special remote api handler on /remote_api).

Cheers,

Nick
Cloud Platform Community Support


On Tuesday, July 19, 2016 at 7:30:20 AM UTC-4, Rajesh Gupta wrote:
I tried the following also - using useApplicationDefaultCredentail.
    RemoteApiOptions options =
        new RemoteApiOptions().server(serverConfig.domainName, serverConfig.portNumber).
        useApplicationDefaultCredential();

installer.install() still throws error.


I am running a local server and trying to access remote datastore.

Rajesh Gupta

unread,
Jul 20, 2016, 11:23:32 PM7/20/16
to google-a...@googlegroups.com
Hi,
It was working fine last 3-4 years.  

Why SO?  This is not a code problem. Suddenly it stopped working.  It is some configuration issue, after the google cloud moved completely into the new datastore admin console.

Any configuration changes on the appid is required?

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/b74faf87-0f62-45b2-8ce5-e206b0bd816a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nick (Cloud Platform Support)

unread,
Jul 21, 2016, 3:36:59 PM7/21/16
to Google App Engine
Hey Rajesh,

If you believe this is a platform issue rather than possibly caused by code or actions on your end, then you should post to the Public Issue Tracker (this has also been mentioned in several prior threads), and be sure to include enough information, such as a curl request to /remote_api on the relevant service/version, the history of deployment, full error messages, a copy of your app.yaml / appengine-web.xml file, etc. etc.

This forum (Google Groups App Engine) is meant for general and high level discussion of the platform and services, questions about architecture and design patterns, comparison of different approaches to more high level problems, etc.

Please make a post to the Public Issue Tracker if you believe you're seeing a platform issue. My instinct is that some kind of change to your app, a recent deployment, a change to the default serving version / service, etc., likely made the handler start returning 404. When you post the issue, be sure to post a link here so I can continue to assist in the proper forum - I'll be happy to.

Sincerely,


Nick
Cloud Platform Community Support

On Wednesday, July 20, 2016 at 11:23:32 PM UTC-4, Rajesh Gupta wrote:
Hi,
It was working fine last 3-4 years.  

Why SO?  This is not a code problem. Suddenly it stopped working.  It is some configuration issue, after the google cloud moved completely into the new datastore admin console.

Any configuration changes on the appid is required?
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.

PK

unread,
Jul 22, 2016, 1:44:40 AM7/22/16
to Google App Engine
In your app.yaml equivalent for Java, how do you turn on remote_api, can you please cut & paste the section?

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.

Rajesh Gupta

unread,
Jul 28, 2016, 1:56:04 AM7/28/16
to google-a...@googlegroups.com
In the web.xml

<servlet>
   <servlet-name>RemoteApi</servlet-name>
   <servlet-class>com.google.apphosting.utils.remoteapi.RemoteApiServlet</servlet-class>
</servlet>

<servlet-mapping>
   <servlet-name>RemoteApi</servlet-name>
   <url-pattern>/remote_api</url-pattern>
</servlet-mapping>



For more options, visit https://groups.google.com/d/optout.

PK

unread,
Jul 28, 2016, 2:30:06 AM7/28/16
to google-a...@googlegroups.com
Do you have any security constraint on /remote_api?

Rajesh Gupta

unread,
Jul 28, 2016, 2:50:52 AM7/28/16
to google-a...@googlegroups.com
Yes
  <security-constraint>
        <web-resource-collection>
            <web-resource-name>Protected Area</web-resource-name>
            <url-pattern>/remote_api/*</url-pattern>
        </web-resource-collection>
        <auth-constraint>
            <role-name>admin</role-name>
        </auth-constraint>
    </security-constraint>



For more options, visit https://groups.google.com/d/optout.

PK

unread,
Jul 28, 2016, 9:33:56 AM7/28/16
to google-a...@googlegroups.com
Remove it and try again. This is most likely your problem. 

--Panos

Nick (Cloud Platform Support)

unread,
Jul 28, 2016, 3:12:11 PM7/28/16
to Google App Engine
Hey Rajesh,

I'll second PK's advice, here - there should be no reason to add an additional security constraint to the remote API endpoint, and that's likely the root of the problem.

Cheers,

Nick
Cloud Platform Community Support


On Thursday, July 28, 2016 at 9:33:56 AM UTC-4, PK wrote:
Remove it and try again. This is most likely your problem. 

--Panos
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.


--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.



--
Regards,
Rajesh
Accounting/Inventory/Orders on Google Cloud Platform and Mobile


--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.



--
Regards,
Rajesh
Accounting/Inventory/Orders on Google Cloud Platform and Mobile

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.

Nick (Cloud Platform Support)

unread,
Jul 28, 2016, 3:14:27 PM7/28/16
to Google App Engine
... Although I would also like to repeat my advice to check whether the service and version which are default on the app actually have the remote API endpoint handler on them. It seems a 404 is more consistent with that explanation than with the additional security constraint.

Rajesh Gupta

unread,
Aug 1, 2016, 12:38:59 AM8/1/16
to google-a...@googlegroups.com
I removed the security constraint from web.xml for the remoteapi.

The exception still remains.

On Fri, Jul 29, 2016 at 12:42 AM, 'Nick (Cloud Platform Support)' via Google App Engine <google-a...@googlegroups.com> wrote:
Hey Rajesh,

I'll second PK's advice, here - there should be no reason to add an additional security constraint to the remote API endpoint, and that's likely the root of the problem.

Cheers,

Nick
Cloud Platform Community Support


On Thursday, July 28, 2016 at 9:33:56 AM UTC-4, PK wrote:
Remove it and try again. This is most likely your problem. 

--Panos
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.


--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.



--
Regards,
Rajesh
Accounting/Inventory/Orders on Google Cloud Platform and Mobile


--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.



--
Regards,
Rajesh
Accounting/Inventory/Orders on Google Cloud Platform and Mobile

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Rajesh Gupta

unread,
Aug 1, 2016, 12:55:30 AM8/1/16
to google-a...@googlegroups.com
Hello Nick,


As mentioned earlier, everything was working fine, until the new admin console was released.

It happens with our other appids also.






On Fri, Jul 22, 2016 at 1:06 AM, 'Nick (Cloud Platform Support)' via Google App Engine <google-a...@googlegroups.com> wrote:
Hey Rajesh,

If you believe this is a platform issue rather than possibly caused by code or actions on your end, then you should post to the Public Issue Tracker (this has also been mentioned in several prior threads), and be sure to include enough information, such as a curl request to /remote_api on the relevant service/version, the history of deployment, full error messages, a copy of your app.yaml / appengine-web.xml file, etc. etc.

This forum (Google Groups App Engine) is meant for general and high level discussion of the platform and services, questions about architecture and design patterns, comparison of different approaches to more high level problems, etc.

Please make a post to the Public Issue Tracker if you believe you're seeing a platform issue. My instinct is that some kind of change to your app, a recent deployment, a change to the default serving version / service, etc., likely made the handler start returning 404. When you post the issue, be sure to post a link here so I can continue to assist in the proper forum - I'll be happy to.

Sincerely,

Nick
Cloud Platform Community Support

On Wednesday, July 20, 2016 at 11:23:32 PM UTC-4, Rajesh Gupta wrote:
Hi,
It was working fine last 3-4 years.  

Why SO?  This is not a code problem. Suddenly it stopped working.  It is some configuration issue, after the google cloud moved completely into the new datastore admin console.

Any configuration changes on the appid is required?
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.



--
Regards,
Rajesh
Accounting/Inventory/Orders on Google Cloud Platform and Mobile

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Rajesh Gupta

unread,
Aug 1, 2016, 3:11:54 AM8/1/16
to google-a...@googlegroups.com
Hello Nick,
I create a new project and tried.  It is the same exception.
Following code is not working

  RemoteApiInstaller installer = new RemoteApiInstaller();
    RemoteApiOptions options =
        new RemoteApiOptions().server(domainName, portNumber)
            .credentials(userName, passwd);
    installer.install(options);

Nick (Cloud Platform Support)

unread,
Aug 1, 2016, 11:42:28 AM8/1/16
to Google App Engine
Hey Rajesh,

I've followed up in that thread. It appears that the method .credentials(userName, passwd) is deprecated, so as the Public Issue Tracker thread reply suggests, you should use the recommended methods from the documentation. Let me know how that works and I'll be happy to assist.


Cheers,

Nick
Cloud Platform Community Support

On Monday, August 1, 2016 at 3:11:54 AM UTC-4, Rajesh Gupta wrote:
Hello Nick,
I create a new project and tried.  It is the same exception.
Following code is not working

  RemoteApiInstaller installer = new RemoteApiInstaller();
    RemoteApiOptions options =
        new RemoteApiOptions().server(domainName, portNumber)
            .credentials(userName, passwd);
    installer.install(options);
Hey Rajesh,
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.



--
Regards,
Rajesh
Accounting/Inventory/Orders on Google Cloud Platform and Mobile

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.



--
Regards,
Rajesh
Accounting/Inventory/Orders on Google Cloud Platform and Mobile

Rajesh Gupta

unread,
Aug 3, 2016, 4:47:04 AM8/3/16
to google-a...@googlegroups.com
Hello Nick,
There is no enough documentation to get started with using a localserver -> RemoteServer
It is suggested to use the following on the local server to access remote

RemoteApiOptions options = new RemoteApiOptions()
     .server("myappid.appspot.com", 443),
     .useApplicationDefaultCredential();
What is 'useApplicationDefaultCredential() on the local server.   

What extra settings or login code is required on the local.  I run a local server and login as te...@example.com.  Is it good enough?  

There is some documentation on using the above in the standalone client.  Not sure, what is the procedure from a local server client.

Request the Google team to add more documentation and examples and help developers when there are changes made to the platform like this.


On Mon, Aug 1, 2016 at 9:12 PM, 'Nick (Cloud Platform Support)' via Google App Engine <google-a...@googlegroups.com> wrote:
Hey Rajesh,

I've followed up in that thread. It appears that the method .credentials(userName, passwd) is deprecated, so as the Public Issue Tracker thread reply suggests, you should use the recommended methods from the documentation. Let me know how that works and I'll be happy to assist.

Cheers,

Nick
Cloud Platform Community Support

On Monday, August 1, 2016 at 3:11:54 AM UTC-4, Rajesh Gupta wrote:
Hello Nick,
I create a new project and tried.  It is the same exception.
Following code is not working

  RemoteApiInstaller installer = new RemoteApiInstaller();
    RemoteApiOptions options =
        new RemoteApiOptions().server(domainName, portNumber)
            .credentials(userName, passwd);
    installer.install(options);
Hey Rajesh,
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.



--
Regards,
Rajesh
Accounting/Inventory/Orders on Google Cloud Platform and Mobile

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.



--
Regards,
Rajesh
Accounting/Inventory/Orders on Google Cloud Platform and Mobile




--
Regards,
Rajesh
Accounting/Inventory/Orders on Google Cloud Platform and Mobile

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Nick (Cloud Platform Support)

unread,
Aug 8, 2016, 4:09:37 PM8/8/16
to Google App Engine
Hey Rajesh,

Following the "See Also" link in the documentation link provided before, you'll find a more general article on this topic. Searching the method via Google-search also brings up the article: Application Default Credentials. This document explains all about how default credentials work.

Sincerely,

Nick
Cloud Platform Community Support


On Wednesday, August 3, 2016 at 4:47:04 AM UTC-4, Rajesh Gupta wrote:
Hello Nick,
There is no enough documentation to get started with using a localserver -> RemoteServer
It is suggested to use the following on the local server to access remote

RemoteApiOptions options = new RemoteApiOptions()
     .server("myappid.appspot.com", 443),
     .useApplicationDefaultCredential();
What is 'useApplicationDefaultCredential() on the local server.   

What extra settings or login code is required on the local.  I run a local server and login as te...@example.com.  Is it good enough?  

There is some documentation on using the above in the standalone client.  Not sure, what is the procedure from a local server client.

Request the Google team to add more documentation and examples and help developers when there are changes made to the platform like this.

On Mon, Aug 1, 2016 at 9:12 PM, 'Nick (Cloud Platform Support)' via Google App Engine <google-appengine@googlegroups.com> wrote:
Hey Rajesh,

I've followed up in that thread. It appears that the method .credentials(userName, passwd) is deprecated, so as the Public Issue Tracker thread reply suggests, you should use the recommended methods from the documentation. Let me know how that works and I'll be happy to assist.

Cheers,

Nick
Cloud Platform Community Support

On Monday, August 1, 2016 at 3:11:54 AM UTC-4, Rajesh Gupta wrote:
Hello Nick,
I create a new project and tried.  It is the same exception.
Following code is not working

  RemoteApiInstaller installer = new RemoteApiInstaller();
    RemoteApiOptions options =
        new RemoteApiOptions().server(domainName, portNumber)
            .credentials(userName, passwd);
    installer.install(options);
Hey Rajesh,
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.



--
Regards,
Rajesh
Accounting/Inventory/Orders on Google Cloud Platform and Mobile

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.



--
Regards,
Rajesh
Accounting/Inventory/Orders on Google Cloud Platform and Mobile




--
Regards,
Rajesh
Accounting/Inventory/Orders on Google Cloud Platform and Mobile

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.

Rajesh Gupta

unread,
Aug 10, 2016, 5:00:57 AM8/10/16
to google-a...@googlegroups.com
Hello Nick.
Followed the  link to setup the Application Default Credentials.


And finally, we run the local server using.  

mvn appengine:devserver -Dappengine.address=0.0.0.0

Trying to acess the remote data using remote api.    I get the same errors.

[INFO] WARNING: /admin/cpnamespace: com.google.appengine.tools.remoteapi.Logi
Exception: Bad authentication response: 404
[INFO] Aug 10, 2016 8:51:56 AM com.google.appengine.api.taskqueue.dev.UrlFetchJ
b execute
[INFO] INFO: Web hook at http://127.0.0.1:8888/admin/cpnamespace returned sta
us code 500.  Rescheduling...
[INFO] Aug 10, 2016 8:51:56 AM com.google.apphosting.utils.jetty.AppEngineAuthe
tication$AppEngineAuthenticator authenticate
[INFO] INFO: Returning NOBODY because of SkipAdminCheck.




For more options, visit https://groups.google.com/d/optout.

Nick (Cloud Platform Support)

unread,
Aug 11, 2016, 7:33:11 PM8/11/16
to Google App Engine
Hey Rajesh,

At this point, you should post an issue report to the Public Issue Tracker with reproduction code and an example of the full stack trace. We monitor the Issue Tracker regularly so it will be quickly picked-up. Let me know by posting the link here and I'll also take a look as soon as the issue report is created.


Cheers,

Nick
Cloud Platform Community Support

Rajesh Gupta

unread,
Aug 12, 2016, 3:48:11 AM8/12/16
to google-a...@googlegroups.com
Hello Nick,
I have already posted on the issue tracker.  

There is not much code here to demo.  It is  about the steps and configuration with the recent changes in the auth policy and service accounts etc.

It seems to me that RemoteAPI is broken on Standard appengine.

I am using standard appengine.  

I am trying to use remote api to connect to remote appspot.
   RemoteApiOptions options =
        new RemoteApiOptions().server(serverConfig.domainName, serverConfig.portNumber).
        useApplicationDefaultCredential();

It does not work.

I have followed the steps to use the ApplicationDefaultCredential


mvn appengine:devserver -Dappengine.address=0.0.0.0

It does not work.  It gives login exception.   

Appreciate, if Google team writes more documentation or blog on connecting a dev server to a remote appid .  

Thanks.




For more options, visit https://groups.google.com/d/optout.

Rajesh Gupta

unread,
Aug 12, 2016, 6:28:42 AM8/12/16
to google-a...@googlegroups.com
Hello Nick
Now, again after following and setting up keys in the google cloud shell as per the following link.


Then, I did mvn appengine:devserver

Stacktrace:

[INFO] com.google.appengine.repackaged.com.google.api.client.http.HttpResponseEx
ception: 401
[INFO] You must be logged in as an administrator, or access from an approved app
lication.
[INFO]
[INFO]  at com.google.appengine.repackaged.com.google.api.client.http.HttpReques
t.execute(HttpRequest.java:1070)
[INFO]  at com.google.appengine.tools.remoteapi.OAuthClient.get(OAuthClient.java
:64)
[INFO]  at com.google.appengine.tools.remoteapi.RemoteApiInstaller.getAppIdFromS
erver(RemoteApiInstaller.java:413)
[INFO]  at com.google.appengine.tools.remoteapi.RemoteApiInstaller.loginImpl(Rem
oteApiInstaller.java:376)
[INFO]  at com.google.appengine.tools.remoteapi.RemoteApiInstaller.login(RemoteA
piInstaller.java:337)
[INFO]  at com.google.appengine.tools.remoteapi.RemoteApiInstaller.install(Remot
eApiInstaller.java:173)
[INFO]  at com.veersoft.services.CopyNamespaceServiceImpl.getMasterUserLoginList
(CopyNamespaceServiceImpl.java:129)
[INFO]  at com.veersoft.services.CopyNamespaceServiceImpl.copyNamespace(CopyName
spaceServiceImpl.java:62)
[INFO]  at com.veersoft.admin.copynamespace.CopyNamesapceServlet.process(CopyNam
esapceServlet.java:35)
[INFO]  at com.veersoft.admin.copynamespace.CopyNamesapceServlet.doPost(CopyName
sapceServlet.java:25)
[INFO]  at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
[INFO]  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
[INFO]  at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511
)
[INFO]  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1166)
[INFO]  at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainI
nvocation.java:66)
[INFO]  at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilte
rPipeline.java:118)
[INFO]  at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
[INFO]  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1157)
[INFO]  at com.veersoft.filter.ResetUserMessagesAndErrorsFilter.doFilter(ResetUs
erMessagesAndErrorsFilter.java:30)
[INFO]  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1157)
[INFO]  at com.googlecode.objectify.cache.AsyncCacheFilter.doFilter(AsyncCacheFi
lter.java:59)
[INFO]  at com.googlecode.objectify.ObjectifyFilter.doFilter(ObjectifyFilter.jav
a:49)
[INFO]  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1157)
[INFO]  at com.google.appengine.api.socket.dev.DevSocketFilter.doFilter(DevSocke
tFilter.java:74)
[INFO]  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1157)
[INFO]  at com.google.appengine.tools.development.ResponseRewriterFilter.doFilte
r(ResponseRewriterFilter.java:128)
[INFO]  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1157)
[INFO]  at com.google.appengine.tools.development.HeaderVerificationFilter.doFil
ter(HeaderVerificationFilter.java:34)
[INFO]  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1157)
[INFO]  at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(Serve
BlobFilter.java:63)
[INFO]  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1157)
[INFO]  at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter
(TransactionCleanupFilter.java:50)
[INFO]  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1157)
[INFO]  at com.google.appengine.tools.development.StaticFileFilter.doFilter(Stat
icFileFilter.java:125)
[INFO]  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1157)
[INFO]  at com.google.appengine.tools.development.DevAppServerModulesFilter.doDi
rectRequest(DevAppServerModulesFilter.java:366)
[INFO]  at com.google.appengine.tools.development.DevAppServerModulesFilter.doDi
rectModuleRequest(DevAppServerModulesFilter.java:349)
[INFO]  at com.google.appengine.tools.development.DevAppServerModulesFilter.doFi
lter(DevAppServerModulesFilter.java:116)
[INFO]  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1157)
[INFO]  at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:3
88)
[INFO]  at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.jav
a:216)
[INFO]  at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:1
82)
[INFO]  at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:7
65)
[INFO]  at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)

[INFO]  at com.google.appengine.tools.development.DevAppEngineWebAppContext.hand
le(DevAppEngineWebAppContext.java:98)
[INFO]  at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1
52)
[INFO]  at com.google.appengine.tools.development.JettyContainerService$ApiProxy
Handler.handle(JettyContainerService.java:511)
[INFO]  at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1
52)
[INFO]  at org.mortbay.jetty.Server.handle(Server.java:326)
[INFO]  at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:54
2)
[INFO]  at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnectio
n.java:938)
[INFO]  at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
[INFO]  at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
[INFO]  at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
[INFO]  at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.ja
va:409)
[INFO]  at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.j
ava:582)
[INFO] Aug 12, 2016 10:22:29 AM com.veersoft.services.CopyNamespaceServiceImpl g
etMasterUserLoginList


Nick (Cloud Platform Support)

unread,
Aug 12, 2016, 10:14:12 AM8/12/16
to Google App Engine
Hey Rajesh,

Thanks for your persistent replies. Unfortunately it's quite confusing to see so many different pieces of information reported without a clear explanation of how they link together, or what differences separate the posts. It would be best if you could provide more details of the code, such as:

* what server and port you're targeting
* what you've deployed there
* specifically, what endpoint the remote API servlet is configured on, and the config file (web.xml) data to show that
* what your project folder looks like
* what credentials you've set up
* the code you use to connect, without reference to undefined variables (such as serverConfig.domainName)

This information, all at the same time, is what's needed to form a clear analysis of the situation. A single stack trace on its own or some lines of code with undefined variables are unfortunately not sufficient to allow anybody to look into what's happening. 

If you could send your replies to the Public Issue Tracker thread from now on, that would be very helpful as well. I look forward to seeing your detailed post there so that I can take a look into the cause of the issue.


Cheers,

Nick
Cloud Platform Community Support

Reply all
Reply to author
Forward
0 new messages