Stucked in "checking login status"

Hi. About two months ago i paid for the quarterly subscription. I have about a month left and still haven´t been able to even start!!!. Needle Engine (project and export) is stucked at “Checking login Status”. I am using Win11 24h2, Uniti 2022.3.61f1 and latest unity integration. Am i doing anything wrong? it was supposed to be “very straight forward”. I checked the FACs, reinstalled, logged in the needle page and everything seems ok. I can log in the needle platform but still stucked there. Please i need help, i need to make it work and my three months are running out. In advance let me say that i already tried troubleshooting all the automated instructions like “check your internet connection” What can i do?

Hi!
Do you have any error logs in the console? Did you try restarting Unity?

Hello Felix. Thanks for answering and sorry to bother. Yes it returns this:

SocketException: No se puede establecer una conexiĂłn ya que el equipo de destino denegĂł expresamente dicha conexiĂłn.

System.Net.Sockets.SocketAsyncResult.CheckIfThrowDelayedException () (at <17c1853552e149c38adf7a327ade40e6>:0)
System.Net.Sockets.Socket.EndConnect (System.IAsyncResult asyncResult) (at <17c1853552e149c38adf7a327ade40e6>:0)
System.Net.WebConnection+<>c.<Connect>b__16_1 (System.IAsyncResult asyncResult) (at <17c1853552e149c38adf7a327ade40e6>:0)
System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) (at <a914fa9a61f4426cb02cfb4156a1024d>:0)
--- End of stack trace from previous location where exception was thrown ---
System.Net.WebConnection.Connect (System.Net.WebOperation operation, System.Threading.CancellationToken cancellationToken) (at <17c1853552e149c38adf7a327ade40e6>:0)
Rethrow as WebException: Error: ConnectFailure (No se puede establecer una conexiĂłn ya que el equipo de destino denegĂł expresamente dicha conexiĂłn.

ApplicationException: Can't reach local Needle License Server on port 8424 (). Please try again or restart Unity. If the issue persists please send a bugreport via the menu item "Needle Engine/Report a Bug". 


Inner exception: System.AggregateException: One or more errors occurred. (An error occurred while sending the request) ---> System.Net.Http.HttpRequestException: An error occurred while sending the request ---> System.Net.WebException: Error: ConnectFailure (No se puede establecer una conexiĂłn ya que el equipo de destino denegĂł expresamente dicha conexiĂłn.

Needle.Engine.Authentication.EnsureServerIsRunning (System.Boolean force, System.Boolean restart, System.Boolean allowLogs) (at ./Library/PackageCache/com.needle.engine-exporter@4.4.1/Common/Runtime/License/Authentication.cs:362)
Needle.Engine.Authentication.GetUserInformation () (at ./Library/PackageCache/com.needle.engine-exporter@4.4.1/Common/Runtime/License/Authentication.cs:462)
Needle.Engine.Authentication.Update (System.Boolean force) (at ./Library/PackageCache/com.needle.engine-exporter@4.4.1/Common/Runtime/License/Authentication.cs:149)
System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) (at <a914fa9a61f4426cb02cfb4156a1024d>:0)
UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () (at <5eddeaad60a14d8ab4eb3a7453824232>:0)
UnityEngine.UnitySynchronizationContext.Exec () (at <5eddeaad60a14d8ab4eb3a7453824232>:0)
UnityEngine.UnitySynchronizationContext.ExecuteTasks () (at <5eddeaad60a14d8ab4eb3a7453824232>:0)

BTW it also happened to me whe using the free version, That´s why i bought it really. I thought it would be a solution

Thanks, same question again – did you try restarting Unity? Also, which version of Unity + Needle are you using, and on which OS?

yes i restarted everything, even re installed unity. Using latest needle engine integration component, Unity 2022.3.61f1, win 11 24h2

Can you rightclick on any script and select “Recompile”?

We’ve seen cases where this happens but usually it means you’re in some corporate network with very strict rules (e.g. port 8424 not being accessible on the local machine). Is that the case?

yes that is the message i get. But i am using my home pc, no corporate network (i believe)… Just an enthusiast at home trying to experiment with webAR. I deactivated firewall just in case but didn´t help… "Can you rightclick on any script and select “Recompile”? : the project is totaly new. I have nothing yet. Is there anywhere i can acces a script and do that if it´s new? Im sorry for my ignorance. Been in 3D for very long but this is new to me

For my understanding – is the Validation Window (Menu > Needle Engine > Project Validation) all green?

I just fixed the EULA issue there

when i hit “Get a license” it sends me to the needle page again as if i had no licence

OK, so Node.js and npm look good. Then we’ll have to troubleshoot a bit more.
Can you

  • open a terminal
  • run this command: npx needle-cloud start-server
  • confirm if you’re asked, if necessary
  • post the console output here?

PS C:\Users\rrpis> npx needle-cloud start-server
Need to install the following packages:
needle-cloud@1.0.0
Ok to proceed? (y) y
npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm WARN deprecated node-domexception@1.0.0: Use your platform’s native DOMException instead
:check_mark: Server started on 8424

1 Like

And if you now click on “Login”, does it work? Your browser should open on http://localhost:8424 and tell you to log in.

Yes!!! I think you did tit Felix! I will give it a try now and come back if it fails or something. Many many thanks for your effective and inmediate support. :clap: (Im sorry i coulnd´t thank you that day, i wasn´t allowed to send more messages, But again thanks a lot)

1 Like