Code Monkey home page Code Monkey logo

Comments (8)

natebosch avatar natebosch commented on July 18, 2024

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.

hariangr avatar hariangr commented on July 18, 2024

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.

asadbek-fayzulloev avatar asadbek-fayzulloev commented on July 18, 2024

Same error

from web_socket_channel.

devb avatar devb commented on July 18, 2024

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.

hariangr avatar hariangr commented on July 18, 2024

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

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.

devb avatar devb commented on July 18, 2024

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

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.

dewunmirokeeb avatar dewunmirokeeb commented on July 18, 2024

@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.

geryruslandi avatar geryruslandi commented on July 18, 2024

https://docs.flutter.dev/data-and-backend/networking
for anyone that still facing the issue

from web_socket_channel.

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.