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-appengine@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
> <https://cloud.google.com/appengine/docs/java/tools/remoteapi>, 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
>>
>> On Jul 27, 2016, at 11:50 PM, Rajesh Gupta <
>> rajesh.gu...@veersoftsolutions.com> wrote:
>>
>> 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>
>>
>>
>> On Thu, Jul 28, 2016 at 11:59 AM, PK <p...@gae123.com> wrote:
>>
>>> Do you have any security constraint on /remote_api?
>>>
>>> PK
>>> p...@gae123.com
>>>
>>>
>>>
>>>
>>> On Jul 27, 2016, at 10:55 PM, Rajesh Gupta <
>>> rajesh.gu...@veersoftsolutions.com> wrote:
>>>
>>> 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>
>>>
>>>
>>> On Fri, Jul 22, 2016 at 11:14 AM, PK <p...@gae123.com> wrote:
>>>
>>>> In your app.yaml equivalent for Java, how do you turn on remote_api,
>>>> can you please cut & paste the section?
>>>>
>>>> PK
>>>> p...@gae123.com
>>>>
>>>>
>>>>
>>>>
>>>> On Jul 19, 2016, at 12:54 AM, Rajesh Gupta <
>>>> rajesh.gu...@veersoftsolutions.com> wrote:
>>>>
>>>> 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
>>>> *www.VeersoftSolutions.com <http://www.veersoftsolutions.com/>*
>>>> *www.GainERP.com <https://www.gainerp.com/>*
>>>> *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+unsubscr...@googlegroups.com.
>>>> To post to this group, send email to google-appengine@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/CA%2BS7ijaG43QS2fPBbouPZ07ULRTsTDyRHQaHSLsUQs2GDgkg6g%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijaG43QS2fPBbouPZ07ULRTsTDyRHQaHSLsUQs2GDgkg6g%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>>
>>>>
>>>> --
>>>> 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+unsubscr...@googlegroups.com.
>>>> To post to this group, send email to google-appengine@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/3BBA3ED3-747F-4105-9ED5-B5C5DFC78433%40gae123.com
>>>> <https://groups.google.com/d/msgid/google-appengine/3BBA3ED3-747F-4105-9ED5-B5C5DFC78433%40gae123.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> --
>>> Regards,
>>> Rajesh
>>> *www.VeersoftSolutions.com <http://www.veersoftsolutions.com/>*
>>> *www.GainERP.com <https://www.gainerp.com/>*
>>> *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+unsubscr...@googlegroups.com.
>>> To post to this group, send email to google-appengine@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/CA%2BS7ijZ1WPfQchx23OmD%2B_%2B4Be10Ak74351Gi5r2DMws4Bq8tA%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijZ1WPfQchx23OmD%2B_%2B4Be10Ak74351Gi5r2DMws4Bq8tA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>> --
>>> 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+unsubscr...@googlegroups.com.
>>> To post to this group, send email to google-appengine@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/B9074312-12BD-45B3-A248-0B1A1245BAC0%40gae123.com
>>> <https://groups.google.com/d/msgid/google-appengine/B9074312-12BD-45B3-A248-0B1A1245BAC0%40gae123.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Regards,
>> Rajesh
>> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
>> *www.GainERP.com <https://www.gainerp.com>*
>> *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+unsubscr...@googlegroups.com.
>> To post to this group, send email to google-appengine@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/CA%2BS7ija7iPY58-cWnA3FGURO83Q%3D6L8CSyVoYtZdCX37gEsSDA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/google-appengine/CA%2BS7ija7iPY58-cWnA3FGURO83Q%3D6L8CSyVoYtZdCX37gEsSDA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@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/c402f6f4-35d0-4a33-84c2-478e67452ab5%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/c402f6f4-35d0-4a33-84c2-478e67452ab5%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards,
Rajesh
*www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
*www.GainERP.com <https://www.gainerp.com>*
*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+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@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/CA%2BS7ijZdQqfT71KBsygYnDKQVOqWAz23fb3V4DVTr2FNZvmwgg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to