René's URL Explorer Experiment


Title: JetBrains Gateway 2022.2 RC doesn't work with Coder SSH · Issue #3125 · coder/coder · GitHub

Open Graph Title: JetBrains Gateway 2022.2 RC doesn't work with Coder SSH · Issue #3125 · coder/coder

X Title: JetBrains Gateway 2022.2 RC doesn't work with Coder SSH · Issue #3125 · coder/coder

Description: Problem: On Gateway 2022.2 RC, connecting to Coder over SSH hangs on detecting IDEs. Looking through the logs idea.log it appears that Gateway tests for the presence of an executable utility to find installed IDEs. This utility doesn't e...

Open Graph Description: Problem: On Gateway 2022.2 RC, connecting to Coder over SSH hangs on detecting IDEs. Looking through the logs idea.log it appears that Gateway tests for the presence of an executable utility to fin...

X Description: Problem: On Gateway 2022.2 RC, connecting to Coder over SSH hangs on detecting IDEs. Looking through the logs idea.log it appears that Gateway tests for the presence of an executable utility to fin...

Opengraph URL: https://github.com/coder/coder/issues/3125

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"JetBrains Gateway 2022.2 RC doesn't work with Coder SSH","articleBody":"Problem:\r\n\r\nOn Gateway 2022.2 RC, connecting to Coder over SSH hangs on detecting IDEs.  Looking through the logs\r\n\r\n[idea.log](https://github.com/coder/coder/files/9169201/idea.log)\r\n\r\nit appears that Gateway tests for the presence of an executable utility to find installed IDEs.  This utility doesn't exist, but Gateway somehow concludes that is does.  It then tries to execute this utility and fails.\r\n\r\nTalking with JetBrains, their hypothesis is that our SSH server is not setting command return codes correctly when a PTY is allocated.  Notes from Slack below:\r\n\r\n> Any chance something is overriding test shell builtin or unix utility on the host? Or some obscure SSH server setting results in all process exit codes being returned as 0?\r\n> \r\n> \r\n> [Nikolay Kuznetsov](https://app.slack.com/team/U0DL9GFHV)\r\n>   [5 hours ago](https://jetbrains.slack.com/archives/C02D5SBFQDC/p1658486725128969?thread_ts=1658444649.351919&cid=C02D5SBFQDC)\r\n> Speaking of, is the SSH server some custom thing that is not OpenSSH?\r\n> \r\n> \r\n> [Spike Curtis](https://app.slack.com/team/U03FEEGB7HV)\r\n>   [45 minutes ago](https://jetbrains.slack.com/archives/C02D5SBFQDC/p1658502899833269?thread_ts=1658444649.351919&cid=C02D5SBFQDC)\r\n> It's our custom agent running https://github.com/gliderlabs/ssh\r\n> \r\n> gliderlabs/ssh\r\n> Easy SSH servers in Golang\r\n> Website\r\n> https://godoc.org/github.com/gliderlabs/ssh\r\n> Stars\r\n> 2628\r\n> Added by [GitHub](https://jetbrains.slack.com/services/B01UEG8BS91)\r\n> \r\n> \r\n> [Spike Curtis](https://app.slack.com/team/U03FEEGB7HV)\r\n>   [38 minutes ago](https://jetbrains.slack.com/archives/C02D5SBFQDC/p1658503300583469?thread_ts=1658444649.351919&cid=C02D5SBFQDC)\r\n> test seems to be doing the right thing when I execute it through the regular ssh CLI:\r\n> spike@Codebook coder % ssh coder.dogfood test -f /home/coder/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_8be48ed1f7d9d149a663842f0df2735b7433265d1654774596e54ce70af850f2\r\n> spike@Codebook coder % echo $?                                                                                                                                                              \r\n> 1\r\n> spike@Codebook coder % ssh coder.dogfood test -f /home/coder/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_7d32e4d2185f31ff477d51c73f533f4a312dfbd63132e75dc59ca2914b3965c4\r\n> spike@Codebook coder % echo $?                                                                                                                                                              \r\n> 0\r\n> \r\n> \r\n> [Nikolay Kuznetsov](https://app.slack.com/team/U0DL9GFHV)\r\n>   [18 minutes ago](https://jetbrains.slack.com/archives/C02D5SBFQDC/p1658504526900279?thread_ts=1658444649.351919&cid=C02D5SBFQDC)\r\n> Not sure if the repo you linked includes a default handler for \"generic SSH server\" use case. What if you specify -t or -T flags for ssh? Does that affect return value?\r\n> \r\n> \r\n> [Spike Curtis](https://app.slack.com/team/U03FEEGB7HV)\r\n>   [13 minutes ago](https://jetbrains.slack.com/archives/C02D5SBFQDC/p1658504808779169?thread_ts=1658444649.351919&cid=C02D5SBFQDC)\r\n> spike@Codebook coder % ssh -T coder.dogfood test -f /home/coder/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_8be48ed1f7d9d149a663842f0df2735b7433265d1654774596e54ce70af850f2\r\n> spike@Codebook coder % echo $?\r\n> 1\r\n> spike@Codebook coder % ssh -t coder.dogfood test -f /home/coder/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_8be48ed1f7d9d149a663842f0df2735b7433265d1654774596e54ce70af850f2\r\n> Connection to coder.dogfood closed.\r\n> spike@Codebook coder % echo $?\r\n> 0\r\n> \r\n> \r\n> [Nikolay Kuznetsov](https://app.slack.com/team/U0DL9GFHV)\r\n>   [12 minutes ago](https://jetbrains.slack.com/archives/C02D5SBFQDC/p1658504899869479?thread_ts=1658444649.351919&cid=C02D5SBFQDC)\r\n> Found it I guess. By default Gateway requests a PTY for most commands to allow for SIGHUP-based process termination. Looks like your custom agent fails to properly handle exit codes in such cases.\r\n> \r\n> \r\n> [Spike Curtis](https://app.slack.com/team/U03FEEGB7HV)\r\n>   [\u003c 1 minute ago](https://jetbrains.slack.com/archives/C02D5SBFQDC/p1658505602863579?thread_ts=1658444649.351919&cid=C02D5SBFQDC)\r\n> thanks for your help! I'll dig in some more on our side and see if I can sort this out","author":{"url":"https://github.com/spikecurtis","@type":"Person","name":"spikecurtis"},"datePublished":"2022-07-22T16:06:26Z","url":"https://github.com/coder/coder/issues/3125"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:7343ff30-2c93-d3a8-2713-e2475b414f9e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD23A:F7C4C:221587E:2D9F607:6B0193F9
html-safe-nonce19399b958401e2c994795d27fbbee02e7e682748f6d2e14ea0edb0b0282ba7aa
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjNBOkY3QzRDOjIyMTU4N0U6MkQ5RjYwNzo2QjAxOTNGOSIsInZpc2l0b3JfaWQiOiIzODQ4NTg0NzI4MTc3MzgyMzkzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacbb33c93ef0f79b0f0a5704fd9048dd6a697ee3796f14d1e32a04b96d9f72f36f
hovercard-subject-tagissue:1315185721
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/3125/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9ae18fc4a6f4998893c1f8f14732ba9eb68fad42efbb8e31ea585b8ec544110a/coder/coder/issues/3125
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9ae18fc4a6f4998893c1f8f14732ba9eb68fad42efbb8e31ea585b8ec544110a/coder/coder/issues/3125
og:image:altProblem: On Gateway 2022.2 RC, connecting to Coder over SSH hangs on detecting IDEs. Looking through the logs idea.log it appears that Gateway tests for the presence of an executable utility to fin...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamespikecurtis
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/coder/coder git https://github.com/coder/coder.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id440752086
octolytics-dimension-repository_nwocoder/coder
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id440752086
octolytics-dimension-repository_network_root_nwocoder/coder
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/coder/coder/issues/3125#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fissues%2F3125
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fissues%2F3125
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=coder%2Fcoder
Reloadhttps://github.com/coder/coder/issues/3125
Reloadhttps://github.com/coder/coder/issues/3125
Reloadhttps://github.com/coder/coder/issues/3125
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests470 (470)https://github.com/coder/coder/pulls
Discussionshttps://github.com/coder/coder/discussions
Actionshttps://github.com/coder/coder/actions
Projectshttps://github.com/coder/coder/projects
Security and quality49 (49)https://github.com/coder/coder/security
Insightshttps://github.com/coder/coder/insights
https://github.com/coder/coder
New issuehttps://github.com/login?return_to=https://github.com/coder/coder/issues/3125
New issuehttps://github.com/login?return_to=https://github.com/coder/coder/issues/3125
JetBrains Gateway 2022.2 RC doesn't work with Coder SSHhttps://github.com/coder/coder/issues/3125#top
https://github.com/spikecurtis
apiArea: HTTP APIhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22api%22
https://github.com/spikecurtis
spikecurtishttps://github.com/spikecurtis
on Jul 22, 2022https://github.com/coder/coder/issues/3125#issue-1315185721
idea.loghttps://github.com/coder/coder/files/9169201/idea.log
Nikolay Kuznetsovhttps://app.slack.com/team/U0DL9GFHV
5 hours agohttps://jetbrains.slack.com/archives/C02D5SBFQDC/p1658486725128969?thread_ts=1658444649.351919&cid=C02D5SBFQDC
Spike Curtishttps://app.slack.com/team/U03FEEGB7HV
45 minutes agohttps://jetbrains.slack.com/archives/C02D5SBFQDC/p1658502899833269?thread_ts=1658444649.351919&cid=C02D5SBFQDC
https://github.com/gliderlabs/sshhttps://github.com/gliderlabs/ssh
https://godoc.org/github.com/gliderlabs/sshhttps://godoc.org/github.com/gliderlabs/ssh
GitHubhttps://jetbrains.slack.com/services/B01UEG8BS91
Spike Curtishttps://app.slack.com/team/U03FEEGB7HV
38 minutes agohttps://jetbrains.slack.com/archives/C02D5SBFQDC/p1658503300583469?thread_ts=1658444649.351919&cid=C02D5SBFQDC
Nikolay Kuznetsovhttps://app.slack.com/team/U0DL9GFHV
18 minutes agohttps://jetbrains.slack.com/archives/C02D5SBFQDC/p1658504526900279?thread_ts=1658444649.351919&cid=C02D5SBFQDC
Spike Curtishttps://app.slack.com/team/U03FEEGB7HV
13 minutes agohttps://jetbrains.slack.com/archives/C02D5SBFQDC/p1658504808779169?thread_ts=1658444649.351919&cid=C02D5SBFQDC
Nikolay Kuznetsovhttps://app.slack.com/team/U0DL9GFHV
12 minutes agohttps://jetbrains.slack.com/archives/C02D5SBFQDC/p1658504899869479?thread_ts=1658444649.351919&cid=C02D5SBFQDC
Spike Curtishttps://app.slack.com/team/U03FEEGB7HV
< 1 minute agohttps://jetbrains.slack.com/archives/C02D5SBFQDC/p1658505602863579?thread_ts=1658444649.351919&cid=C02D5SBFQDC
spikecurtishttps://github.com/spikecurtis
bughttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22bug%22
apiArea: HTTP APIhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22api%22
on Jul 22, 2022https://github.com/coder/coder/issues/3125#event-7047622473
spikecurtishttps://github.com/spikecurtis
on Jul 22, 2022https://github.com/coder/coder/issues/3125#event-7047622522
https://github.com/spikecurtis
spikecurtishttps://github.com/spikecurtis
on Jul 22, 2022https://github.com/coder/coder/issues/3125#issuecomment-1192759557
https://github.com/fioan89
fioan89https://github.com/fioan89
on Jul 25, 2022https://github.com/coder/coder/issues/3125#issuecomment-1194399972
https://github.com/catvec
catvechttps://github.com/catvec
on Jul 25, 2022https://github.com/coder/coder/issues/3125#issuecomment-1194754873
https://github.com/misskniss
missknisshttps://github.com/misskniss
on Jul 26, 2022https://github.com/coder/coder/issues/3125#issuecomment-1195617883
@spikecurtishttps://github.com/spikecurtis
https://github.com/spikecurtis
spikecurtishttps://github.com/spikecurtis
on Jul 27, 2022https://github.com/coder/coder/issues/3125#issuecomment-1197327387
#3192https://github.com/coder/coder/pull/3192
spikecurtishttps://github.com/spikecurtis
completedhttps://github.com/coder/coder/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jul 27, 2022https://github.com/coder/coder/issues/3125#event-7076317746
https://github.com/catvec
catvechttps://github.com/catvec
on Jul 27, 2022https://github.com/coder/coder/issues/3125#issuecomment-1197342991
Sign up for freehttps://github.com/signup?return_to=https://github.com/coder/coder/issues/3125
Sign in to commenthttps://github.com/login?return_to=https://github.com/coder/coder/issues/3125
spikecurtishttps://github.com/spikecurtis
apiArea: HTTP APIhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22api%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.