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

Cannot reach code.quarkus.io/api/extensions behind proxy #292

Open
stgiaf opened this issue Jul 17, 2020 · 16 comments
Open

Cannot reach code.quarkus.io/api/extensions behind proxy #292

stgiaf opened this issue Jul 17, 2020 · 16 comments
Assignees
Labels
bug Something isn't working

Comments

@stgiaf
Copy link

stgiaf commented Jul 17, 2020

When there is a proxy server in the network, quarkus project cannot be created with the following notification message: Unable to reach http://code.quarkus.io/api/extensions.

@angelozerr
Copy link
Contributor

@xorye do you think it's easy to fix that (I suppose we need to provide a new settings for that)

@xorye
Copy link
Contributor

xorye commented Aug 6, 2020

I'm having trouble reproducing this on my machine but we would probably have to change https://github.com/redhat-developer/vscode-quarkus/blob/master/src/utils/requestUtils.ts

Also, we need to be careful that there's no regression for #48. It would be great if we had vscode tests (not UI tests) for functions in https://github.com/redhat-developer/vscode-quarkus/blob/master/src/utils/requestUtils.ts

@shaki02
Copy link

shaki02 commented Apr 1, 2021

Any updates - I'm getting the same issue on vscode using redhat quarkus extension

@sebastienblanc
Copy link

@angelozerr Hi had suddenly that issue 2 days in the middle of a presentation, I'm not behind a proxy and I really struggle to fix. Even a reinstall of both vscode and the Quarkus extension did not help. Any idea ?

@angelozerr
Copy link
Contributor

@sebastienblanc thanks for reporting this issue. I can reproduce it and we need to investigate the problem. I suspect it's a SSL certificate problem.

It seems that it's the same issue than #401

@angelozerr
Copy link
Contributor

@sebastienblanc could you try to use VSCode Insider with vscode-quarkus. It seems that it's a bug from vscode which should be fixed for next release. I tried (on Windows OS) and it works.

@fbricon fbricon added bug Something isn't working upstream and removed upstream labels Oct 5, 2021
@AdamBien
Copy link

AdamBien commented Oct 6, 2021

I'm facing the same issue: Unable to reach http://code.quarkus.io/api/extensions

@angelozerr
Copy link
Contributor

@AdamBien have you tried with VSCode Insider?

@AdamBien
Copy link

AdamBien commented Oct 6, 2021

You mean Visual Studio Code Insiders? No.

@angelozerr
Copy link
Contributor

You mean Visual Studio Code Insiders?

Yes

No.

According to #401 (comment) the bug comes from vscode which has been resolved. By waiting for the vscode release, you can use VSCode Insider which fix it.

@geziefer
Copy link

geziefer commented Nov 20, 2021

@angelozerr I still have the same issue, and it is neither fixed with VSCode 1.62.3, nor with 1.63.0-insider.
I'm not behind a proxy and I tried a newly installed VSCode and Quarkus Extension 1.9.0 on Windows 10.
When trying the default configured http://code.quarkus.io/api/extensions in browser, it redirects me to https and displays the JSON. Configuring https does not change anything.
This for example makes it impossible to use the create quarkus project wizzard, which might be done otherwise, but does not give a good feeling about the extension if the basic connection to API fails.

@amar-hemmour98
Copy link

amar-hemmour98 commented Jan 26, 2022

I'm having the same issue actually, even using vscode insiders.
Anyone knows how to deal with this ?

@ess77
Copy link

ess77 commented Feb 16, 2022

Experiencing the same issue with version 1.64.2 of VS Code. Still not fixed!

@rgrunber rgrunber self-assigned this Feb 23, 2022
@rgrunber
Copy link
Member

Does the wizard fail immediately on activating it, on a particular step, or at the very end when all the options have been selected ?

I tried setting up a basic proxy with tinyproxy (http://localhost:8888) and I'm able to generate a Quarkus project with the wizard. Is there some publicly available proxy that could be used to test this out for which the behaviour is reproducible ?

@geziefer
Copy link

geziefer commented Feb 24, 2022

@rgrunber Interestingly, now it works on my machine, I can go through the wizard and it generates a project.
Before, the wizard started and accepted input for build tool, artifact, ... but then failed at the step when selecting quarkus extensions would show.
Note: Actually, I was not behind a proxy but had company VPN active.

@jonathanvila
Copy link

I'm behind my company VPN and proxy and I have the same issue with VSCode version 1.92.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests