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

We continue to have problems deploying and updating our sites. #533

Open
eliseodedios opened this issue Jun 25, 2024 · 18 comments
Open

We continue to have problems deploying and updating our sites. #533

eliseodedios opened this issue Jun 25, 2024 · 18 comments

Comments

@eliseodedios
Copy link

We continue to have problems deploying and updating our sites.

@sseeaann
Copy link

Yes there seems to be some caching involved as updates are not reflected and requires many push attempts or even some sort of HTML element or CSS dom change to force it.

@sintaxi
Copy link
Owner

sintaxi commented Jun 25, 2024

I'll look into it. First I need to know the IP address you are directed to. Can you run ping <your-domain> for me?

@eliseodedios
Copy link
Author

ping rc-commander.surge.sh
PING rc-commander.surge.sh (138.197.235.123): 56 data bytes
64 bytes from 138.197.235.123: icmp_seq=0 ttl=47 time=64.671 ms
64 bytes from 138.197.235.123: icmp_seq=1 ttl=47 time=70.202 ms
64 bytes from 138.197.235.123: icmp_seq=2 ttl=47 time=64.308 ms
64 bytes from 138.197.235.123: icmp_seq=3 ttl=47 time=70.628 ms
64 bytes from 138.197.235.123: icmp_seq=4 ttl=47 time=72.393 ms
64 bytes from 138.197.235.123: icmp_seq=5 ttl=47 time=64.729 ms
64 bytes from 138.197.235.123: icmp_seq=6 ttl=47 time=68.290 ms

@sintaxi
Copy link
Owner

sintaxi commented Jun 26, 2024

@eliseodedios thank you.

We have purged caches on the 138.197.235.123 edgenode. please test again.

@eliseodedios
Copy link
Author

@sintaxi Thanks for the help my dear, greetings and success.

@coolov
Copy link

coolov commented Jun 28, 2024

hello! also experiencing staleness. my ip is 138.197.235.123

update: my deployment has now propagated

@darkralts
Copy link

darkralts commented Jun 30, 2024

hello i am having an issue teardown'ing one of my sites, and my other site wont update even though it says success! and surge command said it tore down site, when i go to my sites they are not updating and the other teard down one is still up

ping output for my new main site 45.55.110.124

ping output for the site i want to tear down 159.203.159.100

@jonathanconway
Copy link

Hi there, thanks so much for this awesome service!

However unfortunately I'm having the same issues described above.
Only the first uploaded version of my site is being served, despite making changes and uploading using the surge command.
Website: https://testmatic.surge.sh/

Would much appreciate any help. 🙏
(Also please let me know if I can help you out somehow, I have some free time.)

Thanks!

@sintaxi
Copy link
Owner

sintaxi commented Jul 3, 2024

@jonathanconway Im seeing 3 deployments all with identical content. are you sure you changed the contents of the project?

https://1719938981217-testmatic.surge.sh/auto.appcache
https://1719939578528-testmatic.surge.sh/auto.appcache
https://1719974067606-testmatic.surge.sh/auto.appcache

@jonathanconway
Copy link

@sintaxi Ok thanks for letting me know, I'll investigate on my side. Thanks!

@jonathanconway
Copy link

jonathanconway commented Jul 3, 2024

@sintaxi I rebuilt the site and checked my ./build folder. It includes the following files:

  • static/js/main.a831ab0e.js
  • static/css/main.c9ec1d83.css

These files also appear in the asset-manifest.json file:

{
  "files": {
    "main.css": "/static/css/main.c9ec1d83.css",
    "main.js": "/static/js/main.a831ab0e.js",
    "static/js/453.997098d3.chunk.js": "/static/js/453.997098d3.chunk.js",
    "static/media/marked.cjs": "/static/media/marked.ce1e881bd4176f4ee7e9.cjs",
    "static/media/logo.svg": "/static/media/logo.2af48dab3fba65081f3f9d97088a78cb.svg",
    "index.html": "/index.html",
    "main.c9ec1d83.css.map": "/static/css/main.c9ec1d83.css.map",
    "main.a831ab0e.js.map": "/static/js/main.a831ab0e.js.map",
    "453.997098d3.chunk.js.map": "/static/js/453.997098d3.chunk.js.map"
  },
  "entrypoints": [
    "static/css/main.c9ec1d83.css",
    "static/js/main.a831ab0e.js"
  ]
}

I'm running this command for the deployment:

surge ./build testmatic.surge.sh

But when I browse to the new file: https://testmatic.surge.sh/static/js/main.a831ab0e.js, I get a "Page not found" error.

When I browse to the older deployed file: https://testmatic.surge.sh/static/js/main.e84b5fc5.js, I get served the file.

So it seems surge is caching the older version of the site, unless I'm missing something?

Version of surge I'm using: v0.23.1.

@sintaxi
Copy link
Owner

sintaxi commented Jul 3, 2024

can you run ls ./build from the same directory?

@jonathanconway
Copy link

jonathanconway commented Jul 3, 2024

Sure:

$ ls -l1 ./build

asset-manifest.json
cache
favicon.ico
index.html
logo192.png
logo512.png
manifest.json
robots.txt
static
$ ls -l1 ./build/static/js

453.997098d3.chunk.js
453.997098d3.chunk.js.map
main.a831ab0e.js
main.a831ab0e.js.LICENSE.txt
main.a831ab0e.js.map

Also sorry I made a typo in the previous comment – it is serving this older file: https://testmatic.surge.sh/static/js/main.e84b5fc5.js

@sseeaann
Copy link

sseeaann commented Jul 3, 2024

I am plussing this issue. I have to push my updates 5-10 times before they take and are reflected on the site OR they don't update ever. For example, yesterday and the days before (since issue #530 was closed out), it was requiring me to push a few times before the site would be reflected. Today however, I've pushed a dozen times and the update is never reflected.

@mr3wi
Copy link

mr3wi commented Jul 4, 2024

I am plussing this issue. I have to push my updates 5-10 times before they take and are reflected on the site OR they don't update ever. For example, yesterday and the days before (since issue #530 was closed out), it was requiring me to push a few times before the site would be reflected. Today however, I've pushed a dozen times and the update is never reflected.

I'm experimenting the same issues on my side

@sintaxi
Copy link
Owner

sintaxi commented Jul 4, 2024

@jonathanconway @sseeaann @mr3wi I need to know what endpoint you are being directed to. Can you run ping <yoursubdomain>.surge.sh?

@jonathanconway
Copy link

PING testmatic.surge.sh (139.59.195.30): 56 data bytes
64 bytes from 139.59.195.30: icmp_seq=0 ttl=51 time=111.415 ms
^C
--- testmatic.surge.sh ping statistics ---
6 packets transmitted, 6 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 104.192/106.844/111.415/2.498 ms

@jonathanconway
Copy link

It seems to be working again. Many thanks!! 👍

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

7 participants