pietervdvn / MapComplete

An easy-to-use webapp to edit OpenStreetMap
https://mapcomplete.org
213 stars 90 forks source link

Doesn't load on iOS Safari #1919

Open kommen opened 5 months ago

kommen commented 5 months ago

Going to https://mapcomplete.org/benches.html on iOS Safari

Results in the message: A problem repeatedly occurred on "https://mapcomplete.org/benches.html"

iOS Version 17.4.1, iPhone 15 Pro

Screenshot: IMG_0807

pietervdvn commented 5 months ago

I've had some issues too today, I think there were some issues with Github pages. Does it still occur? Does https://hosted.mapcomplete.org/ work as it should?

kommen commented 5 months ago

@pietervdvn thank you for the quick reply!

Unfortunately it still occurs. Tested in private browsing mode as well as in normal browsing mode and also with content blockers disabled. Sometimes it does work a bit, but as soon as I zoom in or then want to add a feature it crashes again (see further screenshots below)

Also https://hosted.mapcomplete.org doesn't work, it returns and blank page with no content.

Let me know if there is anything I should try or any logs I can provide to investigate.

135835C3-9FB2-45FE-A537-12D19E86DA08_1_201_a

IMG

kommen commented 5 months ago

To https://hosted.mapcomplete.org

It is just empty for me with a content-length of 0:

$ curl -v https://hosted.mapcomplete.org 
*   Trying 135.181.201.77:443...
* Connected to hosted.mapcomplete.org (135.181.201.77) port 443
* ALPN: curl offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
*  CAfile: /etc/ssl/cert.pem
*  CApath: none
* (304) (IN), TLS handshake, Server hello (2):
* (304) (IN), TLS handshake, Unknown (8):
* (304) (IN), TLS handshake, Certificate (11):
* (304) (IN), TLS handshake, CERT verify (15):
* (304) (IN), TLS handshake, Finished (20):
* (304) (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / AEAD-CHACHA20-POLY1305-SHA256
* ALPN: server accepted h2
* Server certificate:
*  subject: CN=hosted.mapcomplete.org
*  start date: Mar 20 10:53:34 2024 GMT
*  expire date: Jun 18 10:53:33 2024 GMT
*  subjectAltName: host "hosted.mapcomplete.org" matched cert's "hosted.mapcomplete.org"
*  issuer: C=US; O=Let's Encrypt; CN=R3
*  SSL certificate verify ok.
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://hosted.mapcomplete.org/
* [HTTP/2] [1] [:method: GET]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: hosted.mapcomplete.org]
* [HTTP/2] [1] [:path: /]
* [HTTP/2] [1] [user-agent: curl/8.4.0]
* [HTTP/2] [1] [accept: */*]
> GET / HTTP/2
> Host: hosted.mapcomplete.org
> User-Agent: curl/8.4.0
> Accept: */*
> 
< HTTP/2 404 
< alt-svc: h3=":443"; ma=2592000
< permissions-policy: interest-cohort=()
< report-to: {"group":"csp-endpoint", "max_age": 86400,"endpoints": [{"url": "https://report.mapcomplete.org/csp"}], "include_subdomains": true}
< server: Caddy
< content-length: 0
< date: Fri, 26 Apr 2024 05:08:55 GMT
< 
* Connection #0 to host hosted.mapcomplete.org left intact
pietervdvn commented 5 months ago

I cannot reproduce this (but I don't have access to an iOs-device right away).

I have to admit that this behaviour is quite weird and I'm suspecting internet troubles. Did it work before on those devices? Does it work with a different internet connection (switch from WiFi to cellular or vice-versa) Does it work on a different (non-Apple) device?

thibaultmol commented 5 months ago

If you have a macbook @kommen , trying it on Safari on there might be an interesting debugging step

kommen commented 5 months ago

It looks likely it is a network related issue. Using the 4G connection on my iPhone doesn't cause the trouble, but I had it on two different Wifi networks. I don't have the problem on the same Wifi networks with my MacBook...

Anyway, closing this for now as it seems it is not a general issue. I will report back if I find more actionable details.

pietervdvn commented 5 months ago

Someone had the same issue with the binoculars-theme, but the playgrounds theme worked as expected on their phone on the same network.