Scalix Mobile Web Login failed

Discuss the Scalix Mobile Web Client

Moderator: ScalixSupport

humph_rey

Scalix Mobile Web Login failed

Postby humph_rey » Wed Apr 01, 2009 9:26 am

Hi all,

I want to connect to the mobile web access to Scalix 11.4.2. I can connect the site http://my.domain.tld/m but on login I get the failure Username or Password wrong. On http://my.domain.tld/webmail it works and in Outlook and Thunderbird too. I get messages in /var/opt/scalix/ml/tomcat/logs/scalix-mobile.log file :

2009-04-01 15:17:19,314 FATAL [PlatformClient.authenticate:53] Could not connect to Scalix Messaging Services at http:/my.domain.tld/api

Whats up there?

Regards

Humph_rey

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Re: Scalix Mobile Web Login failed

Postby Valerion » Thu Apr 02, 2009 9:39 am

scalix-postgres is not running properly, or the messaging API cannot talk to it. You'll find that CalDAV is dead too. Check your postgres log file and see what's in there. /var/opt/scalix/??/postgres/pgstartup.log.

humph_rey

Re: Scalix Mobile Web Login failed

Postby humph_rey » Thu Apr 02, 2009 11:02 am

Hi,

thats not right. CalDAV is not dead. I have the Calendar on my Thunderbird alive. At pgstartup.log are many entries. When I make a tail -f on this log, there is no message, if I try to login over the mobile-web-client. Other entries in pgstartup.log are:

e.g.:

-02 16:29:34 CEST scalix scalix LOG: Anweisung: <BIND>
2009-04-02 16:29:34 CEST scalix scalix DEBUG: plan:
2009-04-02 16:29:34 CEST scalix scalix DETAIL: {INDEXSCAN :startup_cost 0.00 :total_cost 5.84 :plan_rows 1 :plan_width 106
:targetlist ({TARGETENTRY :expr {VAR :varno 1 :varattno 1 :vartype 1043
:vartypmod 44 :varlevelsup 0 :varnoold 1 :varoattno 1} :resno 1 :resname
direct1_2_0_ :ressortgroupref 0 :resorigtbl 16389 :resorigcol 1 :resjunk
false} {TARGETENTRY :expr {VAR :varno 1 :varattno 2 :vartype 20 :vartypmod -1
:varlevelsup 0 :varnoold 1 :varoattno 2} :resno 2 :resname last2_2_0_
:ressortgroupref 0 :resorigtbl 16389 :resorigcol 2 :resjunk false}) :qual <>
:lefttree <> :righttree <> :initPlan <> :extParam (b) :allParam (b)
:nParamExec 0 :scanrelid 1 :indexid 16391 :indexqual ({OPEXPR :opno 98
:opfuncid 67 :opresulttype 16 :opretset false :args ({VAR :varno 1 :varattno 1
:vartype 1043 :vartypmod 44 :varlevelsup 0 :varnoold 1 :varoattno 1}
{RELABELTYPE :arg {PARAM :paramkind 12 :paramid 1 :paramname <> :paramtype
1043} :resulttype 25 :resulttypmod -1 :relabelformat 2})}) :indexqualorig
({OPEXPR :opno 98 :opfuncid 67 :opresulttype 16 :opretset false :args
({RELABELTYPE :arg {VAR :varno 1 :varattno 1 :vartype 1043 :vartypmod 44
:varlevelsup 0 :varnoold 1 :varoattno 1} :resulttype 25 :resulttypmod -1
:relabelformat 2} {RELABELTYPE :arg {PARAM :paramkind 12 :paramid 1 :paramname
<> :paramtype 1043} :resulttype 25 :resulttypmod -1 :relabelformat 2})})
:indexstrategy (i 3) :indexsubtype (o 0) :indexorderdir 1}

2009-04-02 16:29:34 CEST scalix scalix LOG: Anweisung: EXECUTE <unnamed> [PREPARE: select folder0_.direct_ref as direct1_2_0_, folder0_.last_synched as last2_2_0_ from folder_status folder0_ where
folder0_.direct_ref=$1]
2009-04-02 16:29:34 CEST scalix scalix DEBUG: CommitTransactionCommand
2009-04-02 16:29:34 CEST scalix scalix LOG: Anweisung: PREPARE <unnamed> AS select folder0_.direct_ref as direct1_2_0_, folder0_.last_synched as last2_2_0_ from folder_status folder0_ where folder0_.
direct_ref=$1
2009-04-02 16:29:34 CEST scalix scalix DEBUG: StartTransactionCommand
2009-04-02 16:29:34 CEST scalix scalix DEBUG: parse tree:
2009-04-02 16:29:34 CEST scalix scalix DETAIL: {QUERY :commandType 1 :querySource 0 :canSetTag true :utilityStmt <>
:resultRelation 0 :into <> :hasAggs false :hasSubLinks false :rtable ({RTE
:alias {ALIAS :aliasname folder0_ :colnames <>} :eref {ALIAS :aliasname
folder0_ :colnames ("direct_ref" "last_synched")} :rtekind 0 :relid 16389 :inh
true :inFromCl true :requiredPerms 2 :checkAsUser 0}) :jointree {FROMEXPR
:fromlist ({RANGETBLREF :rtindex 1}) :quals {OPEXPR :opno 98 :opfuncid 0
:opresulttype 16 :opretset false :args ({RELABELTYPE :arg {VAR :varno 1
:varattno 1 :vartype 1043 :vartypmod 44 :varlevelsup 0 :varnoold 1 :varoattno
1} :resulttype 25 :resulttypmod -1 :relabelformat 2} {RELABELTYPE :arg {PARAM
:paramkind 12 :paramid 1 :paramname <> :paramtype 1043} :resulttype 25
:resulttypmod -1 :relabelformat 2})}} :rowMarks <> :forUpdate false :rowNoWait
false :targetList ({TARGETENTRY :expr {VAR :varno 1 :varattno 1 :vartype 1043
:vartypmod 44 :varlevelsup 0 :varnoold 1 :varoattno 1} :resno 1 :resname
direct1_2_0_ :ressortgroupref 0 :resorigtbl 16389 :resorigcol 1 :resjunk
false} {TARGETENTRY :expr {VAR :varno 1 :varattno 2 :vartype 20 :vartypmod -1
:varlevelsup 0 :varnoold 1 :varoattno 2} :resno 2 :resname last2_2_0_
:ressortgroupref 0 :resorigtbl 16389 :resorigcol 2 :resjunk false})
:groupClause <> :havingQual <> :distinctClause <> :sortClause <> :limitOffset
<> :limitCount <> :setOperations <> :resultRelations <>}

2009-04-02 16:29:34 CEST scalix scalix DEBUG: rewritten parse tree:
2009-04-02 16:29:34 CEST scalix scalix DETAIL: ({QUERY :commandType 1 :querySource 0 :canSetTag true :utilityStmt <>
:resultRelation 0 :into <> :hasAggs false :hasSubLinks false :rtable ({RTE
:alias {ALIAS :aliasname folder0_ :colnames <>} :eref {ALIAS :aliasname
folder0_ :colnames ("direct_ref" "last_synched")} :rtekind 0 :relid 16389 :inh
true :inFromCl true :requiredPerms 2 :checkAsUser 0}) :jointree {FROMEXPR
:fromlist ({RANGETBLREF :rtindex 1}) :quals {OPEXPR :opno 98 :opfuncid 0
:opresulttype 16 :opretset false :args ({RELABELTYPE :arg {VAR :varno 1
:varattno 1 :vartype 1043 :vartypmod 44 :varlevelsup 0 :varnoold 1 :varoattno
1} :resulttype 25 :resulttypmod -1 :relabelformat 2} {RELABELTYPE :arg {PARAM
:paramkind 12 :paramid 1 :paramname <> :paramtype 1043} :resulttype 25
:resulttypmod -1 :relabelformat 2})}} :rowMarks <> :forUpdate false :rowNoWait
false :targetList ({TARGETENTRY :expr {VAR :varno 1 :varattno 1 :vartype 1043
:vartypmod 44 :varlevelsup 0 :varnoold 1 :varoattno 1} :resno 1 :resname
direct1_2_0_ :ressortgroupref 0 :resorigtbl 16389 :resorigcol 1 :resjunk
false} {TARGETENTRY :expr {VAR :varno 1 :varattno 2 :vartype 20 :vartypmod -1
:varlevelsup 0 :varnoold 1 :varoattno 2} :resno 2 :resname last2_2_0_
:ressortgroupref 0 :resorigtbl 16389 :resorigcol 2 :resjunk false})
:groupClause <> :havingQual <> :distinctClause <> :sortClause <> :limitOffset
<> :limitCount <> :setOperations <> :resultRelations <>})


I think, thats are CalDav entries

I have Postgres reconfigured, but nothing has changed

Thanks

Humph_rey

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Re: Scalix Mobile Web Login failed

Postby Valerion » Thu Apr 02, 2009 12:00 pm

Try accessing /api/dav manually from a browser and see what happens. Also ensure that you are not rewriting it to https by mistake. If that works, maybe try to see in the apache logs if there are any errors.

humph_rey

Re: Scalix Mobile Web Login failed

Postby humph_rey » Wed Apr 15, 2009 10:49 am

login to http://www.mydomain.tld/api/dav is ok. I can login and can see my Repository Root. we have an redirect to https, but I can't see any errors for it. Webmail himself and login here is working, MobileWeb works too, only login is here not possible. Any idea?

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Re: Scalix Mobile Web Login failed

Postby Valerion » Thu Apr 16, 2009 1:27 am

Try taking out the HTTPS redirect for a test and see if the problem is still the same?

humph_rey

Re: Scalix Mobile Web Login failed

Postby humph_rey » Thu Apr 16, 2009 6:01 am

sorry, redirect off and the problem is still the same.

Logs:

==> /var/log/apache2/access_log <==
172.zz.yy.xx - - [16/Apr/2009:10:35:36 +0200] "POST /m/login.do HTTP/1.1" 200 867 "http://mail.mydomain.tld/m/login.do" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4 (.NET CLR 3.5.30729)"

Don't know, if this belong to, but it is the next entry at the access.log:

192.168.0.xx- - [16/Apr/2009:10:35:58 +0200] "GET /sis/indexer?fn=add&uid=0bd00
00074a5f584-05.0.861.291&pdref=0002663aabdafc64&dref=0003c740ed38bf65&indexid=35
00a8c0-485f5a47-49db2c5e-a9db2&flags=seen,unflagged,unanswered,undeleted,undraft
,unlabel1,unlabel2,unlabel3,unlabel4,unlabel5,unlabel6,unlabel7,unlabel8,unjunk,
unnonjunk,unforwarded HTTP/1.1" 204 4 "-" "-"

Thx for helping hands


Return to “Scalix Mobile Web Client”



Who is online

Users browsing this forum: No registered users and 2 guests

cron