Comments (32)
Ok, are you comfortable running the app in Xcode? That way I can get useful logs that might help with the issue. Alternatively, you can look into the console logs and filter by Swiftcord, but it tends to get drowned in the flood of logs.
from swiftcord.
@Melonking906 joining the discord server here would allow me to respond to you faster, important for debugging!
from swiftcord.
I'll close the issue in a few day's time if there's no more input from @Melonking906, with the assumption the issue is now resolved.
from swiftcord.
No more input was received from the OP - closing the issue.
from swiftcord.
Log:
Error when receiving: The operation couldn’t be completed. (kNWErrorDomainPOSIX error 57 - Socket is not connected)
Perhaps it is caused by proxy. Maybe add custom proxy address setting would solve this, because of the GFW. I think that the app network traffic default not through ClashX or other proxy app.
from swiftcord.
Yeah, this log happens all the time when the internet connection isn't available. Could you see if it works without your proxy enabled?
from swiftcord.
Yeah, this log happens all the time when the internet connection isn't available. Could you see if it works without your proxy enabled?
No, it couldn't work.
from swiftcord.
Yeah, this log happens all the time when the internet connection isn't available. Could you see if it works without your proxy enabled?
My location is in China, so I even couldn't connect to the Discord server by official client.
from swiftcord.
Yeah, this log happens all the time when the internet connection isn't available. Could you see if it works without your proxy enabled?
And I read the proxy log. It said it went through the proxy. (Now the proxy is enabled.) I think it shouldn't be proxy's wrong.
from swiftcord.
Ok, I see. What proxy are you using, and does it work if you use the discord client in a browser?
from swiftcord.
Ok, I see. What proxy are you using, and does it work if you use the discord client in a browser?
I'm using ClashX and the subscription is from cloud.faster.buzz
. It works fine in discord client using Safari.
from swiftcord.
Could you use the built in proxy settings in macOS to connect to your proxy? It might work that way.
from swiftcord.
Ok, I see. What proxy are you using, and does it work if you use the discord client in a browser?
I have seen this kind of problem before while using Infuse. Perhaps it is caused by ClashX. Because it also worked fine if I turned off ClashX or using other proxy app.
from swiftcord.
Could you use the built in proxy settings in macOS to connect to your proxy? It might work that way.
My current macOS setting had enabled proxy.
from swiftcord.
Could you use the built in proxy settings in macOS to connect to your proxy? It might work that way.
Maybe I can try to use other proxy app.
from swiftcord.
Normally, native apps should follow the system proxy setting, but I might be wrong. I'll keep this issue open for input from other contributors.
from swiftcord.
Normally, native apps should follow the system proxy setting, but I might be wrong. I'll keep this issue open for input from other contributors.
Ok, thank you, and I'm going to try to use other proxy app. If it worked, I'll tell you.
from swiftcord.
Normally, native apps should follow the system proxy setting, but I might be wrong. I'll keep this issue open for input from other contributors.
I'm wrong, it was not the issue of ClashX. I changed another proxy app call QV2ray, it still stuck on Establishing Gateway connection.
from swiftcord.
Ok. Firstly what swiftcord version are you using? Next, are there any interesting thing in the log that might tell us why it can't open a web socket connection?
from swiftcord.
Ok. Firstly what swiftcord version are you using? Next, are there any interesting thing in the log that might tell us why it can't open a web socket connection?
It’s 0.4.0. And I only found the error I showed before. Let me check what is in front of that error.
from swiftcord.
I don't know which log is usefulOk. Firstly what swiftcord version are you using? Next, are there any interesting thing in the log that might tell us why it can't open a web socket connection?
from swiftcord.
Could you run it from Xcode? That would give better logs. Also the logs that aren't errors are important too, so do not just filter by errors.
from swiftcord.
Could you run it from Xcode? That would give better logs. Also the logs that aren't errors are important too, so do not just filter by errors.
Ok, I'm fetching dependencies.
from swiftcord.
Could you run it from Xcode? That would give better logs. Also the logs that aren't errors are important too, so do not just filter by errors.
It's a little bit hard for me to fetch dependencies I think. I don't know why the package manager is that slow.
from swiftcord.
Could it be because of your proxy? It fetches in a few seconds for me
from swiftcord.
Could it be because of your proxy? It fetches in a few seconds for me
It should be the proxy problem. Never solved. The same when I was programming iOS app.
from swiftcord.
I am proxying my macOS network through my iPhone and having the same issue.
from swiftcord.
@EvanLuo42 As I'm unable to reproduce both your situation and this bug, I can't work on a potential fix. I'll mark this won't fix for now, but if someone can provide more detailed logs on what's going on or tell me how I can reproduce it, I'll take a look at it.
from swiftcord.
@0ihsan Hi! can i get more details like the version of swiftcord youre using, as well as logs relevant to the issue?
from swiftcord.
Sorry, I didn’t explain in a clear way. I’m going to explain it more to help you setup my network environment. I’ll send you a email with my proxy address and how to connect.
from swiftcord.
@EvanLuo42 Ah no worries. You can send it to my GitHub email, or thru a Discord DM.
from swiftcord.
@EvanLuo42 Lets move this to a discussion so I can close this issue.
from swiftcord.
Related Issues (20)
- [Enhancement]: Ventura-styled Settings
- [Bug]: Opening Settings crashes Swiftcord HOT 1
- [Bug]: Drag and Drop doesn't work HOT 1
- [Enhancement]: Clean cache feature in Settings HOT 4
- [Bug]: Channel list scrollbar too large HOT 1
- [Bug]: in app update doesn't find latest release HOT 3
- [Bug]: Uploads above 8MB not accepted HOT 1
- [Enhancement]: Option to display server name alongside the icon HOT 7
- [Bug] Folder popover opening cancels server mask animation HOT 4
- [Bug]: Settings icons and search bar are cut-off HOT 5
- [Bug]: the <New> red line in DM's pops up when I message. HOT 2
- [Enhancement]: Render Mentions HOT 2
- [Bug]: Stuck logging in HOT 22
- [Enhancement]: missing shift+enter functionality HOT 1
- [Bug]: Stuck after login - Nitro Basic HOT 3
- [Enhancement]: iOS port HOT 2
- [Bug]: Having UI layout overlaps HOT 1
- [Bug]: Won't load HOT 13
- [Bug]: Window caption bar layout broken HOT 5
- [Bug]: Loads infinitely after logging in HOT 27
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 swiftcord.