authentication-unity icon indicating copy to clipboard operation
authentication-unity copied to clipboard

Don´t working with my Website Address (SocketException: The requested address is not valid in the context.)

Open nickolas52468 opened this issue 2 years ago • 3 comments
trafficstars

I try to Put my own site address (valid) to Validity Login, but, just with a localhost link works , any valid (public) link it´s not valid, and show this error. SocketException: The requested address is not valid in the context.


System.Net.Sockets.Socket.Bind (System.Net.EndPoint localEP) (at <bbae6af52a2a4bd982f8fde9721d2c3b>:0)
System.Net.EndPointListener..ctor (System.Net.HttpListener listener, System.Net.IPAddress addr, System.Int32 port, System.Boolean secure) (at <bbae6af52a2a4bd982f8fde9721d2c3b>:0)
System.Net.EndPointManager.GetEPListener(System.String host, System.Int32 port, System.Net.HttpListener listener, System.Boolean secure) (at <bbae6af52a2a4bd982f8fde9721d2c3b>:0)
System.Net.EndPointManager.RemovePrefixInternal(System.String prefix, System.Net.HttpListener listener) (at <bbae6af52a2a4bd982f8fde9721d2c3b>:0)
System.Net.EndPointManager.RemoveListener (System.Net.HttpListener listener) (at <bbae6af52a2a4bd982f8fde9721d2c3b>:0)
System.Net.HttpListener.Close (System.Boolean force) (at <bbae6af52a2a4bd982f8fde9721d2c3b>:0)
System.Net.HttpListener.System.IDisposable.Dispose() (at <bbae6af52a2a4bd982f8fde9721d2c3b>:0)
Cdm.Authentication.Browser.StandaloneBrowser.StartAsync (System.String loginUrl, System.String redirectUrl, System.Threading.CancellationToken cancelationToken) (in Library/PackageCache/com.cdm.authentication@0ec72dcc62/Runtime/Browser/StandaloneBrowser.cs:49 )
CDM.Authentication.brow.crossplatFormBrowser.startasync (System.String Loginurl, System.String Redirecturl, System.threading.CancellatiToken CancelatiToken) Runtime/browser/crossplatformbrowser.cs: 24 )
Cdm.Authentication.OAuth2.AuthenticationSession.AuthenticateAsync (System.Threading.CancellationToken cancelToken) (in Library/PackageCache/com.cdm.authentication@0ec72dcc62/Runtime/OAuth2/AuthenticationSession.cs:65)```

nickolas52468 avatar Jul 26 '23 12:07 nickolas52468

Could you write your configuration? Are you sure your website is configured corretly? This error seems to be a problem with your website address.

ibrahimpenekli avatar Jul 26 '23 12:07 ibrahimpenekli

i have the same problem as him,it works only with http local servers,change it to https secure website domains and it will not work

Juinromero18 avatar Mar 16 '24 12:03 Juinromero18