Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

wget fails with our private repos

Srinivasan_ Usha January 26, 2022

Hello,
We have set up private repos for our company. I am running some scripts that use wget to validate an http link before cloning and the wget fails. Can someone tell me how I can enable wget for my private repo?  I could not find anything in Settings that seemed relevant. Thanks.
HTTP request sent, awaiting response... 404 Not Found
2022-01-26 10:36:22 ERROR 404: Not Found.

If I use the same exact URL with git clone, it works fine, so I know there is nothing wrong with the URL.

2 answers

0 votes
Pramodh M
Community Champion
January 26, 2022

@Srinivasan_ Usha 

Seems like this is a bitbucket question

Private repos must be cloned with the git clone option

To test the connection use curl --> and then API of provider's documentation

Thanks,
Pramodh

Srinivasan_ Usha January 26, 2022

No it is not a bitbake question. 
wget https://github.com/openbmc/openbmc.git but ours at
https://github.com/cornelis/<repo>.git does not.  And, we need the latter to work. Is it because our how our repo is hosted?

Srinivasan_ Usha January 26, 2022

The steps to clone used are:
wget <https>
git clone <https>

This cannot be changed and I need this to work with our repos.

0 votes
Fabio Racobaldo _Herzum_
Community Champion
January 26, 2022

Hi @Srinivasan_ Usha ,

you should "curl" and not "wget" in order to retrieve information from confluence/bitbucket.

Confluence : https://developer.atlassian.com/server/confluence/confluence-rest-api-examples/

Bitbucket : https://developer.atlassian.com/server/bitbucket/how-tos/command-line-rest/

Hope this helps,

Fabio

Srinivasan_ Usha January 26, 2022

Unfortunately, I am using bitbake/poky to build and I cannot change that.  The wget on github.com/openbmc repos do not fail which is why I'm wondering if there is some setting that needs to be changes.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events