alan16 / oryx-editor

Automatically exported from code.google.com/p/oryx-editor
Other
0 stars 0 forks source link

OpenID login when behind firewall #451

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Start Apache server, login as manager
2. Navigate to localhost:8080/backend/poem/repository and try to login with 
openID
3. HTTP Status 500
javax.servlet.ServletException:openid4java.discovery.DiscoveryException:Fatal 
transport error......
javax.servlet.ServletException:ServletException:org.openid4java.discovery.Dicove
ryException:Fatal transport error:................
org.openid4java.discovery.DiscoveryException:Fatal transport error............
org.apache.cpommons.httpclient.ConnectTimeoutException: The host did not accept 
the connection within timeout of 5000ms...................
java.net.SocketTimeoutException:connect timed out...............

What is the expected output?
Successful openid login 

What do you see instead?The errors listed above.

Please provide any additional information below.
I am behind a firewall.

Original issue reported on code.google.com by 123emma4...@googlemail.com on 20 Jul 2010 at 11:11

Attachments:

GoogleCodeExporter commented 9 years ago
Problem solved by modifying the method doFilter from the 
AuthenticationFilter-class.

Original comment by 123emma4...@googlemail.com on 22 Jul 2010 at 12:04

GoogleCodeExporter commented 9 years ago
Please create a patch 
<http://ariejan.net/2007/07/03/how-to-create-and-apply-a-patch-with-subversion/>
, <http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-patch.html> and 
attach it to this issue.

If required, please add comments to your solution.

Original comment by mtku...@googlemail.com on 22 Jul 2010 at 12:58

GoogleCodeExporter commented 9 years ago
Issue 452 has been merged into this issue.

Original comment by philipp....@student.hpi.uni-potsdam.de on 12 Aug 2010 at 7:02

GoogleCodeExporter commented 9 years ago
<context-param>
        <param-name>proxy-host-name</param-name>
        <param-value>http://proxy</param-value>
</context-param>
<context-param>
        <param-name>proxy-port</param-name>
        <param-value>8080</param-value>
</context-param>

Add this snippet to your web.xml and everything should run, otherwise please 
comment on this issue or contact me

No patch nessary, @see 
org.b3mn.poem.handler.LoginHandler.setupProxy(ServletContext)

Original comment by philipp....@student.hpi.uni-potsdam.de on 12 Aug 2010 at 7:11