[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Inf-IT DAVcl] Infcloud and baikal with public account


Your client is misconfigured,

no "href" value provided in config.js (or the browser users older version of config.js due to html5 cache).


JM


> On 24 Jul 2017, at 15:18, Jörg <jalpers@xxxxxxx> wrote:
> 
> Hello,
> 
> found this FF Console
> 
> GET
> https://www.inf-it.com/versioncheck/InfCloud/?v=0.13.1&_=1500901958291
> 
> 
> TypeError: globalAccountSettings[i].href is undefined
> https://kalender-public.alperg.de/main.js
> Line 741
> 
> 
> Can you help ?
> 
> 
> best regards
> 
> Jörg Alpers
> 
> 
> Am Mon, 24 Jul 2017 14:17:06 +0200
> schrieb Jörg <jalpers@xxxxxxx>:
> 
>> Hello,
>> 
>> Sorry my mistake 
>> 
>> problem of copy and paste 
>> href userAuth ok
>> 
>> but change to
>> "https://kalender-public.alperg.de/baikal/html/dav/.php/principals/test/";
>> 
>> 
>> Connect better but no Calender no Picture blank page.
>> 
>> Firefox F12
>> 
>> 
>> REPORT /baikal/html/dav.php/principals/test/ HTTP/1.1
>> Host: kalender-public.alperg.de
>> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
>> Firefox/52.0 Accept: application/xml, text/xml, */*; q=0.01
>> Accept-Language: en-US,en;q=0.5
>> Accept-Encoding: gzip, deflate, br
>> Content-Type: text/xml
>> Authorization: Basic dGVzdDp0ZXN0MQ==
>> X-client: InfCloud 0.13.1 (Inf-IT CalDAV/CardDAV Web Client)
>> Depth: 0
>> Referer: https://kalender-public.alperg.de/
>> Content-Length: 723
>> Cookie: PHPSESSID=b8063v2r3r43htvosbg6lo70q1
>> DNT: 1
>> Connection: keep-alive
>> 
>> 
>> Code  207 Multi-Status
>> 
>> 
>> 
>> GET /versioncheck/InfCloud/?v=0.13.1&_=1500898246599 HTTP/1.1
>> Host: www.inf-it.com
>> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
>> Firefox/52.0 Accept: application/xml, text/xml, */*; q=0.01
>> Accept-Language: en-US,en;q=0.5
>> Accept-Encoding: gzip, deflate, br
>> Content-Type: text/xml; charset=utf-8
>> X-client: InfCloud 0.13.1 (Inf-IT CalDAV/CardDAV Web Client)
>> X-Requested-With: XMLHttpRequest
>> Referer: https://kalender-public.alperg.de/
>> origin: https://kalender-public.alperg.de
>> DNT: 1
>> Connection: keep-alive
>> 
>> 
>> 
>> Code 200 ok
>> 
>> 
>> OPTIONS /versioncheck/InfCloud/?v=0.13.1&_=1500898246599 HTTP/1.1
>> Host: www.inf-it.com
>> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
>> Firefox/52.0 Accept:
>> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
>> Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate, br
>> Access-Control-Request-Method: GET
>> Access-Control-Request-Headers: content-type,x-client,x-requested-with
>> origin: https://kalender-public.alperg.de
>> DNT: 1
>> Connection: keep-alive
>> 
>> Code 200 ok
>> 
>> 
>> no more information and Headers.
>> 
>> 
>> 
>> best regards
>> 
>> 
>> Jörg Alpers
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> Am Mon, 24 Jul 2017 13:40:19 +0200
>> schrieb Ján Máté <jan.mate@xxxxxxxxxx>:
>> 
>>> Hi,
>>> 
>>> sorry but your configuration looks like a mess, e.g.:
>>> 
>>> - "Href" instead of "href"
>>> - "uSERAUTH" instead of "userAuth"
>>> -
>>> "https: //kalender-public/alperg.de/baikal/html/dav.php/principals/test/"
>>> - empty space after ":", "/" instead of "."
>>> 
>>> and also the error message contains everything except the most
>>> important part - the error code itself
>>> 
>>> So I really cannot help you :-(
>>> 
>>> 
>>> JM
>>> 
>>> 
>>>> On 24 Jul 2017, at 13:05, Jörg <jalpers@xxxxxxx> wrote:
>>>> 
>>>> Hello,
>>>> 
>>>> I need a calendar with public access for public appointments.
>>>> Use a Baikal server for this purpose, which is only to be set with
>>>> user and password. Would like to use infcloud with the
>>>> configuration
>>>> 
>>>> Var globalAccountSettings = [
>>>> {
>>>> Href:
>>>> 'https: //kalender-public/alperg.de/baikal/html/dav.php/principals/test/', 
>>>> // href:
>>>> 'https: //kalender-public/alperg.de/baikal/html/dav.php/test/',
>>>> uSERAUTH: { UserName: 'test',
>>>> UserPassword: 'test1'
>>>> },
>>>> TimeOut: 90000,
>>>> LockTimeOut: 10000,
>>>> CheckContentType: true,
>>>> SettingsAccount: true,
>>>> Delegation: true,
>>>> HrefLabel: null,
>>>> ForceReadOnly: null,
>>>> IgnoreAlarms: false,
>>>> BackgroundCalendars: []
>>>> },
>>>> {
>>>> // href: 'https://server2.com:8443/caldav.php/USERNAME2/',
>>>> // ...
>>>> // ...
>>>> }
>>>> ];
>>>> 
>>>> Unfortunately, it does not work. With a different configuration
>>>> with login screen I get access.
>>>> 
>>>> 
>>>> Firefox Console F12 logs in
>>>> 
>>>> /alperg.de/baikal/html/dav.php/principals/test/ => abort.
>>>> 
>>>> error
>>>> 
>>>> With header
>>>> Accept
>>>> Application / xml, text / xml, * / *; q = 0.01
>>>> Accept-Encoding
>>>> Gzip, deflate, br
>>>> Accept-Language
>>>> en-US, en; q = 0.5
>>>> Authorization
>>>> Basic dGVzdDp0ZXN0MQ ==
>>>> Connection
>>>> keep-alive
>>>> Content-Length
>>>> 723
>>>> Content-Type
>>>> text / xml
>>>> Depth
>>>> 0
>>>> host
>>>> calendar-public
>>>> Referer
>>>> https://kalender-public.alperg.de/
>>>> User Agent
>>>> Mozilla / 5.0 (X11; Linux x86_64; rv: 52.0) Gecko / 20100101
>>>> Firefox / 52.0 X-client
>>>> InfCloud 0.13.1 (Inf-IT CalDAV / CardDAV Web Client)
>>>> origin
>>>> https://kalender-public.alperg.de
>>>> 
>>>> 
>>>> Can you help ?
>>>> 
>>>> best regards
>>>> 
>>>> Jörg Alpers
>>>> 
>>> 
>> 
>> 
> 
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature