[Solved] You are not authorized to access ALiVE War Room

  1. 8 years ago

    Hi,

    first of all sorry for my poor english language abilitys. But i will try my best! :)

    Ok lets start. We have some issues with connecting to the war room database.
    I now startet to try it with the "Altis Template #4" for testing reason.
    Normaly we would like to add a mission we created on ower own. But first i like to test.

    Last year we had already a mission running which was able to connect to the war room.
    Then after a long pause we setup a new server so we got a new ip adress.
    In the Group Setting I have deleted the old Server entry and start over with a new Server with its new IP.
    (Ok later on i deleted the group and created a new one with new tag, because of thinking beeing blacklisted or something)

    But RPT still giving:

    19:09:41 ALiVE [m_0|30] Module ALiVE_sys_data INIT
    19:09:42 ALIVE_SYS_DATA START PLUGIN: ["StartALiVE","ERROR","You are not authorized to access ALiVE War Room with this account. Check IP and Groupname."]
    19:09:42 ALiVE SYS_DATA - GROUP NAME: SGCom
    19:09:42 ALiVE SYS_DATA_COUCHDB - READ DATA: SendJSON ['GET','sys_data/config','']
    19:09:42 ALiVE SYS_DATA_COUCHDB - READ DATA RESPONSE: {"_id":"config","_rev":"17-cb3b551a259c7ac29b81f0dc4cadba6c","On":"true","EventLevel":5,"PerfData":"true","EventData":"true","MissionData":null,"AAR":"false"}
    
    19:09:42 ALiVE SYS_DATA_COUCHDB - RESTORE DATA BEGIN:
    19:09:42  ------------------ Inspecting Hash -------------------- 
    19:09:42    k [0]: _id v: config
    19:09:42    k [1]: _rev v: 17-cb3b551a259c7ac29b81f0dc4cadba6c
    19:09:42    k [2]: On v: true
    19:09:42    k [3]: EventLevel v: 5
    19:09:42    k [4]: PerfData v: true
    19:09:42    k [5]: EventData v: true
    19:09:42    k [6]: MissionData v: null
    19:09:42    k [7]: AAR v: false
    19:09:42  ------------------ Inspection Complete -------------------- 
    19:09:42 ALiVE SYS_DATA_COUCHDB - RESTORE DATA END:
    19:09:42  ------------------ Inspecting Hash -------------------- 
    19:09:42    k [0]: _id v: config
    19:09:42    k [1]: _rev v: 17-cb3b551a259c7ac29b81f0dc4cadba6c
    19:09:42    k [2]: On v: true
    19:09:42    k [3]: EventLevel v: 5
    19:09:42    k [4]: PerfData v: true
    19:09:42    k [5]: EventData v: true
    19:09:42    k [6]: MissionData v: 
    19:09:42    k [7]: AAR v: false
    19:09:42  ------------------ Inspection Complete -------------------- 
    19:09:42 ALiVE SYS_DATA_COUCHDB - READ DATA RESULT: ["#CBA_HASH#",["_id","_rev","On","EventLevel","PerfData","EventData","MissionData","AAR"],["config","17-cb3b551a259c7ac29b81f0dc4cadba6c","true","5","true","true","","false"],any]
    19:09:42 ALiVE SYS_DATA - CONFIG: ["#CBA_HASH#",["_id","_rev","On","EventLevel","PerfData","EventData","MissionData","AAR"],["config","17-cb3b551a259c7ac29b81f0dc4cadba6c","true","5","true","true","","false"],any]
    19:09:42 ALiVE-1.078 CANNOT CONNECT TO DATABASE, DISABLING DATA MODULE
    19:09:42 ALiVE [m_0|30] Module ALiVE_sys_data INIT COMPLETE TIME:  0.861

    (i like to paste the long rpt later)

    the AliveServerLog tells me something like this:

    [2015-10-29 19:09:41] [info] ALiVEPlugIn v2.0a-9563efa
    [2015-10-29 19:09:41] [debug] >>> ParseMessage [StartALiVE ['true']]
    [2015-10-29 19:09:41] [debug]     Function: StartALiVE
    [2015-10-29 19:09:41] [debug]     Params:
    [2015-10-29 19:09:41] [debug]             - [true]
    [2015-10-29 19:09:41] [info]     Disable Performance Monitor: true
    [2015-10-29 19:09:41] [info]     Reading 'alive.cfg'
    [2015-10-29 19:09:41] [info]     Configuration found: C:\Users\nixxxx9_6\AppData\Local\ALiVE\alive.cfg
    [2015-10-29 19:09:41] [info]     No URL in config. Using default.
    [2015-10-29 19:09:41] [info]     Configuration 'alive.cfg' read OK.
    [2015-10-29 19:09:41] [debug]     Alive Config:
    [2015-10-29 19:09:41] [debug]         Type:  JSON
    [2015-10-29 19:09:41] [debug]         User:  si3y4oneseha3ewujejivivoho7e5i8y
    [2015-10-29 19:09:41] [debug]         Pass:  xxxxxxxxxxxxxxxx
    [2015-10-29 19:09:41] [debug]         Group: SGCom
    [2015-10-29 19:09:41] [debug]         URL:   http://db.alivemod.com:5984
    [2015-10-29 19:09:41] [info]     Checking WarRoom access...
    [2015-10-29 19:09:42] [error] ###### HandleMessage - StartALiVE ######
    [2015-10-29 19:09:42] [error]     Error: You are note authorized to access ALiVE War Room with this account. Check IP and Groupname.
    [2015-10-29 19:09:42] [error]     RAW:   StartALiVE ['true']
    [2015-10-29 19:09:42] [debug]     Return value [['StartALiVE','ERROR','You are not authorized to access ALiVE War Room with this account. Check IP and Groupname.']]
    [2015-10-29 19:09:42] [debug] |/-\ Elapsed time: 419.024ms
    [2015-10-29 19:09:42] [debug] >>> ParseMessage [GroupName]
    [2015-10-29 19:09:42] [debug]     Function: GroupName
    [2015-10-29 19:09:42] [debug]     Params:
    [2015-10-29 19:09:42] [warning] ALiVE not initialized yet!
    [2015-10-29 19:09:42] [info]     GroupName: SGCom
    [2015-10-29 19:09:42] [debug]     Return value [['SGCom']]
    [2015-10-29 19:09:42] [debug] |/-\ Elapsed time: 5.001ms
    [2015-10-29 19:09:42] [debug] >>> ParseMessage [SendJSON ['GET','sys_data/config','']]
    [2015-10-29 19:09:42] [debug]     Function: SendJSON
    [2015-10-29 19:09:42] [debug]     Params:
    [2015-10-29 19:09:42] [debug]             - [GET]
    [2015-10-29 19:09:42] [debug]             - [sys_data/config]
    [2015-10-29 19:09:42] [debug]             - []
    [2015-10-29 19:09:42] [warning] ALiVE not initialized yet!
    [2015-10-29 19:09:42] [debug]     Return value [['{"_id":"config","_rev":"17-cb3b551a259c7ac29b81f0dc4cadba6c","On":"true","EventLevel":5,"PerfData":"true","EventData":"true","MissionData":null,"AAR":"false"}
    ']]
    [2015-10-29 19:09:42] [debug] |/-\ Elapsed time: 307.018ms
    

    Our server is hosted by nitrado.net ...
    ... and as i told, we had already a persitant mission running there.
    So the server setup is mostly identical only the ip has changed.

    the server is running following:
    -mod=@CBA_A3;@AliveServer;@ALiVE;@ACE3;@task_force_radio;

    Hardcoded by nitrado is the -ip=5.62.xxx.xxx value

    @AliveServer is fresh updated from the war room download link, also the alive.cfg is fresh loaded and placed in the arma3 main directory. also unlocked and everything suggested in the descrition. (seems that nitrado changing the alive.cfg path or you script doesnt report the correct position)

    found this link somwhere in an old pastebin
    http://alivemod.com/api/authorise?ip=5.62.xxx.xxx&group=SGCom

    Don't know if it helps but this returns 'true'.

    Maybe nitrado doing somthing like IP masking or somthing that our ips doesnt match up

    I found this. Maybe we are related to this problem:
    https://dev.withsix.com/issues/74416

    but last post was:

    Ok, partially fixed :)
    Please can you retest.

    So for us: test failed.

    Any suggestions ? Any Ideas how we can find out the correct ip from within arma3 or any other suggestions what to change ?

    Thanks

  2. Tupolov

    29 Oct 2015 Administrator

    Can you PM me the IP you use to connect to your server for Arma sessions?

  3. Tupolov

    29 Oct 2015 Administrator
    Edited 8 years ago by Tupolov

    Everything looks normal, could be a bug with the plugin. Will ask our plugin dev to take a look. We may need you to run a debug version for us. Thanks for your patience.

    I'm assuming Nitrado don't block outgoing HTTP?

  4. Shure! Thanks for your support !

  5. I'm assuming Nitrado don't block outgoing HTTP?

    Dont think so.
    Is there a way to test it with a small script or so?

  6. Tupolov

    31 Oct 2015 Administrator

    Uploaded a new plugin please retest with this version:

    http://alivemod.com/downloads/@aliveserver.zip

  7. Hi Tupolov,

    thank you very very much !
    I will upload and test immediately!

    I try to keep the debug report complete. Do you need other Debug reports from other modules (like "alive required") ?

  8. I would enable ALiVE Required debug and Data module debug

  9. Tupolov

    2 Nov 2015 Administrator
    Edited 8 years ago by Tupolov

    Looks like the issue is that the IP was incorrect. Users using Nitrado or any other game server service should double check the IP of the server.

    You can run #debug von in game as admin and then check the server.log for IP details.

  10. yep exactly !

    thank you again tuplov for guiding me throug all this and sorry again for spaming you with logs :D

    ok solution for me was like this
    connect to the server as admin and use #debug von
    this should create a server_console_xxxx.log

    there you can find some other ip ( make shure that it is not your local LAN or your public IP )

    try these in war room server settings

    restart server/mission, crossing fingers and hopefully you are connected to the DB

    thanks again for your support !
    kind regards

  11. I am having this issue with Nitrado now, too. I can't seem to find the right IP from the list, though there is only one that seems to repeat. I've contacted their CS about it. Hope to get a reply.

  12. ok solution for me was like this
    connect to the server as admin and use #debug von
    this should create a server_console_xxxx.log
    there you can find some other ip ( make shure that it is not your local LAN or your public IP )

    you tried this ?

  13. Yeah, I tried it, got the only other IP from there and it doesn't work either. I requested the 'public facing' IP address from their support and they told me there was no other Ip they could give.

  14. 7 years ago

    Hi all! I use Nitrado too, and using #debug von command I think I found the correct IP, but I can't still connect to the war room. I'm calling on those who succeeded in doing this: what did you put in "Server name" and "Hostname" in the server setup page of the War Room?

 

or Sign Up to reply!