Navigation

  • Recent
  • Tags
  • Users
  • Search
  • Login
Colyseus
  • Login
  • Search
  • Recent
  • Tags
  • Users

Documentation GitHub

We're migrating to GitHub Discussions. This forum does not accept new registrations since April 6, 2023.
  1. Home
  2. RS
  3. Posts
  • Profile
  • More
    • Continue chat with RS
    • Flag Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

Posts made by RS

RE: [C]Cors Issue , connect to remote server from webgl

I already checked the headers sent by colyseus , but there is no duplicated header.
And my local server ( from fresh install ) have no rule about allow cross origin but sent "," like the remote server

posted in Questions & Help • 4 Oct 2021, 17:33
RE: [C]Cors Issue , connect to remote server from webgl

I tried with and without header ( the settings are in the main post of the thread ), put logs before the connection request (directly in the colyseus code) to display the headers, they are empty or show only my settings set but nothing about "*, *", and my local wamp server has no CORS rules ... and fresh install

posted in Questions & Help • 4 Oct 2021, 13:40
RE: [C]Cors Issue , connect to remote server from webgl

Ok thanks

posted in Questions & Help • 3 Oct 2021, 16:07
RE: [C]Cors Issue , connect to remote server from webgl

Same message :/

posted in Questions & Help • 3 Oct 2021, 15:12
RE: [C]Cors Issue , connect to remote server from webgl

Hi , already tested , doesn't fix

posted in Questions & Help • 3 Oct 2021, 13:50
[C]Cors Issue , connect to remote server from webgl

Hello with my team, we have decided to switch from version 0.10 of colyseus to version 0.14.18. We manage to connect with the remote server from Unity without worries but as soon as it comes to connecting to the remote server via the website with the WEBGL application, this one displays a CORS error that I cannot get to solve , the error seems to come from the header sent by the client :

alt text

I have an other error after that
alt text

Here is the code that allows me to make the connection:
alt text

The headers in Colyseus Settings are the same in the code previously mentioned.
The secure protocole is checked.

Hope to have some help coming here , good day for you !

posted in Questions & Help • 3 Oct 2021, 11:07
RE: "Argument exception: An element with the same key already exist in the dictionary" at line 214 in Client.cs

I do not have a solution strictly speaking to counter the problem in a "clean" way, only a way to circumvent the problem by adding a condition that would remove an element of the dictionary if it already exists

posted in Questions & Help • 7 Jan 2019, 13:43
"Argument exception: An element with the same key already exist in the dictionary" at line 214 in Client.cs

Hello at the moment I have a problem with Colyseus "Argument exception: An element with the same key already exist in the dictionary" at line 214 in Client.cs , the logs show that I left a room properly but apparently this.rooms of client.cs did not delete the key in the dictionary.
(It happens when I want to change rooms, I leave the room in progress then I join a new room, moreover the error does not trigger often and is rather random)

0_1546857482833_fb627d24-10f5-4028-a87d-db892b7dabc2-image.png
Thanks for help

posted in Questions & Help • 7 Jan 2019, 10:45
Bug Report - Client.cs + Suggestion fix

Hi, I discovered today a bug apparently already mentioned on other forum but no solution was found.
0_1534256093697_21a5ff34-cf8b-468e-b6ef-97ed2d4a3220-image.png
Colyseus/Client.cs : 88
0_1534256263328_6696875e-5ce8-4c5f-ac67-3b12d5515e82-image.png
I made some changes, and I have no problem, no more bug, could you validate this code and integrate it into the original code
0_1534256393107_6e68405f-5811-410d-bb09-357b7d14a7bf-image.png
Thanks

posted in Questions & Help • 14 Aug 2018, 14:20

© 2023 Endel Dreyer