Jump to content

Unable to wget https urls or compile maven projects with https dependencies


Recommended Posts

I'm trying to compile a java maven project and I've noticed that maven is unable to download dependencies from https repositories, I know that this problem is related specifically to https on armbian because I'm also unable to wget https repositories and it only works with the --no-check-certificate flag, I've tested on Ubuntu 22.04 on other two machines and it works, while on my armbian ones it doesn't, I've tested on my orangepi4 and on other 2 machines with x86 cpus that also runs armbian.

There's a way to make https work by default on these cases? I don't know if I'm missing some configuration or something like that.

I've attached a screenshot of what happens with wget, basically, it just hangs. I have the same problem attempting to build java maven projects, but with no output, it just says that is downloading a dependency indefinitely.

Screenshot from 2023-06-12 21-29-52.png

Edited by Mateus Coutinho Marim
Add screenshots and more explanation.
Link to comment
Share on other sites

Aren't your screenshots from different systems ? If you try to download the .pom file with curl and post the output on pastebin.com ?

 

curl -vv -S https://repo1.maven.org/maven2/org/antlr/antlr4-maven-plugin/4.9.2/antlr4-maven-plugin-4.9.2.pom -o /dev/null

 

FWIW I also have installed the same Armbian version and don't have an issue with downloading said file (though I'm using a different kind of SBC).

Edited by mitu
Link to comment
Share on other sites

Sorry, yes, it is from a diferent system, I'm formatting it to see if I have any success. But both systems have armbian at same version and are with the same problem. I'm also running a pfsense firewall on my network, could it be causing some kind of problem?

I'll check some stuff here and i'll tell if I find some problem. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines