16,022,828 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Visual Basic questions
View Javascript questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by gsemerdz (Top 5 by date)
gsemerdz
18-Feb-24 11:48am
View
Unfortunately, everything is as you showed in your comment and the whitespace is still there..
gsemerdz
17-Feb-24 12:48pm
View
Tried that, yes it fixed the special characters issue, but still did not work. The error in the Terminal - "Not Found: /ws/chat_app/testUser's room/".
However, I have noticed something really weird, when I tried to access the URL that django runs on in my browser, I got the list of the URL patterns and the the WebSocket one looks really weird, any idea why? 'ws/ chat_app/<room_name>'. The whitespace between 'ws/' and 'chat_app'
gsemerdz
17-Feb-24 10:46am
View
The Django server runs only on HTTP, because if I try to run it on 'wss', the following error appears 'code 400, message Bad request version ('À\x13À')
You're accessing the development server over HTTPS, but it only supports HTTP.'. Anyways, I have changed the code in flutter to be passing the room name as you suggest, again I'm getting the not found error: ""GET /ws/chat_app/testUser's%20room/ HTTP/1.1" 404 4423". Then I tried with keeping the same code in django as the one in the actual question, but instead in Flutter, I have provided the 'room.uniqueID'. Again without success - '"GET /ws/chat_app/3wVCio/ HTTP/1.1" 404 4379'
gsemerdz
16-Feb-24 10:34am
View
"allowing all origin CORS in my project", I mean allowing it in my Django project, adding it in my Django settings.py
gsemerdz
16-Feb-24 9:17am
View
I just saw it as a solution in another thread for similar to my problem, however with or without the CORS configuration, the issue I have is the same