... 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.

On Thursday, July 28, 2016 at 3:12:11 PM UTC-4, Nick (Cloud Platform 
Support) 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 <
>> [email protected]> 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 <[email protected]> wrote:
>>
>>> Do you have any security constraint on /remote_api?
>>>
>>> PK
>>> [email protected]
>>>
>>>
>>>
>>>
>>> On Jul 27, 2016, at 10:55 PM, Rajesh Gupta <
>>> [email protected]> 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 <[email protected]> wrote:
>>>
>>>> In your app.yaml equivalent for Java, how do you turn on remote_api, 
>>>> can you please cut & paste the section?
>>>>
>>>> PK
>>>> [email protected]
>>>>
>>>>
>>>>
>>>>
>>>> On Jul 19, 2016, at 12:54 AM, Rajesh Gupta <
>>>> [email protected]> 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 [email protected].
>>>> To post to this group, send email to [email protected].
>>>> 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 [email protected].
>>>> To post to this group, send email to [email protected].
>>>> 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 [email protected].
>>> To post to this group, send email to [email protected].
>>> 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 [email protected].
>>> To post to this group, send email to [email protected].
>>> 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 [email protected].
>> To post to this group, send email to [email protected].
>> 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 [email protected].
To post to this group, send email to [email protected].
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/d8030e74-76f3-48f3-acb4-ab4fe28affaf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to