Giter VIP home page Giter VIP logo

element-web's Issues

We don't handle 403s on rooms gracefully

erikj (IRC)Dave: We don't seem to be handling 403s gracefully

2:02:36 PM
as in, I am now stuck on the spinner because it got fonxed trying to get pushrules
[13:08] Arathorn kegan: matrix-js-sdk seems to tightloop on
[13:08] Arathorn https://matrix.org//_matrix/client/api/v1/rooms/!lEZougoyUxdyEUlrFY%3Amatri…imit=20&dir=b&access_token= net::ERR_NAME_NOT_RESOLVED run_xhr @ index.js:218
[13:08] Arathorn if i remove netaccess
[13:08] Arathorn e.g. by VPNing
[13:10] kegan the js sdk does not automatically retry scrollback
[13:12] Arathorn okay, so it must be being triggered by trying to infinite scroll when you have no net access

...also...

If i'm kicked from a room, i can still try to send to it. JS console stacks up with loads of:
Failed to load resource: the server responded with a status of 403 (Forbidden)
q.js:161 Uncaught M_FORBIDDEN: User @matthew:matrix.org not in room !OkPeYYmtiSfwzDbCsg:matrix.org (<FrozenEvent event_id='$14375444627737xXjLH:matrix.org', type='m.room.member', state_key='@matthew:matrix.org'>)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.