Re: [Trac] Cannot access /Project/login/xmlrpc from Trac installation (with HTTP Basic authentication)

2014-12-07 Thread quasiroot


It would be helpful if somebody who succeeded with this kind of integration 
(Trac site whose web sites require authentication can be accessed from 
Eclipse Mylyn) wrote up some documentation for the Trac (presumably also 
Bloodhound) projects. (The Trac connector is one of few standard connectors 
that come with Eclipse Mylyn.)


As for myself, I’ve sunk enough time into what IMHO should be a simple 
requirement/procedure and am using an alternative project management/issue 
tracking tool by now. Nevertheless, thanks for your help so far.

On Saturday, December 6, 2014 11:35:44 PM UTC+1, olemis wrote:

 On 12/6/14, quasiroot quas...@gmail.com javascript: wrote: 
  
  
  The question is (of course!) how the configuration (see previous 
  descriptions) can be changed such that authentication succeeds and HTTP 
 401 
  
  no longer occurs. 


 AFAIK , what you are requesting is impossible . HTTP 401 is the 
 (obligatory) first step in both basic as well as digest HTTP 
 authentication schemes . 

 @osimons : cmiiw 

  Ultimately I want to access Trac from an Eclipse Mylyn 
  client. What concrete steps could resolve this lasting issue? 
  

 I've received reports from both Trac  Bloodhound users integrating 
 successfully with Mylyn . In your case I do not know exactly what 
 would be the problem but afaict HTTP 401 status code is definitely not 
 the root cause . 

 [...] 

 -- 
 Regards, 

 Olemis - @olemislc 

 Apache(tm) Bloodhound contributor 
 http://issues.apache.org/bloodhound 
 http://blood-hound.net 

 Blog ES: http://simelo-es.blogspot.com/ 
 Blog EN: http://simelo-en.blogspot.com/ 

 Featured article: 


-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Cannot access /Project/login/xmlrpc from Trac installation (with HTTP Basic authentication)

2014-12-06 Thread quasiroot


The question is (of course!) how the configuration (see previous 
descriptions) can be changed such that authentication succeeds and HTTP 401 
no longer occurs. Ultimately I want to access Trac from an Eclipse Mylyn 
client. What concrete steps could resolve this lasting issue?

On Saturday, December 6, 2014 1:51:08 AM UTC+1, olemis wrote:


 Receiving HTTP 401 error is expected behavior , not an error , that's 
 indicating that authentication is required , see 

 http://en.wikipedia.org/wiki/List_of_HTTP_status_codes#4xx_Client_Error

 [...]

 -- 
 Regards,

 Olemis - @olemislc

 Apache™ Bloodhound contributor
 http://issues.apache.org/bloodhound
 http://blood-hound.net

 Blog ES: http://simelo-es.blogspot.com/
 Blog EN: http://simelo-en.blogspot.com/

 Featured article:


 

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Cannot access /Project/login/xmlrpc from Trac installation (with HTTP Basic authentication)

2014-12-06 Thread Olemis Lang
On 12/6/14, quasiroot quasir...@gmail.com wrote:


 The question is (of course!) how the configuration (see previous
 descriptions) can be changed such that authentication succeeds and HTTP 401

 no longer occurs.


AFAIK , what you are requesting is impossible . HTTP 401 is the
(obligatory) first step in both basic as well as digest HTTP
authentication schemes .

@osimons : cmiiw

 Ultimately I want to access Trac from an Eclipse Mylyn
 client. What concrete steps could resolve this lasting issue?


I've received reports from both Trac  Bloodhound users integrating
successfully with Mylyn . In your case I do not know exactly what
would be the problem but afaict HTTP 401 status code is definitely not
the root cause .

[...]

-- 
Regards,

Olemis - @olemislc

Apache(tm) Bloodhound contributor
http://issues.apache.org/bloodhound
http://blood-hound.net

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Cannot access /Project/login/xmlrpc from Trac installation (with HTTP Basic authentication)

2014-11-26 Thread Ryan Ollos
On Tue, Nov 25, 2014 at 11:31 PM, quasiroot quasir...@gmail.com wrote:

 Do you have any further advice for me on how to make progress in this
 situation (see requests/response exchanged as requested?


Did you ever try disabling trac.web.auth.LoginModule ?

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Cannot access /Project/login/xmlrpc from Trac installation (with HTTP Basic authentication)

2014-11-26 Thread quasiroot
I have just added tac.web.auth.LoginModule = disabled to 
trac/trac_projects/Project/conf/trac.ini under [components]. 

Apparently it did not make a difference. 

I still get those multiple prompts for User Name / Password (but no reply 
from the server) when I access https://.../Project/login/xmlrpc in a 
browser. http://.../Project/xmlrpc still works fine, but FWIK that won't 
help with Mylyn integration.

On Wednesday, November 26, 2014 9:11:19 AM UTC+1, RjOllos wrote:



 On Tue, Nov 25, 2014 at 11:31 PM, quasiroot quas...@gmail.com 
 javascript: wrote:

 Do you have any further advice for me on how to make progress in this 
 situation (see requests/response exchanged as requested?


 Did you ever try disabling trac.web.auth.LoginModule ? 


-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Cannot access /Project/login/xmlrpc from Trac installation (with HTTP Basic authentication)

2014-11-25 Thread quasiroot


Do you have any further advice for me on how to make progress in this 
situation (see requests/response exchanged as requested?


If I cannot make this work I’ll have to eliminate Trac from consideration. 
(Mylyn connectivity is a must.) Thanks in advance for any further help.

Am Samstag, 22. November 2014 17:37:24 UTC+1 schrieb quasiroot:

 I am using a Mac, so Fiddle was no (straightforward) option. I’ve recorded 
 HTTP traffic using HttpFox instead. It pertains to the situation where the 
 server asks me twice for credentials but apparently rejects them. The third 
 time I give up and press “Cancel”. Unfortunately HttpFox cannot export its 
 logs as text so here are three screenshots with some IP addresses 
 obfuscated. As for the other tabs but Headers: Cookies is always empty, 
 Query String is always none, POST Data is always none, and Content is 
 “Error loading content (NS_ERROR_DOCUMENT_NOT_CACHED)” for the first two 
 requests (i.e. also screenshots) and “Not ready…” for the third.




 On Nov 21, 2014, at 4:31 AM, Olemis Lang ole...@gmail.com wrote:

 On 11/20/14, quasiroot quasir...@gmail.com wrote:

 But the problem is (at least to my understanding) that I'm asked for user
 name/password again even (and again ...) before the first request has
 succeeded. At least there is no result visible in the browser. Also, I
 would expect the Eclipse Mylyn client to go through authentication whenever

 it's needed, but also it fails.

 To me it still looks as if the Trac server for some reason is not accepting

 my credentials as valid, not that I'm not providing them sufficiently
 often.


 After all this been said it'd be helpful if you could share with us
 the requests/responses exchanged by both RPC client and server e.g. by
 using something similar to Fiddler [1]_ . Please feel free to
 obfuscate any sensitive data .

 .. [1] http://www.telerik.com/fiddler

 -- 
 Regards,

 Olemis - @olemislc

 Apache(tm) Bloodhound contributor
 http://issues.apache.org/bloodhound
 http://blood-hound.net

 Blog ES: http://simelo-es.blogspot.com/
 Blog EN: http://simelo-en.blogspot.com/

 Featured article:

 -- 
 You received this message because you are subscribed to the Google Groups 
 Trac Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to trac-users+unsubscr...@googlegroups.com.
 To post to this group, send email to trac-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/trac-users.
 For more options, visit https://groups.google.com/d/optout.




-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


[Trac] Cannot access /Project/login/xmlrpc from Trac installation (with HTTP Basic authentication)

2014-11-20 Thread quasiroot
I have installed Trac 1.0.1 on an EC2 instance, enabled HTTP Basic 
authentication for the entire Trac installation, installed the Trac XML_RPC 
plugin, and granted XML_RPC privileges to “user”.

When I access https://hostname/Project/ I am prompted for user name 
(“user”)/password and can log in. Same for 
https://hostname/Project/xmlrpc .

However, when I access https://hostname/Project/login/xmlrpc the same 
prompt appears over and over again, and hence I cannot get a proper 
response. Ultimately I want to access Trac from an Eclipse Mylyn client. 
Currently this client reports Unable to authenticate with repository. 
Login credentials invalid when I direct it to https://hostname/Project 
with Access Type XML-RPC.

My httpd.conf includes LoadModule wsgi_module modules/mod_wsgi.so. I have 
attempted adding WSGIPassAuthorization On but this made no difference. I 
have left all other configuration files at their defaults (for Bitnami Trac 
stack).

What else can I try? 

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Cannot access /Project/login/xmlrpc from Trac installation (with HTTP Basic authentication)

2014-11-20 Thread Ryan Ollos
On Thu, Nov 20, 2014 at 4:42 AM, quasiroot quasir...@gmail.com wrote:

 I have installed Trac 1.0.1 on an EC2 instance, enabled HTTP Basic
 authentication for the entire Trac installation, installed the Trac XML_RPC
 plugin, and granted XML_RPC privileges to “user”.

 When I access https://hostname/Project/ I am prompted for user name
 (“user”)/password and can log in. Same for https://hostname/Project/xmlrpc
 .

 However, when I access https://hostname/Project/login/xmlrpc the same
 prompt appears over and over again, and hence I cannot get a proper
 response. Ultimately I want to access Trac from an Eclipse Mylyn client.
 Currently this client reports Unable to authenticate with repository.
 Login credentials invalid when I direct it to https://hostname/Project
 with Access Type XML-RPC.

 My httpd.conf includes LoadModule wsgi_module modules/mod_wsgi.so. I
 have attempted adding WSGIPassAuthorization On but this made no
 difference. I have left all other configuration files at their defaults
 (for Bitnami Trac stack).

 What else can I try?


Bitnami provides AccountManagerPlugin, so the issue is most likely as
described here:
http://trac-hacks.org/wiki/XmlRpcPlugin#ProblemswhenAccountManagerPluginisenabled

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Cannot access /Project/login/xmlrpc from Trac installation (with HTTP Basic authentication)

2014-11-20 Thread quasiroot
I have [components] acct_mgr.*=enabled in trac.ini, but not 
trac.web.auth.LoginModule = disabled, so I guess AccountManagerPlugin is 
enabled (and has not been disabled).

If I add [account-manager] environ_auth_overwrite = false (as is suggested 
in the linked document) regardless it apparently does not make any 
difference. The same is true after restarting Apache.

What else can I try?

Am Donnerstag, 20. November 2014 15:36:17 UTC+1 schrieb RjOllos:

 On Thu, Nov 20, 2014 at 4:42 AM, quasiroot quas...@gmail.com 
 javascript: wrote:

 I have installed Trac 1.0.1 on an EC2 instance, enabled HTTP Basic 
 authentication for the entire Trac installation, installed the Trac XML_RPC 
 plugin, and granted XML_RPC privileges to “user”.

 When I access https://hostname/Project/ I am prompted for user name 
 (“user”)/password and can log in. Same for 
 https://hostname/Project/xmlrpc .

 However, when I access https://hostname/Project/login/xmlrpc the same 
 prompt appears over and over again, and hence I cannot get a proper 
 response. Ultimately I want to access Trac from an Eclipse Mylyn client. 
 Currently this client reports Unable to authenticate with repository. 
 Login credentials invalid when I direct it to https://hostname/Project 
 with Access Type XML-RPC.

 My httpd.conf includes LoadModule wsgi_module modules/mod_wsgi.so. I 
 have attempted adding WSGIPassAuthorization On but this made no 
 difference. I have left all other configuration files at their defaults 
 (for Bitnami Trac stack).

 What else can I try? 


 Bitnami provides AccountManagerPlugin, so the issue is most likely as 
 described here:

 http://trac-hacks.org/wiki/XmlRpcPlugin#ProblemswhenAccountManagerPluginisenabled
  


-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Cannot access /Project/login/xmlrpc from Trac installation (with HTTP Basic authentication)

2014-11-20 Thread Steffen Hoffmann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 20.11.2014 21:28, quasiroot wrote:
 What else can I try?

Sure you know, that XMLRPC requests for priviledged actions have to go
through authentication individually? So you need to provide appropriate,
valid credentials for each request.

Steffen Hoffmann
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlRuUg4ACgkQ31DJeiZFuHdEiQCgvkQs8Umf0ySi9NLlwTrH2XW/
sHMAnj5icY4CTFU/s8glYBpR4lMSS2T7
=U6Df
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Cannot access /Project/login/xmlrpc from Trac installation (with HTTP Basic authentication)

2014-11-20 Thread quasiroot
But the problem is (at least to my understanding) that I'm asked for user 
name/password again even (and again ...) before the first request has 
succeeded. At least there is no result visible in the browser. Also, I 
would expect the Eclipse Mylyn client to go through authentication whenever 
it's needed, but also it fails.

To me it still looks as if the Trac server for some reason is not accepting 
my credentials as valid, not that I'm not providing them sufficiently often.

Am Donnerstag, 20. November 2014 21:42:05 UTC+1 schrieb hasienda:

 -BEGIN PGP SIGNED MESSAGE- 
 Hash: SHA1 

 On 20.11.2014 21:28, quasiroot wrote: 
  What else can I try? 

 Sure you know, that XMLRPC requests for priviledged actions have to go 
 through authentication individually? So you need to provide appropriate, 
 valid credentials for each request. 

 Steffen Hoffmann 
 -BEGIN PGP SIGNATURE- 
 Version: GnuPG v1.4.12 (GNU/Linux) 

 iEYEARECAAYFAlRuUg4ACgkQ31DJeiZFuHdEiQCgvkQs8Umf0ySi9NLlwTrH2XW/ 
 sHMAnj5icY4CTFU/s8glYBpR4lMSS2T7 
 =U6Df 
 -END PGP SIGNATURE- 


-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Cannot access /Project/login/xmlrpc from Trac installation (with HTTP Basic authentication)

2014-11-20 Thread Olemis Lang
On 11/20/14, quasiroot quasir...@gmail.com wrote:
 But the problem is (at least to my understanding) that I'm asked for user
 name/password again even (and again ...) before the first request has
 succeeded. At least there is no result visible in the browser. Also, I
 would expect the Eclipse Mylyn client to go through authentication whenever

 it's needed, but also it fails.

 To me it still looks as if the Trac server for some reason is not accepting

 my credentials as valid, not that I'm not providing them sufficiently
 often.


After all this been said it'd be helpful if you could share with us
the requests/responses exchanged by both RPC client and server e.g. by
using something similar to Fiddler [1]_ . Please feel free to
obfuscate any sensitive data .

.. [1] http://www.telerik.com/fiddler

-- 
Regards,

Olemis - @olemislc

Apache(tm) Bloodhound contributor
http://issues.apache.org/bloodhound
http://blood-hound.net

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.