Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proxy issue with content-length? #1922

Open
lfvdaniel opened this issue Sep 10, 2024 · 1 comment
Open

Proxy issue with content-length? #1922

lfvdaniel opened this issue Sep 10, 2024 · 1 comment

Comments

@lfvdaniel
Copy link

Issue information

I'm using this extension in a environment that is behind a corporate proxy and I "always" get the error attached in the screenshot. Also check the error log below from output.

Am i missing some config or do anyone know why this is happening?

Environment

  • Language Support for Apache Camel version: v1.4.0
  • Linux ubuntu 22.04
  • vscode 1.93
  • java17

Description of wrong behavior

The language support and auto completion doesn't work.

[Error - 10:48:18 AM] Stopping server failed
Error: Stopping the server timed out
	at /home/u30485/.vscode/extensions/redhat.vscode-apache-camel-1.4.0/node_modules/vscode-languageclient/lib/common/client.js:983:23
[Error - 10:48:18 AM] Stopping server failed
Error: Stopping the server timed out
	at /home/u30485/.vscode/extensions/redhat.vscode-apache-camel-1.4.0/node_modules/vscode-languageclient/lib/common/client.js:983:23
[Error - 10:48:20 AM] Server process exited with signal SIGKILL.

Exact steps to reproduce issue

  1. Open a camel project and wait a ~1 minute then the error appears.

Expected behaviour

Language Support for Apache Camel to work behind a proxy.

Screenshot

Screenshot from 2024-09-10 10-48-35

BR
/Daniel

@apupier
Copy link
Member

apupier commented Sep 10, 2024

Do you have more information how the proxy is configured on the machine?

Can you have a look to the /tmp/log-camel-lsp.log and check if there is a stacktrace with more specific details?

Maybe need to configure Java with the proxy globally set the environment variable JAVA_TOOLS_OPTIONS https://docs.oracle.com/javase/8/docs/platform/jvmti/jvmti.html#tooloptions with the proxy configuration https://docs.oracle.com/javase/8/docs/technotes/guides/net/proxies.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants