Title: Opening file from explorer causes trouble when used behind a reverse proxy (2.1698 release) · Issue #1294 · coder/code-server · GitHub
Open Graph Title: Opening file from explorer causes trouble when used behind a reverse proxy (2.1698 release) · Issue #1294 · coder/code-server
X Title: Opening file from explorer causes trouble when used behind a reverse proxy (2.1698 release) · Issue #1294 · coder/code-server
Description: code-server version: 2.1698-vsc1.41.1 OS Version: Ubuntu 18.04 Extension: vscode-python(2020.1.58038) Description If the code server is opened without providing a folder via URL parameter, everything is working fine. However, in case the...
Open Graph Description: code-server version: 2.1698-vsc1.41.1 OS Version: Ubuntu 18.04 Extension: vscode-python(2020.1.58038) Description If the code server is opened without providing a folder via URL parameter, everythi...
X Description: code-server version: 2.1698-vsc1.41.1 OS Version: Ubuntu 18.04 Extension: vscode-python(2020.1.58038) Description If the code server is opened without providing a folder via URL parameter, everythi...
Opengraph URL: https://github.com/coder/code-server/issues/1294
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Opening file from explorer causes trouble when used behind a reverse proxy (2.1698 release)","articleBody":"- `code-server` version: 2.1698-vsc1.41.1\r\n- OS Version: Ubuntu 18.04\r\n- Extension: [vscode-python](https://github.com/microsoft/vscode-python)(2020.1.58038)\r\n\r\n## Description\r\n\r\nIf the code server is opened without providing a `folder` via URL parameter, everything is working fine. However, in case the `folder` parameter is used and the file is opened via the Explorer, the python extension doesn't seem to be able to fully interact with the (python-) file (underlines are missing, formatter is not working...):\r\n\r\n\u003cimg width=\"971\" alt=\"Screenshot at Jan 24 13-50-59\" src=\"https://user-images.githubusercontent.com/2852129/73070808-94837c80-3eb1-11ea-904a-3462396fe03f.png\">\r\n\r\nHowever, if the file is opened via `File -> Open`, a new tab is created and everything is working fine:\r\n\r\n\u003cimg width=\"974\" alt=\"Screenshot at Jan 24 13-51-22\" src=\"https://user-images.githubusercontent.com/2852129/73070820-98170380-3eb1-11ea-93c3-a450fe4b2cf3.png\">\r\n\r\nBased on the tab labels, it seems like that opening files via `File -> Open` is using absolute paths while the explorer uses a relative path (which is causing problems with the python extension). This problem does not happen with the older code-server versions (e.g. 2.1692-vsc1.39.2). I also looked into the logs, but wasn't able to find anything suspicious. \r\n\r\nTo summarize:\r\n\r\n- Older code-server version -> working\r\n- Opening code-server without `folder` parameter -> working\r\n- Opening code-server with `folder` parameter:\r\n\t- Open python file with `File -> Open` -> working\r\n\t- Open python file from explorer -> not working","author":{"url":"https://github.com/lukasmasuch","@type":"Person","name":"lukasmasuch"},"datePublished":"2020-01-24T13:12:51Z","url":"https://github.com/coder/code-server/issues/1294"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4a15a080-ae1d-1823-170a-ab62dc5d913a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BE6E:19B6A2:1084F25:15DD30C:6B01DF2C |
| html-safe-nonce | 1366c8b5ba43f17f63a8aaa96a49598173423dfadc61c7c3cba8823032e57417 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTZFOjE5QjZBMjoxMDg0RjI1OjE1REQzMEM6NkIwMURGMkMiLCJ2aXNpdG9yX2lkIjoiNDYzNTkyODQwNDc3OTE5NjIwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 56b33ae07184ec28865e871b5121ff69fc64ae6b181207ff0461d6e67376d92a |
| hovercard-subject-tag | issue:554728166 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/code-server/1294/issue_layout |
| twitter:image | https://opengraph.githubassets.com/789e308e1721763cc0964202734d0fafa6ad27a1f8cc04f8c4c901df70cd6b68/coder/code-server/issues/1294 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/789e308e1721763cc0964202734d0fafa6ad27a1f8cc04f8c4c901df70cd6b68/coder/code-server/issues/1294 |
| og:image:alt | code-server version: 2.1698-vsc1.41.1 OS Version: Ubuntu 18.04 Extension: vscode-python(2020.1.58038) Description If the code server is opened without providing a folder via URL parameter, everythi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lukasmasuch |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/code-server git https://github.com/coder/code-server.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 172953845 |
| octolytics-dimension-repository_nwo | coder/code-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 172953845 |
| octolytics-dimension-repository_network_root_nwo | coder/code-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width