Giter VIP home page Giter VIP logo

Comments (4)

gutocf avatar gutocf commented on June 10, 2024

Same problem here.

from socket.io-admin-ui.

darrachequesne avatar darrachequesne commented on June 10, 2024

@gutocf which version of the socket.io package are you using? v2?

The module is compatible with:

  • Socket.IO v4 server
  • Socket.IO v3 server (>= 3.1.0), but without the operations on rooms (join, leave, disconnection)

from socket.io-admin-ui.

alcalyn avatar alcalyn commented on June 10, 2024

Also having such errors. First I login (had to remove the trailing slash in server url to make it work).

Then I have empty inerface and tabs. I have to select the "/" namespace

image

to see something, but only in Events tab. Other tabs are empty and I see javascript errors:

image

also I have lot of unhealhty servers growing up

image

Tried on firefox and chromium. When I enter wrong server url (the one with trailing slash), firefox display xhr error and I have to change server url. Chromium also displays an error, but popin disappear and I can enter to a blank admin ui.

I use socket.io 4.5.4

    "socket.io": "^4.5.4",
    "socket.io-client": "^4.5.4",

And instrumented the server with

const app = express();
const server = http.createServer(app);
const io = new Server(server, {
    cors: {
        origin: ['https://admin.socket.io'],
        credentials: true,
    },
});

instrument(io, {
    auth: false,
    mode: 'development',
});

from socket.io-admin-ui.

alcalyn avatar alcalyn commented on June 10, 2024

Ok my bad, I had a custom parser, which was not expected by admin ui...

from socket.io-admin-ui.

Related Issues (20)

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.