Notes |
|
|
i already tried the same fix as this issue
http://support.easycwmp.org/view.php?id=196 [^]
but I still cannot connect to ACS with digest auth
easycwmp logs
Wed Feb 8 17:22:21 2017 daemon.notice easycwmpd: external script init
Wed Feb 8 17:22:21 2017 daemon.notice easycwmpd: external: execute inform parameter
Wed Feb 8 17:22:21 2017 daemon.notice easycwmpd: send Inform
Wed Feb 8 17:22:22 2017 daemon.notice easycwmpd: LibCurl Error: The requested URL returned error: 401
Wed Feb 8 17:22:22 2017 daemon.notice easycwmpd: sending http message failed
Wed Feb 8 17:22:22 2017 daemon.notice easycwmpd: sending Inform failed
Wed Feb 8 17:22:22 2017 daemon.notice easycwmpd: external: execute apply service
Wed Feb 8 17:22:22 2017 daemon.notice easycwmpd: external script exit
Wed Feb 8 17:22:22 2017 daemon.notice easycwmpd: end session failed |
|
|
|
current easycwmp settings
config local
option interface 'eth0'
option port '7547'
option ubus_socket '/var/run/ubus.sock'
option date_format '%FT%T%z'
option username 'admin'
option password 'admin'
option logging_level '3'
config acs
option http100continue_disable '1'
I also enabled libraries-> libcurl -> enable cryptographic authentication
attached is our wireshark capture, I'm not sure if easycwmp is sending http with auth
easy_with_auth.cap |
|
|
|
Rebuild libcurl and then easycwmp. and then re-install both libcurl and easycwmp.
and remove the option http100continue_disable from the config |
|
|
|
we already rebuild the whole source and flash it on out device, also removed http100continue_disable from config. still cannot connect to digest ACS server |
|
|
|
share your ".config" file. It's under your openwrt sdk.
And what is the output of the following command:
opkg depends libcurl |
|
|
|
libcurl depends on:
libc
libpolarssl
.config is attached |
|
|
|
what's your openwrt version? |
|
|
|
did you made a make clean of packages libcurl and easycwmp |
|
|
|
yes I did. I clean the whole source to be sure, then recompiled again |
|
|
|
and also what's your libcurl version? |
|
|
|
|
|
|
your openwrt version too? |
|
|
|
OpenWrt Barrier Breaker 14.07
easycwmp version 1.5.1 |
|
|
|
it's a libcurl bug.
You can fix it in the configure.ac of libcurl. The bug is related to the --enable-crypto-auth.
Or you can use a new version of libcurl. the libcurl version of OpenWRT CC works fine |
|
|
|
Hi, I updated libcurl to 7.50 with enable crypto auth (will attach .config2)
but easycwmp seems to hang, when i try
#easycwmp get
it displays data up to memorystatus then stops |
|
|
|
I updated libcurl to 7.50 and used openSSL, easycwmp can now connect to digest server, is this feature available on v1.4.1?
Also, we're still having problems with the session. sometimes, tcp session end but cpe still send packets then server sends reset.. any idea? (attached with_digest.cap) |
|
|
|
yes it's available on v1.4.1 and in all easycwmp versions |
|
|
|
tcp session end but cpe still send packets then server sends reset.. any idea? (attached with_digest.cap)
==> may be your acs conatins script of reset |
|