java.net.SocketException: Connection reset by peer: socket write error
Hello, - Collaborator Enterprise v13.2.13200 Server - Collaborator client v12.4.12400 - SCM system is configured to PTC Integrity The PTC Integrity change package has 96 new files and 48 updated files The total size of the files is rather small ~ 4.2 MB When creating a review from ccollabgui.exe, when executing command ccollab addchangelist, the following java exception is raised. Please see the two attached files for more error details. ERROR: Executing command `ccollab addchangelist`: Error occurred: ERROR: Executing command `ccollab addchangelist`: java.io.IOException: java.net.SocketException: Connection reset Error occurred: java.io.IOException: java.net.SocketException: Connection reset com.smartbear.collaborator.client.exceptions.CollabClientException: java.io.IOException: java.net.SocketException: Connection reset Error occurred: com.smartbear.collaborator.client.exceptions.CollabClientException: java.io.IOException: java.net.SocketException: Connection reset at com.smartbear.collaborator.json.api.AbstractApi.sendBatch(AbstractApi.java:95) .... .... javax.net.ssl.SSLException: java.net.SocketException: Connection reset Error occurred: javax.net.ssl.SSLException: java.net.SocketException: Connection reset at sun.security.ssl.Alert.createSSLException(Unknown Source) Error occurred: at sun.security.ssl.Alert.createSSLException(Unknown Source) at sun.security.ssl.TransportContext.fatal(Unknown Source) Error occurred: at sun.security.ssl.TransportContext.fatal(Unknown Source) at sun.security.ssl.TransportContext.fatal(Unknown Source) Error occurred: at sun.security.ssl.TransportContext.fatal(Unknown Source) at sun.security.ssl.TransportContext.fatal(Unknown Source) Error occurred: at sun.security.ssl.TransportContext.fatal(Unknown Source) at sun.security.ssl.SSLSocketImpl.handleException(Unknown Source) Error occurred: at sun.security.ssl.SSLSocketImpl.handleException(Unknown Source) at sun.security.ssl.SSLSocketImpl.access$400(Unknown Source) Error occurred: at sun.security.ssl.SSLSocketImpl.access$400(Unknown Source) at sun.security.ssl.SSLSocketImpl$AppInputStream.read(Unknown Source) Processing change 12345678:1. Suppressed: java.net.SocketException: Connection reset by peer: socket write error at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(Unknown Source) at java.net.SocketOutputStream.write(Unknown Source) at sun.security.ssl.SSLSocketOutputRecord.encodeAlert(Unknown Source) ... 36 more4KViews0likes1CommentUnable to add files for review using P4 plugin
I've recently set up my mac for code reviewing using p4v for file syncing/ changelists and ccollab for the review platform. Versions are: MacOS - 10.15.7 Perforce - P4V/MACOSX1015X86_64/2020.1/1966006 ccollab client - 13_1_13100 Via the coollabgui app, I have the SCM verified and connected with no errors. I am unable to add pending changelists for review, but I can add submitted changelists. What's more is I'm able to submit files for review by manually uploading them through the web client. The big headache comes when I attempt to use the smartbear custom tool that installation builds into P4V. Attempting to right-click and add any changelist results in the following error: No SCM Configuration could be determined Cannot run program "p4" (in directory "/Applications/ccollab_client/ccollabgui.app"): error=2, No such file or director I have reviewed the following other topics and found no solutions: https://community.smartbear.com/t5/Collaborator/quot-No-SCM-could-be-determined-quot-p4-plugin-does-not-work-out/td-p/173012 https://community.smartbear.com/t5/Collaborator/Config-p4-plugin-on-Mac/m-p/44317 Any ideas? It's looking like this could be a potential bug.Solved2.6KViews0likes2CommentsAccessing internalCustomFields for Triggers in Collaborator
Hello world, I can use the http://collaborator.server/services/json/v1 API with the following JSON body to get data about a review. [ { "command" : "ReviewService.findReviewById", "args" : { "reviewId" : "42" } }] Specifically, it includes the following internalCustomFields key: "internalCustomFields" : [ { "name" : "JiraIssueId", "value" : [ "10600" ] }, { "name" : "ExternalTaskId", "value" : [ "" ] } ] I would like to use this JiraIssueId field for a review as an argument to one of the configurable Triggers (say Review Phase Changed for example). Does anyone know how I would access this internal field? I know I can use ${review.custom.foo} for visible custom fields that I create, but the internal custom fields are not documented in the http://collaborator.server/manual/index.html?admin_var_subst.html documentation. I've tried ${review.internal.JiraIssueId}, ${review.internalCustomFields.JiraIssueId}, and ${review.custom.JiraIssueId} but none of them work (giving me the following error) Error: Invalid input: Parameters: ${review.internalCustom.JiraIssueId} is not a valid substitution keyword Thanks for any help! Best, ~Chris2.1KViews0likes1CommentAssign Review Pool JSON API
Hello, I'm trying to use the JSON API to assign a review pool to a role in a review here is my call: {"command": "ReviewService.assignReviewPool", "args" : { "reviewId" : "123" "assignment" : { "poolGuid" : "123456abcdef" "role" : "REVIEWER" } }} And this is the response it returns: {"errors": [{"code": "ReviewPoolNotFound", "message": "No review pool assignments with Group guid "123456abcdef" and Role REVIEWER were found in Review 123, or the given user does not have the right group membership to get that assignment"}]} I've double checked the group guid and the role, both seem to be correct. I'm also pretty sure I should have the correct permissions to execute this, I am able to assign the group to the role from within the GUI Is there something wrong with how I am making this call? Thanks!1.3KViews1like2CommentsHow to access review files vai JSON or the CLI Client
I have a case where I need to run a 3-rd party tool in order to provide a textual diff of some binary files. Files are stored in Bitbucket and a Collaborator review is created when a pull request is made. I'd like to insert the textual diff as a file into the peer review, triggered by the Added File Trigger. In that trigger, I'd need to get all the files that were added, identify which ones were the custom binary files and then download the last two versions and send it to the 3-rd party diff tool. The result of that diff will be added as a new file into the reivew. I will potentially need to scan old reviews or reviews where the Added File Trigger failed to add the diff, and so a JSON or cli client solution would be ideal, rather than just relying upon the Added File Trigger variable substitutions. I've been unable to identify any way of getting a list of files via JSON or the CLI client, nor any JSON or CLI client commands to retrive files. Does anybody have any suggestions on how to accomplish this? Theoretically, if I had enough information, I could go to git and collect data from it, however, the files already exist on the Collaborator server, and having to download the git repository for every changeset / Added File Trigger seems excessive. Thank you1.3KViews0likes0CommentsSome reviews stopped on the loading screen.
Hello Some reviews stopped on the loading screen. 2021-12-20 08:32:09,991 INFO http-nio-8080-exec-9 com.smartbear.ccollab.rpc.RpcGwtServlet$GwtInvocationHandler - Error invoking java.lang.NullPointerException: Name is null at java.lang.Enum.valueOf(Enum.java:236) at com.smartbear.ccollab.datamodel.RemoteSystemReviewRelation$Type.valueOf(RemoteSystemReviewRelation.java:19) at com.smartbear.ccollab.datamodel.RemoteSystemReviewRelation.getRelationType(RemoteSystemReviewRelation.java:153) at com.smartbear.ccollab.datamodel.RemoteSystemReviewRelation.isPullRequest(RemoteSystemReviewRelation.java:136) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174) at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1359) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464) at com.smartbear.ccollab.datamodel.Review.getPullRequestRelation(Review.java:5134) at com.smartbear.ccollab.datamodel.Review.isCreatedByPR(Review.java:5125) at com.smartbear.ccollab.datamodel.Review.getChangelists(Review.java:3028) at com.smartbear.ccollab.datamodel.Review.getChangelists(Review.java:3042) at com.smartbear.ccollab.datamodel.Review.getChangelists(Review.java:3046) at com.smartbear.ccollab.datamodel.client.unversioned.impl.UnversionedReviewSummaryServerDMFactory.getHidedFilesCount(UnversionedReviewSummaryServerDMFactory.java:757) at com.smartbear.ccollab.datamodel.client.unversioned.impl.UnversionedReviewSummaryServerDMFactory.<init>(UnversionedReviewSummaryServerDMFactory.java:138) at com.smartbear.ccollab.service.impl.unversioned.UnversionedClientApiImpl.getReviewSummaryEverythingButFiles(UnversionedClientApiImpl.java:648) at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.smartbear.ccollab.rpc.RpcGwtServlet$GwtInvocationHandler.invoke(RpcGwtServlet.java:437) at com.smartbear.util.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:28) at com.sun.proxy.$Proxy71.getReviewSummaryEverythingButFiles(Unknown Source) at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.smartbear.ccollab.service.impl.ServerNotInitializedExceptionProxy.invoke(ServerNotInitializedExceptionProxy.java:45) at com.smartbear.util.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:28) at com.smartbear.ccollab.rpc.RpcGwtServlet$LoggingInvocationHandler.invoke(RpcGwtServlet.java:1178) at com.smartbear.util.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:28) at com.smartbear.ccollab.rpc.RpcGwtServlet$TimingInvocationHandler.invoke(RpcGwtServlet.java:1237) at com.smartbear.util.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:28) at com.sun.proxy.$Proxy71.getReviewSummaryEverythingButFiles(Unknown Source) at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.smartbear.ccollab.service.impl.ExposeExceptionsProxy.invoke(ExposeExceptionsProxy.java:29) at com.sun.proxy.$Proxy71.getReviewSummaryEverythingButFiles(Unknown Source) at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:587) Does anyone know what the problem is?1.3KViews0likes1CommentProgress on Chat UI Improvements from 2012 StackOverflow Complaints
Have you done anything to improve chat and navigation to individual messages since this 2012 assessment: https://stackoverflow.com/a/9281843/11321442 ? If the product owners do not already have a vision for improving chat UI, then my main request would be to just completely imitate Github's chat feature set - threaded, inline, hideable comments using a modern UI toolkit.1.3KViews0likes1CommentExtracting SVN revisions used in a review
Generally speaking,we create our reviews based on specific SVN revisions. Is there a way to extract what SVN revisions are included in a review? It appears like this information is simply not stored as part of the detailed information of a review. We're using CC v9.3.9300. Ultimately, I'm looking to create a script that compares SVN revisions against reviews so that I can determine which revisions have not been reviewed.1.2KViews0likes0Commentsusername discrepancy between ldap, sso and git result in "not participating" error
Hello, We have collaborator13.6.13601 enterprise, and recently a few users that have a specific prefix in their username in ldap, are not assigned a role on a review, instead they get "not participating", see screenshot. in ldap the user is `t_foo`, where "t_" denotes a contractor/temporary employee If we go into the user admin section and rename the user to "t-foo" to match what Github uses, the old "t_foo" user is recreated in Collaborator automatically, and the user still cannot be assigned to a review properly. Most of our users have the username convention "<lastname><f>"1.2KViews0likes0Comments