Trac integration [solved] Follow
We use Trac (0.12.1) on something like https://sub.domain.ch/projects/dept/proj/trac
Entering this URL in IDEA 10.5.1 (File -> Settings -> Tasks -> Server) and pressing "Test" (using correct username/password) gives a "Cannot connect to https://sub.domain.ch/projects/dept/proj/trac" error.
I imported the server SSL cert into {IDEAinstallDir}\jre\jre\lib\security\cacerts as I got a encryption related error ("unable to find valid certification path to requested target") first.
Using Wireshark I see that IDEA can now establish an encypted connection to the targeted host.
Are there any means to obtain a more specific error message? Or do I need to enter a different URL or are there any Trac configuration catches?
Thanks in advance
- Raphael
btw: I wasn't able to post using IE9 (now on Firefox)
Please sign in to leave a comment.
Hi Raphael,
Are there any related exceptions at idea.log?
Denis
Hi Denis
Yes, %USERPROFILE%\.IntelliJIdea10\system\log\idea.log has:
2011-07-08 11:00:13,134 [ 15892] WARN - lij.tasks.impl.TaskManagerImpl - Cannot connect to https://sub.domain.ch/projects/dept/proj/trac
java.lang.Exception: Cannot connect to https://sub.domain.ch/projects/dept/proj/trac
at com.intellij.tasks.trac.TracRepository.getIssues(TracRepository.java:63)
at com.intellij.tasks.trac.TracRepository.getIssues(TracRepository.java:50)
at com.intellij.tasks.impl.TaskManagerImpl.getIssuesFromRepositories(TaskManagerImpl.java:679)
at com.intellij.tasks.impl.TaskManagerImpl.access$900(TaskManagerImpl.java:59)
at com.intellij.tasks.impl.TaskManagerImpl$11.run(TaskManagerImpl.java:641)
at com.intellij.openapi.application.impl.ApplicationImpl$6.run(ApplicationImpl.java:375)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:130)
Raphael
AFAIK you need to append /login/rpc suffix to your server URL
"Raphael Schweizer" <no_reply@jetbrains.com> сообщил(а) в новостях
следующее:21801150.271021310057715218.JavaMail.devnet@confluence.jetbrains.net...
>
>
>
>
>
>
Thanks, I tried */login/rpc, */login, */rpc, */rpc/login but still no success
Have you Trac RPC plugin installed on your server?
"Raphael Schweizer" <no_reply@jetbrains.com> сообщил(а) в новостях
следующее:4919709.280491310126944303.JavaMail.devnet@confluence.jetbrains.net...
>
Ah, I guess that is the Trac configuration catch I was searching for. I'll ask our IT dept. to install http://trac-hacks.org/wiki/XmlRpcPlugin (assuming it isn't installed already).
Maybe you want to add a note to http://www.jetbrains.com/idea/webhelp/servers-2.html (like the one for YouTrack)?
Many thanks!
- Raphael