[ 
https://issues.apache.org/jira/browse/AIRAVATA-3002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16808809#comment-16808809
 ] 

Marcus Christie commented on AIRAVATA-3002:
-------------------------------------------

The oldest error in our api server logs for RegistryServiceDBEventHandler is:
{noformat}
2019-03-14 14:27:08,001 [pool-12-thread-11] ERROR 
o.a.a.r.a.s.m.RegistryServiceDBEventHandler  - Error processing message: 
org.apache.thrift.transport.TTransportException: java.net.SocketException: 
Connection timed out (Write failed)
org.apache.thrift.transport.TTransportException: java.net.SocketException: 
Connection timed out (Write failed)
        at 
org.apache.thrift.transport.TIOStreamTransport.flush(TIOStreamTransport.java:161)
        at org.apache.thrift.TServiceClient.sendBase(TServiceClient.java:73)
        at org.apache.thrift.TServiceClient.sendBase(TServiceClient.java:62)
        at 
org.apache.airavata.registry.api.RegistryService$Client.send_addUser(RegistryService.java:6910)
        at 
org.apache.airavata.registry.api.RegistryService$Client.addUser(RegistryService.java:6902)
        at 
org.apache.airavata.registry.api.service.messaging.RegistryServiceDBEventHandler.onMessage(RegistryServiceDBEventHandler.java:144)
        at 
org.apache.airavata.messaging.core.impl.MessageConsumer.handleDelivery(MessageConsumer.java:70)
        at 
com.rabbitmq.client.impl.ConsumerDispatcher$5.run(ConsumerDispatcher.java:144)
        at 
com.rabbitmq.client.impl.ConsumerWorkService$WorkPoolRunnable.run(ConsumerWorkService.java:99)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.SocketException: Connection timed out (Write failed)
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:155)
        at 
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
        at 
org.apache.thrift.transport.TIOStreamTransport.flush(TIOStreamTransport.java:159)
        ... 11 common frames omitted
{noformat}

For some reason it wasn't able to connect to the registry service. Just before 
the SharingServiceDBEventHandler reported a similar error:
{noformat}
2019-03-14 14:27:08,000 [pool-18-thread-11] INFO  
o.a.a.s.r.m.SharingServiceDBEventHandler  - New DB Event message to s
haring service.
2019-03-14 14:27:08,000 [pool-18-thread-11] INFO  
o.a.a.s.r.m.SharingServiceDBEventHandler  - DB Event message to shari
ng service from user.profile
2019-03-14 14:27:08,000 [pool-18-thread-11] INFO  
o.a.a.s.r.m.SharingServiceDBEventHandler  - User profile specific DB 
Event communicated by user.profile
2019-03-14 14:27:08,001 [pool-18-thread-11] ERROR 
o.a.a.s.r.m.SharingServiceDBEventHandler  - Error processing message.
org.apache.thrift.transport.TTransportException: java.net.SocketException: 
Connection timed out (Write failed)
        at 
org.apache.thrift.transport.TIOStreamTransport.flush(TIOStreamTransport.java:161)
        at org.apache.thrift.TServiceClient.sendBase(TServiceClient.java:73)
        at org.apache.thrift.TServiceClient.sendBase(TServiceClient.java:62)
        at 
org.apache.airavata.sharing.registry.service.cpi.SharingRegistryService$Client.send_isUserExists(SharingRegistryService.java:833)
        at 
org.apache.airavata.sharing.registry.service.cpi.SharingRegistryService$Client.isUserExists(SharingRegistryService.java:824)
        at 
org.apache.airavata.sharing.registry.messaging.SharingServiceDBEventHandler.onMessage(SharingServiceDBEventHandler.java:96)
        at 
org.apache.airavata.messaging.core.impl.MessageConsumer.handleDelivery(MessageConsumer.java:70)
        at 
com.rabbitmq.client.impl.ConsumerDispatcher$5.run(ConsumerDispatcher.java:144)
        at 
com.rabbitmq.client.impl.ConsumerWorkService$WorkPoolRunnable.run(ConsumerWorkService.java:99)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.SocketException: Connection timed out (Write failed)
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:155)
        at 
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
        at 
org.apache.thrift.transport.TIOStreamTransport.flush(TIOStreamTransport.java:159)
        ... 11 common frames omitted
{noformat}

Maybe a transient networking issue?

> Exception thrown when user clicks on Experiments in workspace while not been 
> in any of the user groups
> ------------------------------------------------------------------------------------------------------
>
>                 Key: AIRAVATA-3002
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-3002
>             Project: Airavata
>          Issue Type: Bug
>          Components: Django Portal
>    Affects Versions: 0.18
>         Environment: https://beta.simccs.org
>            Reporter: Eroma
>            Assignee: Marcus Christie
>            Priority: Major
>         Attachments: Screen Shot 2019-04-02 at 10.20.18 AM.png, Screen Shot 
> 2019-04-02 at 10.28.11 AM.png, Screen Shot 2019-04-02 at 10.28.19 AM.png
>
>
> # User used CILogon and in gateway workspace but not a member of any of the 
> existing groups yet. Currently gateway has gateway_user, admin-read-only and 
> admin user groups but this user is new and not in any of those.
>  # Exception attached is thrown, when clicked on experiments.
>  # The page link is [https://beta.simccs.org/workspace/experiments] TypeError 
> at /workspace/experiments
>  unhashable type: ‘AiravataSystemException’
>  Request Method: GET...........
>  # Please see the attachment
>  
>  # This user can also click 'Create new Parser" which should not be available 
> for this user. that also throws the 'Page Not found' error.
>  # In Admin space, the user can create credentials and also create group 
> resource profiles.
>  # All this can be done without being in any active group.
>  # Shouldn't these be restricted for this user?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to