Azure / Azure/static-web-apps

Newly deployed instances are not responding. Looks like a DNS issue.

Open
#713 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
346
Forks
67
PR merge metrics
No merged PRs in 30d

Description

Deploying [this code](https://github.com/scale-tone/cognitive-search-static-web-apps-sample-ui) to a newly created Static Web App instance. Tried deploying via both Azure Portal and CLI. Results are the same: the instance is created, the deployment workflow succeeds, the instance looks healthy in the portal, but the app's root URL does not respond (fails with ERR_CONNECTION_TIMEOUT):

![image](https://user-images.githubusercontent.com/5447190/152400453-47b05f5e-2a43-48b4-b77b-2cb7f3c650fc.png)

Tried two regions: centralus and westeurope. No difference.

nslookup on the newly created DNS name (nice-wave-04a90fd10.1.azurestaticapps.net) looks weird:
```
C:\projects\github\cognitive-search-static-web-apps-sample-ui>nslookup nice-wave-04a90fd10.1.azurestaticapps.net
Server: sahhgw.home
Address: 10.0.0.138

Non-authoritative answer:
Name: nettvern-info.telenor.net
Address: 148.123.15.44
Aliases: nice-wave-04a90fd10.1.azurestaticapps.net
```

Compare this with result for my previously created, healthy instance:
```
C:\projects\github\cognitive-search-static-web-apps-sample-ui>nslookup lively-sand-033e9ec03.azurestaticapps.net
Server: sahhgw.home
Address: 10.0.0.138

Non-authoritative answer:
Name: waws-prod-am2-0ab44d07.cloudapp.net
Address: 40.118.40.109
Aliases: lively-sand-033e9ec03.azurestaticapps.net
azurestaticapps.trafficmanager.net
msha-am2-0.staticsites-prod-westeurope.p.azurewebsites.net
waws-prod-am2-0ab44d07.sip.p.azurewebsites.windows.net
```

Doing nslookup nice-wave-04a90fd10.1.azurestaticapps.net from a GitHub codespace produces different results:

```
@scale-tone ➜ /workspaces/az-messaging-demo (main ✗) $ nslookup nice-wave-04a90fd10.1.azurestaticapps.net
Server: 127.0.0.53
Address: 127.0.0.53#53

Non-authoritative answer:
nice-wave-04a90fd10.1.azurestaticapps.net canonical name = azurestaticapps1.trafficmanager.net.
azurestaticapps1.trafficmanager.net canonical name = msha-slice-1-am2-1.msha-slice-1-am2-1-ase.p.azurewebsites.net.
msha-slice-1-am2-1.msha-slice-1-am2-1-ase.p.azurewebsites.net canonical name = waws-prod-am2-8b19502a.sip.p.azurewebsites.windows.net.
Name: waws-prod-am2-8b19502a.sip.p.azurewebsites.windows.net
Address: 51.124.12.35
```

Requesting that '51.124.12.35' address results in 404:
![image](https://user-images.githubusercontent.com/5447190/152403269-1a917a56-c9fa-4471-a88b-1444908eafe2.png)

[Deployment workflow is here](https://github.com/scale-tone/cognitive-search-static-web-apps-sample-ui/blob/master/.github/workflows/azure-static-web-apps-nice-wave-04a90fd10.yml).

**To Reproduce**

- Deploy the app instance [as described here](https://github.com/scale-tone/cognitive-search-static-web-apps-sample-ui#how-to-deploy-to-azure).
- Try to navigate to the app's root page.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.