SDC issue

59 views
Skip to first unread message

ocas...@logos-its.com

unread,
Dec 19, 2012, 10:17:27 AM12/19/12
to googl...@googlegroups.com
Dear all,

I'm trying to setup the SDC on my side and it seems that I have an error when I establish a connection. Moreover, it seems in the log that I'm able to login. I receive an error the step after, and this error deals with handshake. I was wondering if it either this problem could come from my config or if SDC server were unreachable today?  

Here is my log (with masked data) 

1st part:

19 déc. 2012 16:08:37,359 [com.google.dataconnector.protocol.FrameSender] DEBUG com.google.dataconnector.protocol.FrameSender  - sending frame type: AUTHORIZATION
19 déc. 2012 16:08:37,609 [main] DEBUG com.google.dataconnector.protocol.FrameReceiver  - Start byte: 42
19 déc. 2012 16:08:37,937 [main] DEBUG com.google.dataconnector.protocol.FrameReceiver  - Magic: beefcake
19 déc. 2012 16:08:37,938 [main] DEBUG com.google.dataconnector.protocol.FrameReceiver  - sequence: 0
19 déc. 2012 16:08:37,938 [main] DEBUG com.google.dataconnector.protocol.FrameReceiver  - payload length: 61
19 déc. 2012 16:08:37,939 [main] DEBUG com.google.dataconnector.protocol.FrameReceiver  - payload: [B@e4c6320
19 déc. 2012 16:08:37,939 [main] DEBUG com.google.dataconnector.protocol.FrameReceiver  - frame:
sequence: 0
type: AUTHORIZATION
payload: "\n)secure-data-c...@mydomain.com(\0012\bSuccess."

19 déc. 2012 16:08:37,939 [main] DEBUG com.google.dataconnector.protocol.FrameReceiver  - frame type recevd: AUTHORIZATION
19 déc. 2012 16:08:37,940 [main] INFO  com.google.dataconnector.client.SdcConnection  - Successful login
19 déc. 2012 16:08:37,954 [main] INFO  com.google.dataconnector.registration.v4.Registration  - Sending resources info


2nd part (after successfull login)

19 déc. 2012 16:08:37,957 [com.google.dataconnector.protocol.FrameSender] DEBUG com.google.dataconnector.protocol.FrameSender  - sending frame type: REGISTRATION
19 déc. 2012 16:08:37,960 [main] INFO  com.google.dataconnector.util.SdcKeysManager  - Adding rule for Pair[localhost, 80]
19 déc. 2012 16:08:37,960 [main] INFO  com.google.dataconnector.util.SdcKeysManager  - Adding rule for Pair[localhost, 57780]
19 déc. 2012 16:08:37,962 [main] DEBUG com.google.dataconnector.util.SdcKeysManager  - key: 596556967250610198,Pair[localhost, 57780]

19 déc. 2012 16:08:37,962 [main] DEBUG com.google.dataconnector.util.SdcKeysManager  - key: -4942766661220170177,Pair[localhost, 80]

19 déc. 2012 16:08:37,962 [main] DEBUG com.google.dataconnector.util.SdcKeysManager  - key: 970946838311501856,Pair[anIPhere, 80]

19 déc. 2012 16:08:37,962 [main] INFO  com.google.dataconnector.client.SdcConnection  - starting a thread to watch resources file
19 déc. 2012 16:08:37,963 [com.google.dataconnector.client.HealthCheckHandler] INFO  com.google.dataconnector.client.HealthCheckHandler  - healthcheck config is not yet received from the SDC server. will check again in 5 sec
19 déc. 2012 16:08:38,237 [main] DEBUG com.google.dataconnector.protocol.FrameReceiver  - Start byte: -1
19 déc. 2012 16:08:38,238 [main] FATAL com.google.dataconnector.client.Client  - Connection failed.
com.google.dataconnector.util.ConnectionException: com.google.dataconnector.protocol.FramingException: Unexpected frame start read
at com.google.dataconnector.client.SdcConnection.connect(SdcConnection.java:188)
at com.google.dataconnector.client.Client.startup(Client.java:119)
at com.google.dataconnector.client.Client.startup(Client.java:94)
at com.google.dataconnector.client.Client.main(Client.java:177)
Caused by: com.google.dataconnector.protocol.FramingException: Unexpected frame start read
at com.google.dataconnector.protocol.FrameReceiver.readFrame(FrameReceiver.java:109)
at com.google.dataconnector.protocol.FrameReceiver.startDispatching(FrameReceiver.java:75)
at com.google.dataconnector.client.SdcConnection.connect(SdcConnection.java:184)
... 3 more
19 déc. 2012 16:08:38,241 [main] INFO  com.google.dataconnector.util.ShutdownManager  - Issued shutdown for com.google.dataconnector.util.HealthCheckRequestHandler
19 déc. 2012 16:08:38,241 [main] INFO  com.google.dataconnector.util.ShutdownManager  - Issued shutdown for com.google.dataconnector.client.JsocksStarter
19 déc. 2012 16:08:38,241 [com.google.dataconnector.util.HealthCheckRequestHandler] WARN  com.google.dataconnector.util.HealthCheckRequestHandler  - Healthcheck service IOException
java.net.SocketException: socket closed
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:408)
at java.net.ServerSocket.implAccept(ServerSocket.java:462)
at java.net.ServerSocket.accept(ServerSocket.java:430)
at com.google.dataconnector.util.HealthCheckRequestHandler.run(HealthCheckRequestHandler.java:93)
19 déc. 2012 16:08:38,241 [com.google.dataconnector.protocol.FrameSender] INFO  com.google.dataconnector.protocol.FrameSender  - Sending frames shutting down
java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:1961)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1996)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:399)
at com.google.dataconnector.protocol.FrameSender.run(FrameSender.java:148)
19 déc. 2012 16:08:38,241 [main] INFO  com.google.dataconnector.util.ShutdownManager  - Issued shutdown for com.google.dataconnector.protocol.FrameSender
19 déc. 2012 16:08:38,242 [main] INFO  com.google.dataconnector.util.ShutdownManager  - Issued shutdown for com.google.dataconnector.client.HealthCheckHandler
19 déc. 2012 16:08:38,243 [main] INFO  com.google.dataconnector.util.ShutdownManager  - Issued shutdown for com.google.dataconnector.client.SdcConnection
19 déc. 2012 16:08:38,243 [com.google.dataconnector.client.HealthCheckHandler] WARN  com.google.dataconnector.client.HealthCheckHandler  - Health check sender interrupted. Exiting.
19 déc. 2012 16:08:38,243 [com.google.dataconnector.client.ResourcesFileWatcher] INFO  com.google.dataconnector.client.ResourcesFileWatcher  - Shutting down.
java.lang.InterruptedException: sleep interrupted
at java.lang.Thread.sleep(Native Method)
at com.google.dataconnector.util.SystemUtil.sleep(SystemUtil.java:34)
at com.google.dataconnector.client.ResourcesFileWatcher.run(ResourcesFileWatcher.java:132)
19 déc. 2012 16:08:38,244 [com.google.dataconnector.client.ResourcesFileWatcher] INFO  com.google.dataconnector.client.ResourcesFileWatcher  - FileWatcher thread exiting. Any changes in resources file will require restarting agent manually.
19 déc. 2012 16:08:38,243 [main] INFO  com.google.dataconnector.util.ShutdownManager  - Issued shutdown for com.google.dataconnector.client.ResourcesFileWatcher



Thnaks in advance

Olivier C.
Reply all
Reply to author
Forward
0 new messages