Giter Site home page Giter Site logo

Comments (13)

anpieber avatar anpieber commented on September 27, 2024 1

Yep - it's installed via toolbox

Screenshot 2024-02-05 100105

from devpod.

pascalbreuninger avatar pascalbreuninger commented on September 27, 2024

Hi @anpieber, can you paste the debug logs please? (Settings > General > Debug Mode)

from devpod.

anpieber avatar anpieber commented on September 27, 2024

Those are the last lines. It did not really change:

[09:09:25] debug Created logger
[09:09:26] debug Received ping from agent
[09:09:26] debug Start setting up container...
[09:09:26] debug Patch etc environment & profile...
[09:09:26] debug Run post create commands...
[09:09:27] debug Done setting up environment
[09:09:27] debug Setup Intellij...
[09:09:27] debug Goland already installed skip install
[09:09:28] debug Connection to SSH Server closed
[09:09:28] debug Done executing ssh server helper command
[09:09:28] debug Done setting up container
[09:09:29] debug Connection to SSH Server closed
[09:09:29] debug done inject
[09:09:29] debug done injecting
[09:09:29] debug Done InjectAgentAndExecute
[09:09:29] debug Done executing ssh server helper command
[09:09:29] debug Done creating devcontainer
[09:09:29] info Run 'ssh jpatest.devpod' to ssh into the devcontainer
[09:09:29] debug No dotfiles repo specified, skipping
[09:09:29] info Starting Intellij through JetBrains Gateway...
[09:09:29] debug done exec

from devpod.

pascalbreuninger avatar pascalbreuninger commented on September 27, 2024

Stupid question but just to be sure: You do have JetBrains Gateway on your local machine, right?

from devpod.

pascalbreuninger avatar pascalbreuninger commented on September 27, 2024

Are you able to run the same workspace with the docker provider?

from devpod.

anpieber avatar anpieber commented on September 27, 2024

I dont have docker installed on my local machine, but I can try if you think it will change anything

from devpod.

pascalbreuninger avatar pascalbreuninger commented on September 27, 2024

I'm trying to figure out whether the problem is in DevPod, the SSH provider or your machine. The more variables we can eliminate the better

from devpod.

anpieber avatar anpieber commented on September 27, 2024

OK, it must be something connected to the Gateway. Running it in Docker locally I get the same behavior.

[09:21:00] debug Created logger
[09:21:00] debug Received ping from agent
[09:21:00] debug Start setting up container...
[09:21:00] debug Patch etc environment & profile...
[09:21:00] debug Run post create commands...
[09:21:00] debug Done setting up environment
[09:21:00] debug Setup Intellij...
[09:21:01] debug Goland already installed skip install
[09:21:01] debug Connection to SSH Server closed
[09:21:01] debug Done executing ssh server helper command
[09:21:01] debug Done setting up container
[09:21:01] debug Connection to SSH Server closed
[09:21:01] debug Done executing ssh server helper command
[09:21:01] debug Done creating devcontainer
[09:21:01] info Run 'ssh jpatest-docker.devpod' to ssh into the devcontainer
[09:21:01] debug No dotfiles repo specified, skipping
[09:21:01] info Starting Intellij through JetBrains Gateway...

BUT, I can put gateway.cmd in shell and it opens the gateway. So it is there and installed.

Screenshot 2024-02-06 092503

from devpod.

pascalbreuninger avatar pascalbreuninger commented on September 27, 2024

Mh thanks for trying it with docker @anpieber. Maybe this is a custom protocol issue?
We open the gateway app via the jetbrains-gateway://connect handler. On Linux you'd test this xdg-open jetbrains-gateway://connect, on macos open jetbrains-gateway://connect, not sure how to do this from cmd.exe (the internet says it's fine to omit the (xdg-)open command on windows but hey, who knows).
If a gateway modal opens after this, then it's probably something with your IDE, if not we'd have to take a closer look

from devpod.

anpieber avatar anpieber commented on September 27, 2024

Would it be possible to print the full connect link into the debug log? That would help me a lot to tinker with the parameters, trying to get it to work and in the worst case contacting the JetBrains support.

from devpod.

89luca89 avatar 89luca89 commented on September 27, 2024

@anpieber

Something like this:

jetbrains-gateway://connect#idePath=%2Fhome%2Fvscode%2F.cache%2FJetBrains%2FRemoteDev%2Fdist%2Fintellij&projectPath=%2Fworkspaces%2Ftest123&host=test123.devpod&port=22&user=vscode&type=ssh&deploy=false

Obviously adjust the path and host/port according to your setup 👍

from devpod.

anpieber avatar anpieber commented on September 27, 2024

OK - after building the correct URL and executing it, I saw that nothing happened. After completely uninstalling and reinstalling gateway and toolbox, it started working! Still, for the future - it would help a lot with debugging if the full jetbrains-gateway path would be printed in the debug log. Thank you very much for your support!

from devpod.

89luca89 avatar 89luca89 commented on September 27, 2024

Glad to have helped!

from devpod.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.