sta / sta/websocket-sharp

Socket Exception when try to connect with server. (Google Sign in)

Open
#490 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
6.1k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

System.Net.Sockets.SocketException: Connection refused
09-28 14:58:57.339 12048 12128 E Unity : at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP, Boolean requireSocketPolicy) [0x00000] in :0
09-28 14:58:57.339 12048 12128 E Unity : at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x00000] in :0
09-28 14:58:57.339 12048 12128 E Unity : at System.Net.Sockets.TcpClient.Connect (System.Net.IPEndPoint remote_end_point) [0x00000] in :0
09-28 14:58:57.339 12048 12128 E Unity : at System.Net.Sockets.TcpClient.Connect (System.Net.IPAddress[] ipAddresses, Int32 port) [0x00000] in :0

Facing this issue if logged in with Google for facebook is working fine.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Google sign-in flow in Unity and compare it with the working Facebook flow. Trace the connection endpoint and port reported by the SocketException; done means Google sign-in connects successfully without the connection-refused error.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, unity
Domain
authentication, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.