tetrio / issues

Report issues and discuss improvements / feature requests around TETR.IO
https://tetr.io
392 stars 21 forks source link

I keep crashing :( #873

Closed igezt closed 2 years ago

igezt commented 2 years ago

Checklist

OS and Version

Windows 11

Browser and version

Chrome 97.0.4692.71

Describe the bug/issue

I keep crashing from something called "expired ribbon", cant quite remember what it is. But I've been crashed from 5 TL games of my last 6. I am not sure what to do

Reproducing

  1. I join Tetra League
  2. lag a bunch
  3. Tetrio disconnects me on its on

Expected behavior

I get disconnected with an error message

Screenshots

No response

Console logs

Obtaining Ribbon endpoint...
tetr.io/:1 A cookie associated with a cross-site resource at http://openx.net/ was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
VM2748:4069 Obtained Ribbon endpoint wss://tetr.io/ribbon-chihaya
tetr.io/:1 A cookie associated with a cross-site resource at http://yahoo.com/ was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
tetr.io/:1 A cookie associated with a cross-site resource at https://yahoo.com/ was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
static.adsafeprotected.com/sca.17.5.12.js:32 [Deprecation] Application Cache API use is deprecated and will be removed in M82, around May 2020. See https://www.chromestatus.com/features/6192449487634432 for more details.
a167 @ static.adsafeprotected.com/sca.17.5.12.js:32
static.adsafeprotected.com/sca.17.5.12.js:32 a: 0.0009765625ms
VM2748:225 Ribbon 7d5d717d94f18f06 opened
tetr.io/:1 Access to image at 'https://pixel.quantserve.com/pixel/p-7JZADCG8mFkvS.gif?inventoryType=display&ctr=0&campaign=861837&lineitem=838125&creative=1971964&uid=ubB4GsnEDGHXswpquKwJHsO1EGDOxQV1v7gFbc2xCmrKwglohvnVYA&url=tetr.io&gdpr=&gdpr_consent=' from origin 'https://tetr.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
pixel.quantserve.com/pixel/p-7JZADCG8mFkvS.gif?inventoryType=display&ctr=0&campaign=861837&lineitem=838125&creative=1971964&uid=ubB4GsnEDGHXswpquKwJHsO1EGDOxQV1v7gFbc2xCmrKwglohvnVYA&url=tetr.io&gdpr=&gdpr_consent=:1 Failed to load resource: net::ERR_FAILED
tetr.io/:1 Access to image at 'https://quantcast584928381.s.moatpixel.com/pixel.gif?m=1&iv=0&tuv=-1&tet=22&fi=0&apd=44&ui=0&uit=0&h=0&th=-1&s=0&ts=-1&bfa=1&d=tetr.io&L1id=p-2kdQAQ3z_a0V4&L2id=861837&L3id=838125&L4id=1971964&S1id=tetr.io&S2id=-&ord=1642351407225&r=675224833011&t=meas&os=1&fi2=0&div1=0&ait=0&uid=ubB4GsnEDGHXswpquKwJHsO1EGDOxQV1v7gFbc2xCmrKwglohvnVYA&bedc=1&q=1&BSD=safe&BSC=moat_unsure&nu=1&ib=0&dc=0&ob=0&oh=0&lt=0&ab=0&n=0&nm=1&sp=0&pt=0' from origin 'https://tetr.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
quantcast584928381.s.moatpixel.com/pixel.gif?m=1&iv=0&tuv=-1&tet=22&fi=0&apd=44&ui=0&uit=0&h=0&th=-1&s=0&ts=-1&bfa=1&d=tetr.io&L1id=p-2kdQAQ3z_a0V4&L2id=861837&L3id=838125&L4id=1971964&S1id=tetr.io&S2id=-&ord=1642351407225&r=675224833011&t=meas&os=1&fi2=0&div1=0&ait=0&uid=ubB4GsnEDGHXswpquKwJHsO1EGDOxQV1v7gFbc2xCmrKwglohvnVYA&bedc=1&q=1&BSD=safe&BSC=moat_unsure&nu=1&ib=0&dc=0&ob=0&oh=0&lt=0&ab=0&n=0&nm=1&sp=0&pt=0:1 Failed to load resource: net::ERR_FAILED
tetr.io/:1 Access to image at 'https://quantcast584928381.s.moatpixel.com/pixel.gif?m=1&iv=0&tuv=-1&tet=22&fi=0&apd=44&ui=0&uit=0&h=0&th=-1&s=0&ts=-1&bfa=1&d=tetr.io&L1id=p-2kdQAQ3z_a0V4&L2id=861837&L3id=838125&L4id=1971964&S1id=tetr.io&S2id=-&ord=1642351407225&r=675224833011&t=bs&os=1&fi2=0&div1=0&ait=0&uid=ubB4GsnEDGHXswpquKwJHsO1EGDOxQV1v7gFbc2xCmrKwglohvnVYA&bedc=1&q=2&BSD=safe&BSC=moat_unsure&nu=1&ib=0&dc=0&ob=0&oh=0&lt=0&ab=0&n=0&nm=1&sp=0&pt=0' from origin 'https://tetr.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
quantcast584928381.s.moatpixel.com/pixel.gif?m=1&iv=0&tuv=-1&tet=22&fi=0&apd=44&ui=0&uit=0&h=0&th=-1&s=0&ts=-1&bfa=1&d=tetr.io&L1id=p-2kdQAQ3z_a0V4&L2id=861837&L3id=838125&L4id=1971964&S1id=tetr.io&S2id=-&ord=1642351407225&r=675224833011&t=bs&os=1&fi2=0&div1=0&ait=0&uid=ubB4GsnEDGHXswpquKwJHsO1EGDOxQV1v7gFbc2xCmrKwglohvnVYA&bedc=1&q=2&BSD=safe&BSC=moat_unsure&nu=1&ib=0&dc=0&ob=0&oh=0&lt=0&ab=0&n=0&nm=1&sp=0&pt=0:1 Failed to load resource: net::ERR_FAILED
tetr.io/:1 Access to image at 'https://quantcast584928381.s.moatpixel.com/pixel.gif?m=1&iv=0&tuv=-1&tet=185&fi=0&apd=207&ui=0&uit=0&h=0&th=-1&s=0&ts=-1&bfa=1&d=tetr.io&L1id=p-2kdQAQ3z_a0V4&L2id=861837&L3id=838125&L4id=1971964&S1id=tetr.io&S2id=-&ord=1642351407225&r=675224833011&t=hdn&os=1&fi2=0&div1=0&ait=0&uid=ubB4GsnEDGHXswpquKwJHsO1EGDOxQV1v7gFbc2xCmrKwglohvnVYA&bedc=1&q=3&BSD=safe&BSC=moat_unsure&nu=1&ib=0&dc=0&ob=0&oh=0&lt=0&ab=0&n=0&nm=1&sp=0&pt=0' from origin 'https://tetr.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
quantcast584928381.s.moatpixel.com/pixel.gif?m=1&iv=0&tuv=-1&tet=185&fi=0&apd=207&ui=0&uit=0&h=0&th=-1&s=0&ts=-1&bfa=1&d=tetr.io&L1id=p-2kdQAQ3z_a0V4&L2id=861837&L3id=838125&L4id=1971964&S1id=tetr.io&S2id=-&ord=1642351407225&r=675224833011&t=hdn&os=1&fi2=0&div1=0&ait=0&uid=ubB4GsnEDGHXswpquKwJHsO1EGDOxQV1v7gFbc2xCmrKwglohvnVYA&bedc=1&q=3&BSD=safe&BSC=moat_unsure&nu=1&ib=0&dc=0&ob=0&oh=0&lt=0&ab=0&n=0&nm=1&sp=0&pt=0:1 Failed to load resource: net::ERR_FAILED
tetr.io/:1 Access to image at 'https://quantcast584928381.s.moatpixel.com/pixel.gif?m=1&iv=0&tuv=-1&tet=185&fi=0&apd=207&ui=0&uit=0&h=0&th=-1&s=0&ts=-1&bfa=1&d=tetr.io&L1id=p-2kdQAQ3z_a0V4&L2id=861837&L3id=838125&L4id=1971964&S1id=tetr.io&S2id=-&ord=1642351407225&r=675224833011&t=nht&os=1&fi2=0&div1=0&ait=0&uid=ubB4GsnEDGHXswpquKwJHsO1EGDOxQV1v7gFbc2xCmrKwglohvnVYA&bedc=1&q=4&BSD=safe&BSC=moat_unsure&nu=1&ib=0&dc=0&ob=0&oh=0&lt=0&ab=0&n=0&nm=1&sp=0&pt=0' from origin 'https://tetr.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
quantcast584928381.s.moatpixel.com/pixel.gif?m=1&iv=0&tuv=-1&tet=185&fi=0&apd=207&ui=0&uit=0&h=0&th=-1&s=0&ts=-1&bfa=1&d=tetr.io&L1id=p-2kdQAQ3z_a0V4&L2id=861837&L3id=838125&L4id=1971964&S1id=tetr.io&S2id=-&ord=1642351407225&r=675224833011&t=nht&os=1&fi2=0&div1=0&ait=0&uid=ubB4GsnEDGHXswpquKwJHsO1EGDOxQV1v7gFbc2xCmrKwglohvnVYA&bedc=1&q=4&BSD=safe&BSC=moat_unsure&nu=1&ib=0&dc=0&ob=0&oh=0&lt=0&ab=0&n=0&nm=1&sp=0&pt=0:1 Failed to load resource: net::ERR_FAILED
tetr.io/:1 Access to image at 'https://quantcast584928381.s.moatpixel.com/pixel.gif?m=1&iv=1&tuv=821&tet=1002&fi=0&apd=1024&ui=0&uit=0&h=0&th=-1&s=0&ts=-1&bfa=1&d=tetr.io&L1id=p-2kdQAQ3z_a0V4&L2id=861837&L3id=838125&L4id=1971964&S1id=tetr.io&S2id=-&ord=1642351407225&r=675224833011&t=iv&os=1&fi2=0&div1=0&ait=102&uid=ubB4GsnEDGHXswpquKwJHsO1EGDOxQV1v7gFbc2xCmrKwglohvnVYA&bedc=1&q=5&BSD=safe&BSC=moat_unsure&nu=1&ib=0&dc=0&ob=0&oh=0&lt=0&ab=0&n=0&nm=1&sp=0&pt=0' from origin 'https://tetr.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
quantcast584928381.s.moatpixel.com/pixel.gif?m=1&iv=1&tuv=821&tet=1002&fi=0&apd=1024&ui=0&uit=0&h=0&th=-1&s=0&ts=-1&bfa=1&d=tetr.io&L1id=p-2kdQAQ3z_a0V4&L2id=861837&L3id=838125&L4id=1971964&S1id=tetr.io&S2id=-&ord=1642351407225&r=675224833011&t=iv&os=1&fi2=0&div1=0&ait=102&uid=ubB4GsnEDGHXswpquKwJHsO1EGDOxQV1v7gFbc2xCmrKwglohvnVYA&bedc=1&q=5&BSD=safe&BSC=moat_unsure&nu=1&ib=0&dc=0&ob=0&oh=0&lt=0&ab=0&n=0&nm=1&sp=0&pt=0:1 Failed to load resource: net::ERR_FAILED
tetr.io/:1 Access to image at 'https://pixel.quantserve.com/pixel/p-7JZADCG8mFkvS.gif?inventoryType=display&ctr=1&campaign=861837&lineitem=838125&creative=1971964&uid=ubB4GsnEDGHXswpquKwJHsO1EGDOxQV1v7gFbc2xCmrKwglohvnVYA&url=tetr.io&gdpr=&gdpr_consent=' from origin 'https://tetr.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
pixel.quantserve.com/pixel/p-7JZADCG8mFkvS.gif?inventoryType=display&ctr=1&campaign=861837&lineitem=838125&creative=1971964&uid=ubB4GsnEDGHXswpquKwJHsO1EGDOxQV1v7gFbc2xCmrKwglohvnVYA&url=tetr.io&gdpr=&gdpr_consent=:1 Failed to load resource: net::ERR_FAILED
VM2748:4069 tetr-io_728x90_1 unmounted, now 0 mounts
tetr.io/:1 Access to image at 'https://quantcast584928381.s.moatpixel.com/pixel.gif?m=1&iv=1&tuv=821&tet=1814&fi=0&apd=1836&ui=0&uit=0&h=0&th=-1&s=0&ts=-1&bfa=1&d=tetr.io&L1id=p-2kdQAQ3z_a0V4&L2id=861837&L3id=838125&L4id=1971964&S1id=tetr.io&S2id=-&ord=1642351407225&r=675224833011&t=unload&os=1&fi2=0&div1=0&ait=914&uid=ubB4GsnEDGHXswpquKwJHsO1EGDOxQV1v7gFbc2xCmrKwglohvnVYA&bedc=1&q=6&BSD=safe&BSC=moat_unsure&nu=1&ib=0&dc=0&ob=0&oh=0&lt=0&ab=0&n=0&nm=1&sp=0&pt=0' from origin 'https://tetr.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
quantcast584928381.s.moatpixel.com/pixel.gif?m=1&iv=1&tuv=821&tet=1814&fi=0&apd=1836&ui=0&uit=0&h=0&th=-1&s=0&ts=-1&bfa=1&d=tetr.io&L1id=p-2kdQAQ3z_a0V4&L2id=861837&L3id=838125&L4id=1971964&S1id=tetr.io&S2id=-&ord=1642351407225&r=675224833011&t=unload&os=1&fi2=0&div1=0&ait=914&uid=ubB4GsnEDGHXswpquKwJHsO1EGDOxQV1v7gFbc2xCmrKwglohvnVYA&bedc=1&q=6&BSD=safe&BSC=moat_unsure&nu=1&ib=0&dc=0&ob=0&oh=0&lt=0&ab=0&n=0&nm=1&sp=0&pt=0:1 Failed to load resource: net::ERR_FAILED
DevTools failed to load SourceMap: Could not load content for https://tetr.io/uri.all.js.map: Unknown error
DevTools failed to load SourceMap: Could not load content for https://tetr.io/tf.min.js.map: Unknown error

Additional context

No response

ZaptorZap commented 2 years ago

Sorry, but this is a very generic issue and the cause is normally your internet. If there's no consistent rhyme or reason to these disconnects(which I do want to note, there's a big difference between a crash and a disconnect), then this isn't an issue with the game.

I can leave you with some extra information regarding these disconnects though. As you may or may not be aware, TETR.IO's servers are hosted in France, so your connection is always going there and back to send game state and inputs. This is why localized speed tests are not indicative of an issue on our end. If you press F8 ingame, you can actually see your ping live as one of the counters, although this may impact performance. osk has described the expired ribbon disconnect reason as such below:

your connection drops (for any reason), but ribbon is not able to fix it due to the high ping (15~25s depending on your luck) by the time your pc notices the connection's gone and is actually able to create a new one, so much time has passed that the server doesnt know you anymore

on the server: every 5s every socket is marked stale, and receiving a ping (pings are always client->server->client) will unstale it if a socket is stale but the 5s timer hits it, the socket is closed every 10s, all ribbons that do not have an active socket are marked stale, reconnecting correctly unstales it if a ribbon is stale but the 10s timer hits it, the ribbon is closed

on the client: every 5s a ping is sent, and the current socket is marked stale, receiving a pong back from the server unstales it if the 5s timer hits it again and its still stale, reconnect