Comments (8)
Is this flutter? It likely has to do with your permissions or similar. We don't really have the expertise to help with that here, you'd get better help from the flutter team.
https://github.com/flutter/flutter/issues/29688
from web_socket_channel.
IT DOES ACTUALLY FIXED IT!!!
Like how? internet permission is ON by default on debug mode or something?
But I think I don't need to have this permission just to access internet in the past? I don't get it
The important thing is, now it works
*Sorry for my late reply, got busy with college
from web_socket_channel.
Same error
from web_socket_channel.
IT DOES ACTUALLY FIXED IT!!! Like how? internet permission is ON by default on debug mode or something?
But I think I don't need to have this permission just to access internet in the past? I don't get it
The important thing is, now it works
*Sorry for my late reply, got busy with college
How did you solve it Hari?? Please suggest as I'm facing the same issue.. Socket as well as this Agora both are working fine in debug mode but not in release mode.
Thanks
from web_socket_channel.
IT DOES ACTUALLY FIXED IT!!! Like how? internet permission is ON by default on debug mode or something?
But I think I don't need to have this permission just to access internet in the past? I don't get it
The important thing is, now it works
*Sorry for my late reply, got busy with collegeHow did you solve it Hari?? Please suggest as I'm facing the same issue.. Socket as well as this Agora both are working fine in debug mode but not in release mode. Thanks
Sorry I dont quite remember it since it has been awhile. But internet permission is in fact on by default in DEBUG mode while it is not in RELEASE.
I would suggest you to add internet permission to android manifest xml file in release folder of android. If that doesnt work make sure your websocket is behind HTTPS. (I believe Android block http by default now). I think theres clearText option somewhere to force allow http
from web_socket_channel.
IT DOES ACTUALLY FIXED IT!!! Like how? internet permission is ON by default on debug mode or something?
But I think I don't need to have this permission just to access internet in the past? I don't get it
The important thing is, now it works
*Sorry for my late reply, got busy with collegeHow did you solve it Hari?? Please suggest as I'm facing the same issue.. Socket as well as this Agora both are working fine in debug mode but not in release mode. Thanks
Sorry I dont quite remember it since it has been awhile. But internet permission is in fact on by default in DEBUG mode while it is not in RELEASE.
I would suggest you to add internet permission to android manifest xml file in release folder of android. If that doesnt work make sure your websocket is behind HTTPS. (I believe Android block http by default now). I think theres clearText option somewhere to force allow http
But, the other data from APIs are coming properly.. only the socket is not working.. will that be INTERNET permission issue still?? what do you say?
from web_socket_channel.
@devb were you able to resolve this issue, i am currently facing the same issue, i have already added permission to allow internet in android manifest
from web_socket_channel.
https://docs.flutter.dev/data-and-backend/networking
for anyone that still facing the issue
from web_socket_channel.
Related Issues (20)
- web_socket_channel ^2.4.2依然没有支持web0.3.0 HOT 1
- Socket connection for self signed certificate
- While I can introduce web_socket_channel into dart, iOS won't be able to call this package
- Web version websocket doesn't work, but ios does HOT 4
- websocket is not connecting
- Add feature HOT 1
- Auto invoke onDown method to close websocket. HOT 1
- Specifying 'protocols' (Sec-WebSocket-Protocol header) causes connection to close.
- HTML: When the WebSocket is in a 'pending' state, calling channel.sink.close does not work. HOT 2
- Masking is not cryptographically secure HOT 1
- I tried to connect with localhost 8081 port but its connect with diffrent port HOT 2
- FormatException: Unexpected character
- Simplify the web_socket_channel implementation HOT 5
- Message received in wrong order
- Support MSGPACK HOT 1
- Any problems with WebSocketChannel.connect under iOS 17.5 beta (or earlier)? HOT 3
- 🐛 RangeError (code): Invalid value: Not in inclusive range 3000..4999: 1000 after updating to 3.0.0 from 2.4.0 HOT 6
- Missing tags for 2.4.5 and 3.0.0
- Conflict package build_runner versions HOT 1
- Documentation for the 3.x migration HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from web_socket_channel.