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

Migration to new server #977

Open
aparcar opened this issue Sep 18, 2024 · 11 comments
Open

Migration to new server #977

aparcar opened this issue Sep 18, 2024 · 11 comments

Comments

@aparcar
Copy link
Member

aparcar commented Sep 18, 2024

Hi all, the service moved to a new server, which is faster and hopefully more stable - looking at you non responding Podman.

Please enjoy and report issues here. I'm sure there are still issues with SNAPSHOT being delayed, this is something I'll tackle in the near future or maybe @efahl much sooner?

Sunshine,
Paul

@aparcar aparcar pinned this issue Sep 18, 2024
@efahl
Copy link
Contributor

efahl commented Sep 18, 2024

Yup, I've got a local ASU server running pretty solid, and am running my owut tests against it as we speak, but still can't get the build request to work (can't find docker imagebuilder images #975 (comment)).

@efahl
Copy link
Contributor

efahl commented Sep 18, 2024

I'm getting HTTP/1.1 502 Bad Gateway from any attempt to access the new server. Looks like the IP has been update to the right one, I think?

$ nslookup sysupgrade.openwrt.org
Server:         127.0.0.1
Address:        127.0.0.1:53

Non-authoritative answer:
sysupgrade.openwrt.org  canonical name = asu-02.infra.openwrt.org
Name:   asu-02.infra.openwrt.org
Address: 45.140.183.87

Non-authoritative answer:
sysupgrade.openwrt.org  canonical name = asu-02.infra.openwrt.org
Name:   asu-02.infra.openwrt.org
Address: 2001:678:6e1:1001:be24:11ff:fe23:4c6d

@efahl
Copy link
Contributor

efahl commented Sep 18, 2024

Here's some more output, in case it helps debug the issue.

$ wget -vSO - https://sysupgrade.openwrt.org/json/v1/overview.json
--2024-09-18 14:15:22--  https://sysupgrade.openwrt.org/json/v1/overview.json
Resolving sysupgrade.openwrt.org... 2001:678:6e1:1001:be24:11ff:fe23:4c6d, 45.140.183.87
Connecting to sysupgrade.openwrt.org|2001:678:6e1:1001:be24:11ff:fe23:4c6d|:443... connected.
HTTP request sent, awaiting response...
  HTTP/1.1 502 Bad Gateway
  Access-Control-Allow-Credentials: true
  Access-Control-Allow-Headers: *
  Access-Control-Allow-Methods: POST, GET, OPTIONS
  Access-Control-Allow-Origin: *
  Access-Control-Expose-Headers: Authorization
  Alt-Svc: h3=":443"; ma=2592000
  Server: Caddy
  Vary: Origin
  Date: Wed, 18 Sep 2024 21:15:23 GMT
  Content-Length: 0
2024-09-18 14:15:23 ERROR 502: Bad Gateway.

@lorand-horvath
Copy link

@aparcar Thanks for the heads up, hopefully you'll get the new server to work.
https://sysupgrade.openwrt.org/api/v1/build still returns 502, ASU and firmware-selector are both dead.

@aparcar
Copy link
Member Author

aparcar commented Sep 19, 2024

wget -vSO - https://sysupgrade.openwrt.org/json/v1/overview.json

I can't reproduce this, I'm seeing a fine JSON file

@aparcar
Copy link
Member Author

aparcar commented Sep 19, 2024

@aparcar Thanks for the heads up, hopefully you'll get the new server to work. https://sysupgrade.openwrt.org/api/v1/build still returns 502, ASU and firmware-selector are both dead.

Same here, I tested with multiple browsers and things work fine.

@alucryd
Copy link

alucryd commented Sep 19, 2024

Confirmed working now, it wasn't a couple hours ago.

@aparcar
Copy link
Member Author

aparcar commented Sep 19, 2024

Yea but it's my bad after all, I did not enable "linger" in loginctl and therefore the service would go down shortly after logging out of the user account. Should work now even if I'm not logged into the server, what a stupid thing...

@alucryd
Copy link

alucryd commented Sep 19, 2024

Still having an issue, but I'm not sure it's related. I'd like to switch my newly-acquired GL-MT6000 to a snapshot build using auc -b snapshot, but I'm getting the following:

root@gl-mt6000:~# auc -b snapshot
auc/0.3.2-1
Server:    https://sysupgrade.openwrt.org
Running:   23.05.4 r24012-d8dd03c46f on mediatek/filogic (glinet,gl-mt6000)
Invalid argument (22)

No error when targeting the 23.05.4 branch.

@efahl
Copy link
Contributor

efahl commented Sep 19, 2024

root@gl-mt6000:~# auc -b snapshot

Try again, but use auc -b snapshot -B snapshot and see if the problem persists. I seem to recall you need to specify both branch and rev sometimes with auc.

@alucryd
Copy link

alucryd commented Sep 19, 2024

auc -b snapshot -B snapshot

Awesome, that did the trick, thank you!

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

4 participants