These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Eve Alliance Auth - Open Source

First post First post
Author
Subsparx
Crimson Serpent Syndicate
#261 - 2015-12-02 21:50:59 UTC
I know Slack has API's, is it possible to get Slack integration for this as an alternative to Jabber? I'm not sure if the Slack API's would support this. Jabber is starting to show it's age and it's just clunky to work with and Slack support would get a lot more activity on the external communication front.

CEO of Crimson Serpent Syndicate - www.crimsonserpent.com

Chairman of Heiian Conglomerate - www.heiian.com

Owner of FWC - www.factionwarfare.com

Adarnof
Kingsparrow Wormhole Division
Birds of Prey.
#262 - 2015-12-02 21:52:51 UTC
Subsparx wrote:
I know Slack has API's, is it possible to get Slack integration for this as an alternative to Jabber? I'm not sure if the Slack API's would support this. Jabber is starting to show it's age and it's just clunky to work with and Slack support would get a lot more activity on the external communication front.


But but Discord? My poor wrists?

Yeah I can poke at it.
Subsparx
Crimson Serpent Syndicate
#263 - 2015-12-02 22:00:16 UTC
Hahaha. There are already API's to add accounts to Slack. I think the issue comes when somebody leaves and you want to remove the account. That's what I gathered from some other forum threads. There isn't a rush here if you want to work on other projects.

Discord is interesting. I'm playing with that right now. It's missing a lot of features that TeamSpeak has, but it also has a lot of features that TeamSpeak does not (like limiting who can join a channel by actual users instead of just a numbered access permission).

I'm not 100% sure I could migrate to something like Discord for my voice comms. Slack serves a more specific role, which would replace Jabber, hence my interest in it.

https://zapier.com/zapbook/eve-online/slack/

This might give you an idea of the things people have done with it so far, but I haven't seen anyone creating a robust user creation/removal system, just things like sending out automatic push notifications for events like low fuel, reinforcement, etc, which is very awesome.

CEO of Crimson Serpent Syndicate - www.crimsonserpent.com

Chairman of Heiian Conglomerate - www.heiian.com

Owner of FWC - www.factionwarfare.com

Subsparx
Crimson Serpent Syndicate
#264 - 2015-12-02 22:03:22 UTC
Somebody also made a plugin for SeAT to Slack. I'll look in to that, because if that works, then your upcoming plan of having AUTH make SeAT accounts automatically might be all that's needed for my particular use scenario. Would save you some time.

CEO of Crimson Serpent Syndicate - www.crimsonserpent.com

Chairman of Heiian Conglomerate - www.heiian.com

Owner of FWC - www.factionwarfare.com

Adarnof
Kingsparrow Wormhole Division
Birds of Prey.
#265 - 2015-12-02 22:12:33 UTC
Argus Sorn
Star Frontiers
Brotherhood of Spacers
#266 - 2015-12-05 08:23:39 UTC
So new problem to troubleshoot.

Finally getting ready to make everyone move to mumble. I noticed accounts are being created just fine, and when I check the DB, and look under murmur_group_members people are being assigned to the appropriate groups.

Mumble on the other hand doesn't seem to know people are in these groups unless I assign manually. Meaning, they won't be allowed access to channels that they should be as "members" until I manually add them to the members list.

So basically their accounts are being created, the db seems to know they are members, and mumble knows they are a registered user, but mumble doesn't seem to accept them as members.

Seems odd, open to any thoughts?
Argus Sorn
Star Frontiers
Brotherhood of Spacers
#267 - 2015-12-05 15:38:40 UTC
Argus Sorn wrote:
So new problem to troubleshoot.

Finally getting ready to make everyone move to mumble. I noticed accounts are being created just fine, and when I check the DB, and look under murmur_group_members people are being assigned to the appropriate groups.

Mumble on the other hand doesn't seem to know people are in these groups unless I assign manually. Meaning, they won't be allowed access to channels that they should be as "members" until I manually add them to the members list.

So basically their accounts are being created, the db seems to know they are members, and mumble knows they are a registered user, but mumble doesn't seem to accept them as members.

Seems odd, open to any thoughts?



I tried restarting the celery processes and I am pretty sure they are running. I have one account I used for a test in "empty" others don't get assigned anywhere.
Adarnof
Kingsparrow Wormhole Division
Birds of Prey.
#268 - 2015-12-05 17:49:18 UTC
Argus Sorn wrote:
So new problem to troubleshoot.

Finally getting ready to make everyone move to mumble. I noticed accounts are being created just fine, and when I check the DB, and look under murmur_group_members people are being assigned to the appropriate groups.

Mumble on the other hand doesn't seem to know people are in these groups unless I assign manually. Meaning, they won't be allowed access to channels that they should be as "members" until I manually add them to the members list.

So basically their accounts are being created, the db seems to know they are members, and mumble knows they are a registered user, but mumble doesn't seem to accept them as members.

Seems odd, open to any thoughts?


I've never solved this one myself. Group assignments will only take effect if you restart the mumble server. I assume there's some caching going on somewhere but google hasn't been very helpful.

Kaezon said he's never experienced this, it's worth taking it up with him.
Argus Sorn
Star Frontiers
Brotherhood of Spacers
#269 - 2015-12-06 10:12:04 UTC  |  Edited by: Argus Sorn
Will do. Does he check this forum regularly? We've chatted in game some...

Oddly a handful of people were on the member list, despite no known server restart. We aren't supposed to have any special mumble-server.ini settings right?


EDIT:

I looked a bit further and groups don't seem to be updating to ipboard right either. New people are getting listed as "members" but secondary groups are listed as "empty" and new groups ar being formed. I restarted the celery processes yesterday.

Is there anything I could have done or needs to be changed after the last upgrade? Does it matter if the celery processes are started using the 'allianceserver' account vs. root? I will take a look at my settings.py file when I get home...
Adarnof
Kingsparrow Wormhole Division
Birds of Prey.
#270 - 2015-12-06 19:35:09 UTC
Argus Sorn wrote:
Will do. Does he check this forum regularly? We've chatted in game some...

Oddly a handful of people were on the member list, despite no known server restart. We aren't supposed to have any special mumble-server.ini settings right?


EDIT:

I looked a bit further and groups don't seem to be updating to ipboard right either. New people are getting listed as "members" but secondary groups are listed as "empty" and new groups ar being formed. I restarted the celery processes yesterday.

Is there anything I could have done or needs to be changed after the last upgrade? Does it matter if the celery processes are started using the 'allianceserver' account vs. root? I will take a look at my settings.py file when I get home...


All you need to change in mumble-server.ini is the database settings.

Can you check the Sync Group Caches and see if the ones for these members are being created? The last update added additional logic to sync group cache handling which could have broken something.
Argus Sorn
Star Frontiers
Brotherhood of Spacers
#271 - 2015-12-07 04:09:32 UTC
They are not being created. Django puts them in the groups under users but no caches are made.
Adarnof
Kingsparrow Wormhole Division
Birds of Prey.
#272 - 2015-12-07 04:32:58 UTC
Argus Sorn wrote:
They are not being created. Django puts them in the groups under users but no caches are made.


Try this:
python manage.py shell
from celerytask.tasks import run_databaseUpdate
run_databaseUpdate()


If that hangs, you'll have to restart the server. But at least I'll know it's not a fluke. I've had another guy reporting sync group issues.
Argus Sorn
Star Frontiers
Brotherhood of Spacers
#273 - 2015-12-07 05:13:53 UTC
Adarnof wrote:
Argus Sorn wrote:
They are not being created. Django puts them in the groups under users but no caches are made.


Try this:
python manage.py shell
from celerytask.tasks import run_databaseUpdate
run_databaseUpdate()


If that hangs, you'll have to restart the server. But at least I'll know it's not a fluke. I've had another guy reporting sync group issues.


Took a bit and then gave me:
Segmentation fault
Adarnof
Kingsparrow Wormhole Division
Birds of Prey.
#274 - 2015-12-07 05:20:56 UTC
Argus Sorn wrote:
Took a bit and then gave me:
Segmentation fault


Oh that's a good error! /s

Looks like some digging is in order. I smell an infinite loop.
Argus Sorn
Star Frontiers
Brotherhood of Spacers
#275 - 2015-12-08 06:13:12 UTC
This is more of a mumble thing than an AA thing but noticed something odd (maybe it is related somehow)...

So I wanted to set a non-registered user pw for mumble, so I went and hit the ini file and edited it, to set the line:

serverpassword= MYPW

Here is the odd part:

My mumble-server.ini file doesn't seem to be setting a pw for my server, but instead is applying said password to a a server on port 64739. My server (the one AA is using) is applying an older pw THINK I had set on a prior installation of mumble.

I can't even get into the 64739 server as a superuser.

Any thoughts?
Subsparx
Crimson Serpent Syndicate
#276 - 2015-12-09 19:39:56 UTC
Ever since the Discord update (at least that's when I noticed it), AUTH now makes multiple connections a second to the TeamSpeak server query even when there are no changes to be made, racking the CPU up to 100%. I actually tested giving the VM more CPU and it just connected even faster.

http://imgur.com/Oe0WLpa

Any thoughts on what is causing this? I haven't pulled your latest commit yet so I'm curious if that resolves the issue. It says it targets Discord but with the infinite loop going on with TeamSpeak I'm wondering if it's a similar loop.

CEO of Crimson Serpent Syndicate - www.crimsonserpent.com

Chairman of Heiian Conglomerate - www.heiian.com

Owner of FWC - www.factionwarfare.com

Kaezon Rio
School of Applied Knowledge
Caldari State
#277 - 2015-12-09 21:16:11 UTC
Aye. Looks like we're talking to the TS server too much. I'll look at it tonight if Adarnof doesn't beat me too it.
Adarnof
Kingsparrow Wormhole Division
Birds of Prey.
#278 - 2015-12-09 22:27:11 UTC
Kaezon Rio wrote:
Aye. Looks like we're talking to the TS server too much. I'll look at it tonight if Adarnof doesn't beat me too it.


Am in the lab for a few more hours, race you when I get home.

Here's a hint.
Adarnof
Kingsparrow Wormhole Division
Birds of Prey.
#279 - 2015-12-10 02:57:47 UTC
Subsparx wrote:
Ever since the Discord update (at least that's when I noticed it), AUTH now makes multiple connections a second to the TeamSpeak server query even when there are no changes to be made, racking the CPU up to 100%. I actually tested giving the VM more CPU and it just connected even faster.

http://imgur.com/Oe0WLpa

Any thoughts on what is causing this? I haven't pulled your latest commit yet so I'm curious if that resolves the issue. It says it targets Discord but with the infinite loop going on with TeamSpeak I'm wondering if it's a similar loop.


Just pushed a fix. Let me know if you keep seeing these problems.
Subsparx
Crimson Serpent Syndicate
#280 - 2015-12-10 20:22:03 UTC
Unfortunately it still does it. I rebooted the server as well to make sure celery wasn't still running the old cron job.

CEO of Crimson Serpent Syndicate - www.crimsonserpent.com

Chairman of Heiian Conglomerate - www.heiian.com

Owner of FWC - www.factionwarfare.com