< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index |
Hi Daniel, below is the log which generated on Android platform:DEBUG | 20161018-103322.370 | TreamPhone | RESIP | 0x1afd6cc40 | Security.cxx:1155 | BaseSecurity::BaseSecurityWARNING | 20161018-103322.379 | TreamPhone | RESIP | 0x1afd6cc40 | Security.cxx:3048 | unable to load DH parameters (required for PFS): TlsDHParamsFilename not specifiedDEBUG | 20161018-103322.380 | TreamPhone | RESIP | 0x1afd6cc40 | Security.cxx:3095 | ECDH initializedWARNING | 20161018-103322.380 | TreamPhone | RESIP | 0x1afd6cc40 | Security.cxx:3048 | unable to load DH parameters (required for PFS): TlsDHParamsFilename not specifiedDEBUG | 20161018-103322.380 | TreamPhone | RESIP | 0x1afd6cc40 | Security.cxx:3095 | ECDH initializedINFO | 20161018-103322.396 | TreamPhone | RESIP:DNS | 0x1afd6cc40 | AresDns.cxx:369 | DNS initialization: found 1 name serversINFO | 20161018-103322.396 | TreamPhone | RESIP:DNS | 0x1afd6cc40 | AresDns.cxx:380 | name server: 192.168.1.1DEBUG | 20161018-103322.397 | TreamPhone | RESIP | 0x1afd6cc40 | Compression.cxx:44 | COMPRESSION SUPPORT NOT COMPILED INDEBUG | 20161018-103322.397 | TreamPhone | RESIP | 0x1afd6cc40 | Compression.cxx:47 | Compression configuration object created; algorithm = 0DEBUG | 20161018-103322.403 | TreamPhone | RESIP:TRANSPORT | 0x1afd6cc40 | TransportSelector.cxx:99 | No compression library availableINFO | 20161018-103322.404 | TreamPhone | RESIP | 0x1afd6cc40 | Security.cxx:316 | Files loaded by prefix: 0WARNING | 20161018-103322.405 | TreamPhone | RESIP | 0x1afd6cc40 | Security.cxx:323 | No root certificates found using legacy prefixes, treating mPath as a normal directory of root certsERR | 20161018-103322.405 | TreamPhone | RESIP | 0x1afd6cc40 | FileSystem.cxx:128 | Error calling stat() for //.file: Operation not permittedDEBUG | 20161018-103322.405 | TreamPhone | RESIP | 0x1afd6cc40 | BaseException.cxx:21 | BaseException at /Users/Jim/esiprocate/rutil/FileSystem.cxx:129 stat() failed ThanksOn Fri, Oct 14, 2016 at 3:55 PM, Daniel Pocock <daniel@xxxxxxxxxx> wrote:
On 29/09/16 06:21, Karlsson wrote:
> Hi, we have got an issue with the 1.10.2 with loadCADirectory function,
> in this function, below exception is throw:
>
Thanks for reporting this
Can you enable STACK level logging and share the log entries that appear
before the exception? Which file is it trying to access? That will be
the last log message before the exception.
Did you make any fix or workaround?
Can anybody suggest how CA roots should be loaded on those platforms?
There was some tweaking of the code relating to this after the 1.10.0
release. I wanted to ensure subsequent 1.10.x releases were all fully
ABI compatible with 1.10.0 so I made changes that preserve a lot of the
legacy behavior around certificates. For 1.11, we can probably be a
little more aggressive in changing the CA root initialization code and
leaving out some of the legacy behavior and API methods.
See the commits around this point in time when I was tweaking some of
this in 2015
https://github.com/resiprocate/resiprocate/commit/196c8fdf99 bdd0149ba09aeb02c2dbbee94a984f
> bool
> FileSystem::Directory::iterator::is_directory() const > ______________________________
> {
> #if HAVE_STRUCT_DIRENT_D_TYPE
> return mDirent->d_type == DT_DIR;
> #else
> struct stat s;
> StackLog(<<"calling stat() for " << mDirent->d_name);
> if(stat(mFullFilename.c_str(), &s) < 0)
> {
> ErrLog(<<"Error calling stat() for " << mFullFilename.c_str() << ": " << strerror(errno));
> --> throw Exception("stat() failed", __FILE__, __LINE__); not catch this exception.
> }
> return S_ISDIR(s.st_mode);
> #endif
> }
>
> Thanks
>
>
_________________
> resiprocate-users mailing list
> resiprocate-users@resiprocate.org
> List Archive: http://list.resiprocate.org/archive/resiprocate-users/
>
_______________________________________________
resiprocate-users mailing list
resiprocate-users@resiprocate.org
List Archive: http://list.resiprocate.org/archive/resiprocate-users/