Unable to connect YouTrack Integration plugin from webstorm to YouTrack server

I installed YouTrack server (Build 2022.2.57431) on my server. I integrated mine from Jira into Youtrack following the documentation.

When I tryconnect a remote debugger via the YouTrack Integration plugin from my Webstorm IDE, I get the following error: Invalid handshake response getStatus: 405 Method Not Allowed.

This leaves me with a few questions:

  1. How can I understand what the error I described above means, and what do I need to do to fix it?
  2. Are there any ways to develop integration scripts without using the YouTrack Integration plugin?
  3. Can I use any console to display data, objects when writing integration scripts?

0
5 comments

Hi!

I'm Sergey from the YouTrack team.

Based on the error, the most likely cause is that you have an incorrectly configured reverse proxy. If you have a reverse proxy in front of YouTrack, make sure that it's set up correctly. You can see examples for main reverse proxy servers here: https://www.jetbrains.com/help/youtrack/server/Reverse-Proxy-Configuration.html

Also, ensure that you've examined the remote debugger documentation: https://www.jetbrains.com/help/youtrack/devportal/remote-debugger.html

Can I use any console to display data, objects when writing integration scripts?

Not sure what you mean by 'integration scripts', but the debugger is used for workflows only. If you mean import scripts, then refer to the related documentation.

1

Thanks for the comment Sergey. Can you please tell me if there is any way to view output logs and imported objects when using console.log in js code?

0

Thanks for your response.

Console.log() output in the import scripts can be found in the import.log* files. You can download them on the import integration page or access directly in the logs directory (applies to Server installations only).

1

Thanks for your explanation!

Do I understand correctly that technically, in order to see in the console those objects that I import, I must use the JSON.stringify function?

0
Yes, that's correct.
1

Please sign in to leave a comment.