Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IceGridGUI can't connect to IceGrid via Glacier2 (main) #2761

Closed
bernardnormier opened this issue Sep 20, 2024 · 3 comments
Closed

IceGridGUI can't connect to IceGrid via Glacier2 (main) #2761

bernardnormier opened this issue Sep 20, 2024 · 3 comments

Comments

@bernardnormier
Copy link
Member

Such a connection attempt hangs forever when using the "IceGrid/admin" test registry + router.

@pepone
Copy link
Member

pepone commented Sep 30, 2024

From my tests what I see is that the registration of the observers timeouts in

After this calls fails, the handling of TimeoutException hangs calling _communicator.destroy

"AWT-EventQueue-0" #22 [25107] prio=6 os_prio=31 cpu=880.27ms elapsed=369.69s tid=0x000000011c926200 nid=25107 in Object.wait()  [0x000000017446e000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait0([email protected]/Native Method)
	- waiting on <no object reference available>
	at java.lang.Object.wait([email protected]/Object.java:366)
	at java.lang.Object.wait([email protected]/Object.java:339)
	at com.zeroc.Ice.ConnectionI.waitUntilFinished(ConnectionI.java:241)
	- locked <0x000000061f727248> (a com.zeroc.Ice.ConnectionI)
	at com.zeroc.Ice.OutgoingConnectionFactory.waitUntilFinished(OutgoingConnectionFactory.java:88)
	at com.zeroc.Ice.Instance.destroy(Instance.java:1168)
	at com.zeroc.Ice.Communicator.destroy(Communicator.java:41)
	at com.zeroc.IceGridGUI.Coordinator.destroyCommunicator(Coordinator.java:3074)
	at com.zeroc.IceGridGUI.Coordinator.setConnected(Coordinator.java:3216)
	at com.zeroc.IceGridGUI.SessionKeeper$Session.close(SessionKeeper.java:264)
	at com.zeroc.IceGridGUI.SessionKeeper$Session.logout(SessionKeeper.java:174)
	at com.zeroc.IceGridGUI.SessionKeeper.logout(SessionKeeper.java:4973)
	at com.zeroc.IceGridGUI.SessionKeeper.lambda$loginSuccess$1(SessionKeeper.java:4696)
	at com.zeroc.IceGridGUI.SessionKeeper$$Lambda/0x00000070012a3a68.run(Unknown Source)
	at java.awt.event.InvocationEvent.dispatch([email protected]/InvocationEvent.java:308)

@pepone
Copy link
Member

pepone commented Sep 30, 2024

Wonder if this is related to #2595 and the workaround added here:

If my suspicious is correct the upCall for this requests is never decremented, and this will cause the connection waitUntilFinished call to wait for ever.

@pepone
Copy link
Member

pepone commented Oct 3, 2024

The registration of the observers was failing due to #2826, and the communicator destroy hang because #2595 was not yet fixed.

Both issues are now fixed.

@pepone pepone closed this as completed Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants