Users reporting issues downloading
I've seen reports on social media and through email that users are having trouble with their download. So far it's unclear where the breakage is. Opening a ticket so we can track the issue and try to direct users here to provide more information
So far I can't reproduce the issue either with or without payment. The only thing I can say is that it seems like after paying the download dialog might take a second to pop up and there's no good loading indicator between the disappearance of the payment dialog and the appearance of the download dialog. I'm not sure if this is what users are experiencing, however. We'll need more information from those experiencing the issue
Based on the log in this thread it's actually not loading the config file and failing to get basics like the release name in the download.js
Also see https://sentry.io/organizations/elementary-llc/issues/727170057/?project=101325&query=download.js
Hi, I'm also getting this issue. These are the console logs I get when opening the page:
Sentry loaded elementary.io:34:21
Google analytics pre-load catch set raven.js:58:31
TypeError: _config2.default.then is not a function main.js:1:1539
jQuery loaded raven.js:58:31
Loaded slingshot.js raven.js:58:31
jQuery.leanModal2 loaded raven.js:58:31
Unhandled promise rejection raven.js:58:31
b raven.js:58
onunhandledrejection (index):40
result common.js:1
exports common.js:1
onUnhandled common.js:1
exports common.js:1
<anonymous> common.js:1
run common.js:1
listener common.js:1
TypeError: "config.release is undefined"
61 https://elementary.io/scripts/download.js:1
notify https://elementary.io/scripts/common.js:1
notify https://elementary.io/scripts/common.js:1
flush https://elementary.io/scripts/common.js:1
raven.js:58:31
b raven.js:58
onunhandledrejection (index):41
result common.js:1
exports common.js:1
onUnhandled common.js:1
exports common.js:1
<anonymous> common.js:1
run common.js:1
listener common.js:1
Sitewide configuration loaded raven.js:58:31
Let me know if you need any more information.
I think we should clarify how people can contribute information. I'd suggest sharing a screen recording or a set of screenshots. Maybe use the Developer tools and share the messages that appear in the Web console? Maybe also check the Network tab for failed requests?
Hi! This is my screen record with this issue https://youtu.be/nDq-VgOkd-U
@MagayAlex Thanks! Could you maybe also share the contents of the console and network panels in the developer tools? (using Firefox / Chrome)
What do you get when you visit the following url? https://elementary.io/api/config
https://elementary.io/api/config =>
{
"release": {
"title": "Juno",
"version": "5.0"
},
"previous": {
"title": "Loki",
"version": "0.4.1"
},
"keys": {
"sentry": "https:\/\/[email protected]\/101325",
"stripe": "pk_live_ZtcG6SqsVtMbTuJARKujZ0lE"
},
"user": {
"ip": "95.153.131.119",
"region": "ams3",
"timecode": "MTU1OTA0MzIyOQ==",
"trackme": true
}
}
This is console from chromium, Ubuntu
Sentry loaded
raven.js:58 Google analytics pre-load catch set
main.js:1 Uncaught TypeError: Cannot read property 'then' of undefined
at Object.73 (main.js:1)
at __webpack_require__ (common.js:1)
at Object.65 (main.js:1)
at __webpack_require__ (common.js:1)
at Object.138 (main.js:1)
at __webpack_require__ (common.js:1)
at window.webpackJsonp (common.js:1)
at main.js:1
raven.js:58 jQuery loaded
raven.js:58 Stripe loaded
raven.js:58 Loaded slingshot.js
raven.js:58 jQuery.leanModal2 loaded
raven.js:58 Unhandled promise rejection
a.<computed> @ raven.js:58
raven.js:58 TypeError: Cannot read property 'release' of undefined
at download.js:1
a.<computed> @ raven.js:58
download.js:1 Uncaught (in promise) TypeError: Cannot read property 'release' of undefined
at download.js:1
raven.js:58 Sitewide configuration loaded
2sentry.io/api/101325/store/?sentry_version=7&sentry_client=raven-js%2F3.26.2&sentry_key=5dc4884b382c42b3a0d6440797af3454:1 Failed to load resource: the server responded with a status of 429 (TOO MANY REQUESTS)
@MagayAlex and the network panel? Maybe share a screenshot of that? Especially any request that doesn't have the 200 status is interesting.
Comparing that console output to mine I'm missing:
Loaded showcase.run.js
Loaded download.js
raven.js:58 Google analytics loaded
Could you try loading the following items?
- https://elementary.io/scripts/showcase.run.js
- https://elementary.io/scripts/download.js
When i open your links - it just a lot of code, start from 'webpackJsonp'
This is screenshot of the network panel. Second wrong name - same except this field: X-Served-By: api-store-9d964d17
https://yadi.sk/i/kCMD7s7hG20QOw
would it help if I posted a video I made of the problem? purchase elementary os button bug.tar.gz
EDIT2: it would not let me just upload a video so I had to compress it
EDIT: this problem does effect me and I am able to reproduce it every time. in order to install elementary os I had to use a dvd I had lying around
@MagayAlex Please try that again with the side panel closed. (You can include images in Github directly) If there are any non 200 status items sharing the full contents of the side panel Headers tab would be usefull.
@stormchaser3000 No thanks, a video has already been shared. Sharing the contents of the network panel (sidebar closed) would be useful. If there are any non 200 status items sharing the full contents of the side panel Headers tab would be useful.
Another thing someone could do in Chromium for example is:
- Open Developer tools
- Go to Sources tab
- In the top right click on the "Pause on Exceptions" icon (it should turn blue). (It's the second icon with a pause illustration)
- Make sure the "Pause on caught exceptions" is unchecked
- Reload page
- It should show navigate in the code where the error originates, please share as much info as possible from the developer tools using screenshots.
This is a log of Headers tab, item with status 429, instead of 200.
Request URL: https://sentry.io/api/101325/store/?sentry_version=7&sentry_client=raven-js%2F3.26.2&sentry_key=5dc4884b382c42b3a0d6440797af3454
Request Method: POST
Status Code: 429 TOO MANY REQUESTS
Remote Address: 35.188.42.15:443
Referrer Policy: origin
Access-Control-Allow-Headers: X-Sentry-Auth, X-Requested-With, Origin, Accept, Content-Type, Authentication
Access-Control-Allow-Methods: GET, POST, HEAD, OPTIONS
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: X-Sentry-Error, Retry-After
Cache-Control: no-cache, no-store, must-revalidate, max-age=0
Connection: keep-alive
Content-Language: ru
Content-Length: 92
Content-Type: application/json
Date: Tue, 28 May 2019 12:42:03 GMT
Expires: Tue, 28 May 2019 12:42:03 GMT
Last-Modified: Tue, 28 May 2019 12:42:03 GMT
Server: nginx
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Vary: Accept-Language, Cookie
X-Content-Type-Options: nosniff
X-Frame-Options: deny
X-Sentry-Error: Creation of this event was denied due to rate limiting
X-Served-By: api-store-206a9130
X-XSS-Protection: 1; mode=block
Provisional headers are shown
Content-Type: text/plain;charset=UTF-8
Origin: https://elementary.io
Referer: https://elementary.io/
User-Agent: Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Mobile Safari/537.36
sentry_version: 7
sentry_client: raven-js/3.26.2
sentry_key: 5dc4884b382c42b3a0d6440797af3454
{project: "101325", logger: "javascript", platform: "javascript",…}
breadcrumbs: {,…}
event_id: "9eb6cb47080748d485fa02e126ecdec8"
exception: {,…}
extra: {session:duration: 211}
logger: "javascript"
platform: "javascript"
project: "101325"
release: "5.0"
request: {headers: {,…}, url: "https://elementary.io/ru/"}
transaction: "https://elementary.io/scripts/main.js"
That TOO MANY REQUESTS to sentry.io means we're reporting a lot of errors, now we just need to figure out what errors.
Pause on Exceptions

@MagayAlex Could you enlarge the panel? Maybe also enlarge the bottom part. That's kind of what I was going for with "as much info as possible"...
i hope this is more usefull

I think the error comes from here: https://github.com/elementary/website/blob/7a4e1ba417309dedc5eaecd9cdaff764981a5fa3/_scripts/pages/download.js#L15-L16
But the weird thing is that this config is loaded successfully seeing the 'Sitewide configuration loaded' logs.
https://github.com/elementary/website/blob/7a4e1ba417309dedc5eaecd9cdaff764981a5fa3/_scripts/config.js