Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not login into intranet server - incorrect login/password #87

Open
anton-potapov opened this issue Dec 21, 2011 · 11 comments
Open

can not login into intranet server - incorrect login/password #87

anton-potapov opened this issue Dec 21, 2011 · 11 comments

Comments

@anton-potapov
Copy link

server version is 1.5.
Indigo eclipse, last repository version.

I',m trying to log into a intranet server. I'm sure that credentials are correct because I do can log in via a browser. But the plugin says that my credentials are not acceptable.

BTW, is it possible to see somehow exact server response ?

@rombert
Copy link
Owner

rombert commented Dec 22, 2011

Hi,

I am not sure what the problem is here. You can try using something like wireshark and capture the complete HTTP response.

@rombert
Copy link
Owner

rombert commented Dec 22, 2011

BWT, I see that you've opened this issue both here and in the original project. Which version of the connector are you using?

@anton-potapov
Copy link
Author

Hi, it looks like the problem is in "GET /api/info/ " request.
Note that in the case of the “GET /api” request, 3950 bytes of data are being transferred from the server to the user agent (browser/client) in response. From looking at requests from other user agents in the log, 3950 bytes is the typical response, so this looks okay. However, for the GET /api/info/ requests, only 70 bytes are being sent back. Other clients who make this request usually typically get 253 bytes back in response

Below there a part of the ssl_request_log server log (xx.xxx.xxx.xx - is the client ip), (as well please note that there were no references to this IP address in the log files: reviewboard-xfer.log, or reviewboard-error.log):

[27/Mar/2012:11:25:07 -0700] xx.xxx.xxx.xx TLSv1 RC4-MD5 "GET /api/ HTTP/1.1" 3950 "-" "Mylyn/3.7.0 eReviewBoard Eclipse/3.7.2 (org.eclipse.epp.package.cpp.product) HttpClient/3.1 Java/1.6.0_29 (Sun) Windows XP/5.1 (x86; ru_RU)"
[27/Mar/2012:11:25:09 -0700] xx.xxx.xxx.xx TLSv1 RC4-MD5 "GET /api/info/ HTTP/1.1" 70 "-" "Mylyn/3.7.0 eReviewBoard Eclipse/3.7.2 (org.eclipse.epp.package.cpp.product) HttpClient/3.1 Java/1.6.0_29 (Sun) Windows XP/5.1 (x86; ru_RU)"
[27/Mar/2012:11:27:00 -0700] xx.xxx.xxx.xx TLSv1 RC4-MD5 "GET /api/ HTTP/1.1" 3950 "-" "Mylyn/3.7.0 eReviewBoard Eclipse/3.7.2 (org.eclipse.epp.package.cpp.product) HttpClient/3.1 Java/1.6.0_29 (Sun) Windows XP/5.1 (x86; ru_RU)"
[27/Mar/2012:11:27:01 -0700] xx.xxx.xxx.xx TLSv1 RC4-MD5 "GET /api/info/ HTTP/1.1" 70 "-" "Mylyn/3.7.0 eReviewBoard Eclipse/3.7.2 (org.eclipse.epp.package.cpp.product) HttpClient/3.1 Java/1.6.0_29 (Sun) Windows XP/5.1 (x86; ru_RU)"
[27/Mar/2012:11:28:55 -0700] xx.xxx.xxx.xx TLSv1 RC4-MD5 "GET /api/ HTTP/1.1" 3950 "-" "Mylyn/3.7.0 eReviewBoard Eclipse/3.7.2 (org.eclipse.epp.package.cpp.product) HttpClient/3.1 Java/1.6.0_29 (Sun) Windows XP/5.1 (x86; ru_RU)"
[27/Mar/2012:11:28:57 -0700] xx.xxx.xxx.xx TLSv1 RC4-MD5 "GET /api/info/ HTTP/1.1" 70 "-" "Mylyn/3.7.0 eReviewBoard Eclipse/3.7.2 (org.eclipse.epp.package.cpp.product) HttpClient/3.1 Java/1.6.0_29 (Sun) Windows XP/5.1 (x86; ru_RU)"
[27/Mar/2012:11:30:26 -0700] xx.xxx.xxx.xx TLSv1 RC4-MD5 "GET /api/ HTTP/1.1" 3950 "-" "Mylyn/3.7.0 eReviewBoard Eclipse/3.7.2 (org.eclipse.epp.package.cpp.product) HttpClient/3.1 Java/1.6.0_29 (Sun) Windows XP/5.1 (x86; ru_RU)"
[27/Mar/2012:11:30:27 -0700] xx.xxx.xxx.xx TLSv1 RC4-MD5 "GET /api/info/ HTTP/1.1" 70 "-" "Mylyn/3.7.0 eReviewBoard Eclipse/3.7.2 (org.eclipse.epp.package.cpp.product) HttpClient/3.1 Java/1.6.0_29 (Sun) Windows XP/5.1 (x86; ru_RU)"

@rombert
Copy link
Owner

rombert commented Apr 26, 2012

Is there any way you can see the response what information is returned to the client?

@anton-potapov
Copy link
Author

Unfortunately, as i did not manage to setup Wireshark to decode SSL traffic, the only hope is logs in the plugin. Is there any way to enable the plugin to log HTTP responses?

@rombert
Copy link
Owner

rombert commented Apr 26, 2012

Not directly. I'll have to push a few changes, perhaps during the weekend.

@anton-potapov
Copy link
Author

It would be great.

@rombert
Copy link
Owner

rombert commented Apr 26, 2012

In the meantime, you could use a trial of http://www.charlesproxy.com/ and use it to intercept even SSL traffic.

@rombert
Copy link
Owner

rombert commented Mar 28, 2013

Is this still an issue?

@anton-potapov
Copy link
Author

yes, I'm still experiencing it

@rombert
Copy link
Owner

rombert commented Oct 20, 2013

Can you try configuring HTTP Client to use debug logging?

http://hc.apache.org/httpclient-legacy/logging.html has some good info, you probably need to add this to eclipse.ini ( YMMV, haven't tried it )

-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
-Dorg.apache.commons.logging.simplelog.showdatetime=true
-Dorg.apache.commons.logging.simplelog.log.httpclient.wire.header=debug
-Dorg.apache.commons.logging.simplelog.log.org.apache.commons.httpclient=debug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants