Pages: 1 2 3 [4] 5 6 7 8 9 10 11 12 13 14 15 16 .. 16 :: one page |
|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |
Shin Chogan
Blueprint Haus Get Off My Lawn
24
|
Posted - 2013.12.06 07:17:00 -
[91] - Quote
vigilliann wrote:Seems that is not the solution to my problem. the groups are visible in SMF, the user service is correctly configured because we can create new user with the URL : for example : hostname:port/plugins/userService/userservice?type=add&secret=passexample&username=testalamain&password=test&name=MonsieurTest& [email protected]&groups=Camarade Am I missing something here?
You say the groups are visible ... do you have any mappings defined ? |
vigilliann
Komintern.
0
|
Posted - 2013.12.06 10:25:00 -
[92] - Quote
the rules you mean in SMF? if it's that, yeah it's activated.
the allowed ip's are blank and in mode 'accept' so normally it will accept all the connections no?
how is transfered the request to userservice? |
Konpi Masai
Komintern.
0
|
Posted - 2013.12.06 10:33:00 -
[93] - Quote
Hello there.
First thank you for maintaining the API and providing support, very good job here.
The openfire server is configured correctly, I even tested the URL generated from another host and it worked.
I think the problem is that CURL seems to fail on our hosting service. We have submitted a ticket about this, we'll keep you posted. |
Shin Chogan
Blueprint Haus Get Off My Lawn
24
|
Posted - 2013.12.06 10:36:00 -
[94] - Quote
vigilliann wrote:the rules you mean in SMF? if it's that, yeah it's activated.
the allowed ip's are blank and in mode 'accept' so normally it will accept all the connections no?
how is transfered the request to userservice?
It's just a curl call. Is SMF and Openfire on the same box ?
Try doing a packet trace on the Openfire Box and seing if you are seeing the user service being hit.
Have you a user that has gone to index.php?action=profile;area=tea;sa=jabber and selected a user and a password ? ... unless they do that no user will be created.
Only other thing I can suggest is you give me some logon details and I'll take a quick look. |
Konpi Masai
Komintern.
0
|
Posted - 2013.12.06 10:42:00 -
[95] - Quote
Shin Chogan wrote: It's just a curl call. Is SMF and Openfire on the same box ?
Nope. In fact, OpenFire runs on Machine A and use mysql on Machine B. SMF runs on Machine B (third party hosting service, no dedicated machine), connects to Machine B Openfire DB and tries to call curl on openfire admin page on Machine A.
Shin Chogan wrote: Try doing a packet trace on the Openfire Box and seing if you are seeing the user service being hit.
Have you a user that has gone to index.php?action=profile;area=tea;sa=jabber and selected a user and a password ? ... unless they do that no user will be created.
Only other thing I can suggest is you give me some logon details and I'll take a quick look.
I've put addtional error logs in TEA and it goes to the point where the curl call is made but fails silently after 120 secs. |
Dasani Waters
Obstergo Red Coat Conspiracy
19
|
Posted - 2013.12.13 19:18:00 -
[96] - Quote
Just an FYI:
I think CCP recently changed the "403 - Forbidden" messages to more specific error messages; I got php errors when trying to validate empty or invalid keyIDs and vcodes. I managed to fix some of them by changing the "403 - Forbidden" arguments to their specific counterparts in TEAC.php |
Inara Talamasca
Meridian Inc Subspace Exploration Agency
0
|
Posted - 2013.12.15 16:40:00 -
[97] - Quote
Just installed SMF2.0.6 and TEA 1.3.1 r4 and have had some issues.. I've worked through some, but, a couple I cannot get by without some help.
- SMF wouldn't accept the zip file of the mod via the upload built in.. I had to ftp it up, and then unzip it in the /Packages directory. This allowed it to install from inside SMF. I also needed to copy the TS3_Class/ dir by hand to /Sources
- Not sure what API to use for our Alliance in the main config of TEA.
- Base Admin account loses admin privs.. because it has no API. Probably by cron check. a reset php script fixes this temporarily.
- Users cannot register because of the "select a character" requirement, even with "Is a Valid Api required to Register? " set to disabled/no. if you enter a single character or false API, it will tell you in the error message, a proper one will tell you to select a character.
The API function -IS- working, just the fetch characters button is doing nothing. For the admin account, I tested adding an API without selecting a character, and saving it, then opening it again and was able to select a character without a problem.
Logging out and trying to register again still fails; same lame/dead fetch character button, blank drop down. No errors, same behaviour in firefox, chrome, IE.
Also changed the API server to: http://community.eveonline.com/support/api-key/ since the other links were https, and, double redirected to this URL. an https link may also be fine, but, I was reading about prople having trouble with curl and ssl. Testing curl by hand revealed the redirects to me, actually. The fetch button didn't work with any of the urls used, but the test on the admin account worked fine with this one.
Thanks for any help you can give. |
Dasani Waters
Obstergo Red Coat Conspiracy
19
|
Posted - 2013.12.15 18:44:00 -
[98] - Quote
what kind of error messages do you get with setting the API server to its default?
Did you try disabling SSL with the default server before changing its location? |
Shin Chogan
Blueprint Haus Get Off My Lawn
24
|
Posted - 2013.12.15 20:00:00 -
[99] - Quote
Inara Talamasca wrote:Just installed SMF2.0.6 and TEA 1.3.1 r4 and have had some issues.. I've worked through some, but, a couple I cannot get by without some help.
- SMF wouldn't accept the zip file of the mod via the upload built in.. I had to ftp it up, and then unzip it in the /Packages directory. This allowed it to install from inside SMF. I also needed to copy the TS3_Class/ dir by hand to /Sources
Errr ... never seen that one before so Can't really help.
Quote:
- Not sure what API to use for our Alliance in the main config of TEA.
Put in a corp key for your exec corp ... you need to be able to get the standings.
Quote: - Base Admin account loses admin privs.. because it has no API. Probably by cron check. a reset php script fixes this temporarily.
untick the main and additional boxes next to administrator on the rules page.
Quote: - Users cannot register because of the "select a character" requirement, even with "Is a Valid Api required to Register? " set to disabled/no. if you enter a single character or false API, it will tell you in the error message, a proper one will tell you to select a character.
That checkbox removes the requirement for a API key to register. ie you can completely leave out the api key ... if you enter one it has to be valid
Quote:The API function -IS- working, just the fetch characters button is doing nothing. For the admin account, I tested adding an API without selecting a character, and saving it, then opening it again and was able to select a character without a problem. ... Also changed the API server to: http://community.eveonline.com/support/api-key/ since the other links were https, and, double redirected to this URL. an https link may also be fine, but, I was reading about prople having trouble with curl and ssl. Testing curl by hand revealed the redirects to me, actually. The fetch button didn't work with any of the urls used, but the test on the admin account worked fine with this one. Thanks for any help you can give.
The url in the API server Box must be https://api.eveonline.com anything else and it will not work correctly. Well actually that isn't quite true ... if you have set up some kind of Eve API cache server then you'd put that in here instead but the likely hood of that is fairly slim :)
If you are installing on Linux then there is no problem with curl and https the problem only exists on windows since PHP doesn't ship with the Root CA's and it can't access the ones in Internet Explorer ... to work around this find :
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
and add after it :
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
|
Shin Chogan
Blueprint Haus Get Off My Lawn
24
|
Posted - 2013.12.15 20:02:00 -
[100] - Quote
Dasani Waters wrote:Just an FYI:
I think CCP recently changed the "403 - Forbidden" messages to more specific error messages; I got php errors when trying to validate empty or invalid keyIDs and vcodes. I managed to fix some of them by changing the "403 - Forbidden" arguments to their specific counterparts in TEAC.php
Yeah ... I've rewritten it to take into account the complete 180 that CCP did on error codes. I've been working out the kinks on my victims ... sorry volunteers ... nope still not right ... subjects ... thats more like it
I just need to get some time to put it into a release. |
|
Inara Talamasca
Meridian Inc Subspace Exploration Agency
0
|
Posted - 2013.12.15 21:57:00 -
[101] - Quote
Changing the admin rule I missed, so that is set. thank you.
The "Get Characters" button is still not functional, though. I changed back the api URL, tested adding a key to admin and that worked fine, so it isn't the url. Nor the curl, as it is a up to date linux server.
I never received error messages from curl, nor do I receive any feedback at all pressing the "Get character" button , but it is hitting the server, popping up a log entry with every press (*******=removed data):
[15/Dec/2013:12:37:18 -0900] "GET /TEA/TEA_xmlhttp.php?userid=*************api=********* HTTP/1.1" 404 - "http://*******/index.php?action=register" "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko"
This same key is the one that pulls characters up fine on the existing admin account, once you save it and refresh page. But, the obvious functionality of having people in the alliance register using keys won't work like this. We very much want to require the api key for login, and, while registering with no key works, the field is still there, and people won't know to leave it blank and add it after.. plus it defeats the api key first feature. |
Inara Talamasca
Meridian Inc Subspace Exploration Agency
0
|
Posted - 2013.12.15 22:31:00 -
[102] - Quote
I fixed the "Get characters" it relates back to the half-install of the mod. I copied the TEA/ folder from the mod instal in Packages/ to the base of the SMF folder.
Just to be clear, where should all the other files go, as I don't see a map for them.. so I can double check what needs to be where.. ie in the root , Sources, etc. |
Magenta Flori
Royal Amarr Institute Amarr Empire
0
|
Posted - 2013.12.16 04:03:00 -
[103] - Quote
Any way to make it not accept people with an incorrect access mask? I have seen it take an API, only show one char, say incorrect mask in SMF/Tea but still gives them access. |
Shin Chogan
Blueprint Haus Get Off My Lawn
24
|
Posted - 2013.12.16 11:11:00 -
[104] - Quote
Magenta Flori wrote:Any way to make it not accept people with an incorrect access mask? I have seen it take an API, only show one char, say incorrect mask in SMF/Tea but still gives them access.
I added access mask checking in the last (or possibly the one before that) release. find function checkmask($xml) in TEA.php and modify to suit your needs ... if you don't care if they've put in a key that will break some of the rule checking then the quick way is to change the line :
return False;
to
return True;
if you don't want them to have to put in an account key then find the if statement in TEA.php :
if ($accnt->result[0]->key[0]['type']!="Account")
and comment out the whole block. There are 3 of them
|
Magenta Flori
Royal Amarr Institute Amarr Empire
0
|
Posted - 2013.12.16 13:54:00 -
[105] - Quote
Sweet, I can see how easy it would be also to require a full api if I wanted to so it could be checked more thoroughly if needed.
thanks |
Ya Huei
Imperial Collective
130
|
Posted - 2013.12.16 19:29:00 -
[106] - Quote
Hi there,
First off, awesome package I've managed to hook up SMF auth and openfire without too much trouble yesterday. I have one question though:
In my rules for forum groups I have added one main rule defining that if you are in corp u go to a certain group.
However this doesnt seem to work
Rules on additional groups DO work however.
This is the only rule i have set up in main groups :
ID 3 RULE IS => Corp: 883901493 (Imperial Collective) groupname AND (enable flag checked)
In my case, additional rules throw me in the director group no problem, but main stays 'not monitored'
Hope someone can assist.
|
Shin Chogan
Blueprint Haus Get Off My Lawn
24
|
Posted - 2013.12.16 21:44:00 -
[107] - Quote
Ya Huei wrote:Hi there,
First off, awesome package I've managed to hook up SMF auth and openfire without too much trouble yesterday. I have one question though:
In my rules for forum groups I have added one main rule defining that if you are in corp u go to a certain group.
However this doesnt seem to work
Rules on additional groups DO work however.
This is the only rule i have set up in main groups :
ID 3 RULE IS => Corp: 883901493 (Imperial Collective) groupname AND (enable flag checked)
In my case, additional rules throw me in the director group no problem, but main stays 'not monitored'
Hope someone can assist.
Check that the primary group is checked for both the group that you want to put them in (groupname) AND the group that they are already in, probably no membergroup but it could be something else. |
The Mec
Pandora Industrial Contero Regnum
2
|
Posted - 2013.12.16 22:03:00 -
[108] - Quote
any chance this could be ported to xenforo forums? |
Sirius Loc
NOVEC. Avaricious Cartel
0
|
Posted - 2013.12.19 19:47:00 -
[109] - Quote
Hi,
i have installed today the TEA v1.3.1 r4 now when i try to register an new user with the api!
But when i try to use "Get Characters" nothing happen?!
any idea?!
greetings
Diplomat Sirius Loc Avaricious Cartel [AVA] |
Shin Chogan
Blueprint Haus Get Off My Lawn
24
|
Posted - 2013.12.19 21:22:00 -
[110] - Quote
Sirius Loc wrote:Hi,
i have installed today the TEA v1.3.1 r4 now when i try to register an new user with the api i have some problems....
when i fill in the api and i use "Get Characters" nothing happen?!
any idea?!
Sorry I'm going to need little more. What OS are you running on ? Any kind of errors being displayed ? Have you entered a master api key ? |
|
Sirius Loc
NOVEC. Avaricious Cartel
0
|
Posted - 2013.12.19 22:05:00 -
[111] - Quote
Shin Chogan wrote:Sirius Loc wrote:Hi,
i have installed today the TEA v1.3.1 r4 now when i try to register an new user with the api i have some problems....
when i fill in the api and i use "Get Characters" nothing happen?!
any idea?! Sorry I'm going to need little more. What OS are you running on ? Any kind of errors being displayed ? Have you entered a master api key ?
Hi,
i work on smf 2.0.6 and i have no errors nothing.... and yes i have as well tryed a master api key but nothing happens when i get on "get characters" when i try to register without get character i get the message "A Valid API is Required to Register on this Forum" but i have tried a master api key as well ?!!?!
greetings
Diplomat Sirius Loc Avaricious Cartel [AVA] |
Shin Chogan
Blueprint Haus Get Off My Lawn
24
|
Posted - 2013.12.20 20:43:00 -
[112] - Quote
Sirius Loc wrote:Shin Chogan wrote:Sirius Loc wrote:Hi,
i have installed today the TEA v1.3.1 r4 now when i try to register an new user with the api i have some problems....
when i fill in the api and i use "Get Characters" nothing happen?!
any idea?! Sorry I'm going to need little more. What OS are you running on ? Any kind of errors being displayed ? Have you entered a master api key ? Hi, i work on smf 2.0.6 and i have no errors nothing.... and yes i have as well tryed a master api key but nothing happens when i get on "get characters" when i try to register without get character i get the message "A Valid API is Required to Register on this Forum" but i have tried a master api key as well ?!!?!
So you do get an error message :) - A Valid API is Required to Register on this Forum.
This means that your system is not fetching a character list from your api ... either it isn't allowed to coz your api key is wrong/expired or your system is not able to fetch anything ... you didn't say what OS you are using ... if it is Windows then you will need to turn off SSL Peer checking ... there is a post somewhere in this thread that says how. |
Sirius Loc
NOVEC. Avaricious Cartel
0
|
Posted - 2013.12.22 11:57:00 -
[113] - Quote
Shin Chogan wrote:Sirius Loc wrote:Shin Chogan wrote:Sirius Loc wrote:Hi,
i have installed today the TEA v1.3.1 r4 now when i try to register an new user with the api i have some problems....
when i fill in the api and i use "Get Characters" nothing happen?!
any idea?! Sorry I'm going to need little more. What OS are you running on ? Any kind of errors being displayed ? Have you entered a master api key ? Hi, i work on smf 2.0.6 and i have no errors nothing.... and yes i have as well tryed a master api key but nothing happens when i get on "get characters" when i try to register without get character i get the message "A Valid API is Required to Register on this Forum" but i have tried a master api key as well ?!!?! So you do get an error message :) - A Valid API is Required to Register on this Forum. This means that your system is not fetching a character list from your api ... either it isn't allowed to coz your api key is wrong/expired or your system is not able to fetch anything ... you didn't say what OS you are using ... if it is Windows then you will need to turn off SSL Peer checking ... there is a post somewhere in this thread that says how.
Windows and apachi....
and i geht this message now
standings api returning invalid xml There is a problem fetching Standings : int(9999)
but i cant find how i can change it
Die AVA sucht Corporations meldet euch bei-á
High Diplomat Sirius Loc Avaricious Cartel [AVA] |
Shin Chogan
Blueprint Haus Get Off My Lawn
24
|
Posted - 2013.12.22 16:23:00 -
[114] - Quote
Sirius Loc wrote:Shin Chogan wrote:Sirius Loc wrote:Shin Chogan wrote:Sirius Loc wrote:Hi,
i have installed today the TEA v1.3.1 r4 now when i try to register an new user with the api i have some problems....
when i fill in the api and i use "Get Characters" nothing happen?!
any idea?! Sorry I'm going to need little more. What OS are you running on ? Any kind of errors being displayed ? Have you entered a master api key ? Hi, i work on smf 2.0.6 and i have no errors nothing.... and yes i have as well tryed a master api key but nothing happens when i get on "get characters" when i try to register without get character i get the message "A Valid API is Required to Register on this Forum" but i have tried a master api key as well ?!!?! So you do get an error message :) - A Valid API is Required to Register on this Forum. This means that your system is not fetching a character list from your api ... either it isn't allowed to coz your api key is wrong/expired or your system is not able to fetch anything ... you didn't say what OS you are using ... if it is Windows then you will need to turn off SSL Peer checking ... there is a post somewhere in this thread that says how. Windows and apachi.... and i geht this message now API System Screwed - Can't Fetch Standings : bool(false) There is a problem fetching Standings : int(9999)
When do you see this ?
have you made the changes not do ssl peer checking ? this is essential on windows Do you have a master api key added ? |
Shin Chogan
Blueprint Haus Get Off My Lawn
24
|
Posted - 2013.12.23 11:01:00 -
[115] - Quote
And a slightly early Xmas Present for you all r5 released.
- Now should work properly again with CCP's error codes.
- SSL Peer Checking disabled
- Debug option added to TEA_Cron.php (just do php TEA_Cron.php debug on the command line - don't do this via cron ;)) to show which users it has operated on and which groups (just the group id) they have been added to via the TEA rules.
|
Sarion Achasse
Aspertia Dynamics Greater Western Co-Prosperity Sphere
0
|
Posted - 2013.12.29 18:24:00 -
[116] - Quote
Would it be possible to allow users in a specific SMF usergroup to register TS and Jabber accounts?
Ideally I would like to give a specific group access to TS and Jabber, without the need for an API key. People that stopped playing Eve or friends from other games for example, that still would like to hang out on the same TS and Jabber servers. |
Shin Chogan
Blueprint Haus Get Off My Lawn
49
|
Posted - 2013.12.31 19:34:00 -
[117] - Quote
Sarion Achasse wrote:Would it be possible to allow users in a specific SMF usergroup to register TS and Jabber accounts?
Ideally I would like to give a specific group access to TS and Jabber, without the need for an API key. People that stopped playing Eve or friends from other games for example, that still would like to hang out on the same TS and Jabber servers.
In short not as it stands ... though at least for jabber you can just create accounts and add them to groups directly on the server
|
Magenta Flori
Royal Amarr Institute Amarr Empire
0
|
Posted - 2014.01.03 01:50:00 -
[118] - Quote
Can you help me understand what process is supposed to kick people from TS with invalid names? I have it set but it just is not doing anything. |
Magenta Flori
Royal Amarr Institute Amarr Empire
0
|
Posted - 2014.01.04 16:13:00 -
[119] - Quote
Still trying to sort out why it is giving access to people with incorrect access masks. They have an incorrect mask but it still matches them to a group because they have "enough" access via the API even though it is not the "correct" mask. Is there a way to force it to be the exact access mask or have their account removed with the dbcleanup? It is supposed to do this now? |
Shin Chogan
Blueprint Haus Get Off My Lawn
49
|
Posted - 2014.01.04 20:21:00 -
[120] - Quote
Magenta Flori wrote:They have an incorrect mask but it still matches them to a group because they have "enough" access via the API even though it is not the "correct" mask. Is there a way to force it to be the exact access mask or have their account removed with the dbcleanup? It is supposed to do this now?
Is there an easy way to just remove everyone with invalid apis?
dbcleanup just removes orphaned characters and api keys.
In TEA.php find the block that starts :
if (!$this->checkmask($accnt))
and after $error = TRUE; add :
Continue;
this should then skip doing the rule checks against api keys that don't match the mask.
|
|
|
|
|
Pages: 1 2 3 [4] 5 6 7 8 9 10 11 12 13 14 15 16 .. 16 :: one page |
First page | Previous page | Next page | Last page |