How to successfully set up Oxygen for a Hydrogen storefront?

Hawk94
Shopify Partner
3 0 0

I've created a Hydrogen storefront & have been trying to deploy it on Oxygen.

 

The wizard available in the Hydrogen app prompts you to connect to GitHub and select or create a repository that Oxygen will create deployments from.

Unfortunately every time I try to connect a repository it get's stuck at the 'Uploading Oxygen deployment secrets' step.

The error it provides suggest that there might be an issue with permissions ('We encountered a problem connecting to your Hydrogen repository. Please try again later.'), however the GitHub integration appears to have full permission for that repository so I'm a bit stuck.

 

Has anyone been able to complete the Oxygen setup succesfully?

Replies 6 (6)

Hawk94
Shopify Partner
3 0 0

Thanks for taking a look.

 

How would I create those credentials?

 

Fwiw I've been able to develop locally using secrets pulled using the shopify hydrogen cli. 

saurabh73
Shopify Partner
3 0 0

@Hawk94  Did you got any fix for this, facing the same issue

yeshellohi
Visitor
2 0 0

I'm having the same issue, both using the CLI and the website flow end with "We encountered a problem connecting to your Hydrogen repository. Please try again later.". No more error detail anywhere, it's very frustrating as I had to move from Development > Starter, so pay more money to even attempt this deployment and it doesn't work.

Did you manage to solve it?

saurabh73
Shopify Partner
3 0 0

A complete reinstall of the Shopify GitHub App and Hydrogen App, along with the removal of old secrets and GitHub workflow, did the trick for me.

Hawk94
Shopify Partner
3 0 0

This was the best solution I found too. Annoyingly it still failed a few times.

 

If you're starting a new project using the "Create Storefront" wizard in the Hydrogen app on Shopify worked more consistently for me.

Hawk94_0-1704446795299.png

 

saurabh73
Shopify Partner
3 0 0

Yes, it failed a few times for me too, somehow after reinstalling every component it worked (GitHub App, Secrets from Repository, Github Action File, and at last Hydrogen App)