by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Tobias Bouschen
    @tobous

    I just wanted to clarify it in general. :relaxed:

    We need the Server in order to keep everyone up to date with the latest version.

    Saros is generally not meant as a replacement for a version control system (like git) as it makes it hard to track changes over longer periods of time. But, if you still want to use it for code synchronization, don't let me keep you. :wink:

    @nudelchef Are you still having issues with building the server?

    Kim Kern
    @kiwikern
    Hi, thanks for the great project! :thumbsup: I wanted to try out the plugin in Webstorm, but I found it's officially disabled for other distributions than IntelliJ. Do I have to rebuild the project myself to allow Webstorm to work or can this be easily changed in the build artifact? This would be a great help for working in home office.
    Kelvin Glaß
    @m273d15

    Hi @kiwikern , thanks for trying our IntelliJ alpha.

    I wanted to try out the plugin in Webstorm, but I found it's officially disabled for other distributions than IntelliJ.

    It is currently disabled because we assume that there are subtle differences in the JetBrains IDEs. But in general, the plugin should be compatible with the other IDEs. If you try it, I would love to hear about your experiences (it would help to provide the plugin for all IntelliJ IDEs in the future).

    Do I have to rebuild the project myself to allow Webstorm to work or can this be easily changed in the build artifact?

    You can either:

    • Add the following lines to saros.intellij.zip/Saros/lib/saros.intellij.jar/META-INF/plugin.xml (you have to extract and re-zip the files) :

      <depends>com.intellij.modules.platform</depends>
      <depends>com.intellij.modules.lang</depends>
    • Or you use one of our nightly builds (not necessarily stable) which are installable in all IDEs. In order to find such a build, you can choose one build in our history (e.g. this).

    However, when using modified/nightly builds, please make sure that all of the session participants are using the same modified/nightly plugin version. In case you find a bug, please mention your modifications or the nightly version. BR

    Kelvin Glaß
    @m273d15
    Addition: here are the missing links: history and this (the example nightly build)
    Kim Kern
    @kiwikern
    Cool, thanks a lot, Kelvin! :thumbsup: I will give it a try!
    nudelchef
    @nudelchef
    @tobous sorry, didn't read my mails :p. Yes I'm still having issues building the server, but I think it's a raspberrypi related problem
    nudelchef
    @nudelchef
    "Saros is generally not meant as a replacement for a version control system (like git) as it makes it hard to track changes over longer periods of time" We are aware of that. But we also simply don't need any version control for what we are doing :)
    nudelchef
    @nudelchef
    @tobous could you send me a saros server jarfile, if you don't have any problems compiling it? That would be very kind.
    Kelvin Glaß
    @m273d15
    @nudelchef Hi, my previous answer should also work for you, we build all components for our current master branch. You can choose one build of our history e.g. this. However make sure that all users use the same nightly build (server and eclipse).
    nudelchef
    @nudelchef

    now I get the following error starting the server:

    INFORMATION: Loading providers for file [classpath:META-INF/extension.providers] DEBUG 16:01:52,894 [main] (XMPPConnectionService.java:424) started Socks5 proxy on port: 41827 [listening on all interfaces] DEBUG 16:01:52,898 [main] (XMPPConnectionService.java:441) using autodetected addresses: [192.168.99.15, fe80:0:0:0:24c9:9e5a:276e:6d35%eth0] DEBUG 16:01:52,912 [main] (XMPPConnectionService.java:384) new connection state == CONNECTING ERROR 16:01:53,702 [main] (XMPPConnectionService.java:386) new connection state == ERROR SASL authentication DIGEST-MD5 failed: not-authorized: at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:342) at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:243) at saros.net.xmpp.XMPPConnectionService.connect(XMPPConnectionService.java:266) at saros.communication.connection.ConnectionHandler.connectXMPPInternal(ConnectionHandler.java:219) at saros.communication.connection.ConnectionHandler.connect(ConnectionHandler.java:150) at saros.server.ServerLifecycle.connectToXMPPServer(ServerLifecycle.java:72) at saros.server.ServerLifecycle.initializeContext(ServerLifecycle.java:31) at saros.context.AbstractContextLifecycle.start(AbstractContextLifecycle.java:96) at saros.server.SarosServer.start(SarosServer.java:33) at saros.server.SarosServer.main(SarosServer.java:59) DEBUG 16:01:53,714 [saros-XMPPContactService-ContactsThread] (XMPPContactsService.java:432) updated null - NOT_CONNECTED DEBUG 16:01:53,859 [main] (XMPPConnectionService.java:384) new connection state == NOT_CONNECTED Exception in thread "main" java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011) at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006) at saros.session.internal.SarosSession.<init>(SarosSession.java:805) at saros.session.internal.SarosSession.<init>(SarosSession.java:210) at saros.session.SarosSessionManager.startSession(SarosSessionManager.java:260) at saros.server.ServerLifecycle.initializeContext(ServerLifecycle.java:32) at saros.context.AbstractContextLifecycle.start(AbstractContextLifecycle.java:96) at saros.server.SarosServer.start(SarosServer.java:33) at saros.server.SarosServer.main(SarosServer.java:59)

    the credentials should be right, as I just created the account
    Tobias Bouschen
    @tobous

    @nudelchef I just tried it with the most recent nightly and I am able to start the server without an issue. I am using the default command java -Dsaros.server.jid=max@mustermann.de -Dsaros.server.password=1234 -jar saros.server.jar (replacing the placeholder credentials) given in the guide for the Saros server on our website.

    Are you using our XMPP server (saros-con.imp.fu-berlin.de) or a different server?

    Tobias Bouschen
    @tobous
    If you are using our XMPP server, could you make sure that the account works (i.e. by connecting to it with a different Saros client or any XMPP client) and that you typed in the credentials correctly and then report back if the issue still persists? That would narrow down the potential causes of the issue.
    nudelchef
    @nudelchef
    I'm using the saros-con.imp.fu-berlin.de xmpp server.
    and eclipse itself is able to connect via the nightly build
    I found the issue. A firewall, that I didn't know of, was blocking the connection. Sorry for the inconvenience.
    Tobias Bouschen
    @tobous
    No worries. :relaxed: As long as it is working now.
    nudelchef
    @nudelchef
    can I bind saros to a specific port?
    right now it uses 5222 and 7777 for connecting to saros-con.imp.fu-berlin.de and to accept requests
    but a seemingly random high port for the further transfer
    nudelchef
    @nudelchef
    (which gets blocked by the firewall)
    Tobias Bouschen
    @tobous
    For Saros/E, you can set the port used for direct connections in the settings (under "Saros > Network" in the field "Network Establishment"). The default port is set to 7777 (no idea whether there is a specific reason for it). In Saros/I and the server, you currently don't have any way of accessing these settings.
    Tobias Bouschen
    @tobous
    If the current settings don't provide the customization you are looking for, you could consider opening a feature request describing the wanted functionality/customization in more detail.
    ChickenCoder
    @ChickenCoderGithub
    Did somebody fixed the issue that you cant reconnect to the server until it was restarted or should I open a Issue page on Github?
    Tobias Bouschen
    @tobous

    Did somebody fixed the issue that you cant reconnect to the server until it was restarted or should I open a Issue page on Github?

    No, I don't think anybody has had a look at that yet. We are working with limited resources and the Server is somewhat of a lower priority.

    Opening an issue for it would still be appreciated so that we can keep track of it, but I can't promise that we will get around to fixing it in the near future.

    Tucker Pettry
    @MrFantabulous
    Hello, I am trying to share my project via right clicking on the project and going to "Share Project" but when it asks which contact I want to share it with there is no one listed. If I try to share the project via right clicking on the contact, eclipse stops responding. Any idea on what could be causing this or what I can try?
    Tobias Bouschen
    @tobous

    Hello, I am trying to share my project via right clicking on the project and going to "Share Project" but when it asks which contact I want to share it with there is no one listed. If I try to share the project via right clicking on the contact, eclipse stops responding. Any idea on what could be causing this or what I can try?

    This sounds like an internal issue with Saros. Could you please open an issue for it so that we can analyze it in more detail?
    You can open a new issue here: https://github.com/saros-project/saros/issues/new/choose

    Tucker Pettry
    @MrFantabulous
    Yep, will do