Log in

Bekijk de volledige versie : problems with esniper



zwoerb
02-04-2008, 18:28
Hi!
I'm trying to setup esniper (Ebay autobidder) on my WL500gP with Olegs Firmware 1.9.2.7-8, but there were some problems and I hope someone can help me out or at least give me a hint.

Ok here is what I've done so far, starting with a clean and fresh installation. I will write this like a tutorial, hoping that others can benefit from it ;)

1.) installing esniper with

ipkg install esniper -force-depends
Also zlib package will be needed

ipkg install zlib
This installed following packages

esniper - 2.17.1-1
libcurl - 7.18.1-1
openssl - 0.9.7m-3
zlib - 1.2.3-2

2.) adjusting control and auctionfiles in the same way as described in the manpages of esniper, that can be found at http://esniper.sourceforge.net/ - mine look like this ...
Controlfile (named .esniper)

#esniper config file - see esniper -h for help
batch = false
#set bid=yes if you really want to place bids
bid = no
debug = disabled
reduce = y
logdir = /tmp/harddisk/esniper/log/
#password = pw
#username = user
historyHost = offer.ebay.com
prebidHost = offer.ebay.com
bidHost = offer.ebay.com
seconds = 10
The auctionfile (named bidlist and is placed in the same directory as .esniper)

#only bid for one item - bid will be placed 10sec before auction is closed
quantity=1
#usage: articelnumber price
200XXXXXXX44 10

3.) Running esniper with

esniper bidlist
and entering username and password yields this error message

Auction 200XXXXXXX44: Cannot connect to URL ??D: Peer certificate cannot be authenticated with known CA certificates: SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Retrying...
Auction 200XXXXXXX44: Cannot connect to URL?B: Peer certificate cannot be authenticated with known CA certificates: SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Retrying...
Auction 200XXXXXXX44: Cannot connect to URL ??D: Peer certificate cannot be authenticated with known CA certificates: SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

Auction 200XXXXXXX44: Cannot connect to URL ??D: Peer certificate cannot be authenticated with known CA certificates: SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

Seems like there are some problems with the libcurl package!?
What have I done wrong, are any packages missing?
Has anyone had the same problem before or does anyone have a solution for this problem?

Thanks in advance!

wengi
03-04-2008, 13:57
I think you do not have any "root certificates" installed, so the verification of the ebay certificate will fail.
Have a look at the ebay certificate and try to install the used CA certificate.

This seems not to be an issue of esniper.

wengi

Oyabun
03-04-2008, 14:26
I receive the same error message. :-(

Previously it was working.

zwoerb
03-04-2008, 17:55
I did a downgrade to libcurl_7.17.0-2 to get rid of the ssl ca-certificate problem

http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/libcurl_7.17.0-2_mipsel.ipk
It seems that the connection can be established now but I still get an error

Auction 200XXXXXXX44: Description
Time remaining: 4 days 22 hours 58 mins (428280 seconds)
End time: 08/04/2008 17:27:33
esniper encountered a bug. It looks like your esniper version is not
current. You have version 2.17.1, the newest version is 2.18.0.
Please go to http://esniper.sf.net/ and update your copy of esniper.

If you want to report this bug, please go to:
http://sourceforge.net/tracker/?func=add&group_id=45285&atid=442436
paste this into "Detailed Description":
Automated esniper bug report.
esniper version 2.17.1
libcurl/7.17.0 OpenSSL/0.9.7m zlib/1.2.3
Error encountered in function parseBidHistory in history.c line 447
auction = 200XXXXXXX44, price = 10, remain = 928280
latency = 0, result = -1, error = 0
buf = 0x4826a0, size = 50713, read = 0x488105
time = 1207240174, offset = 23141
pagename = "PageViewBids_Active_None", pageid = "(null)", srcid = "ViewBids"
bid price could not be converted
then upload and attach esniper.762.1.bug.html and click submit.

Auction 200XXXXXXX44: Cannot convert price "??*??G"
So an update to esniper-2-18-0 would be nice - can someone cross-compile the new version (there are some threads about that in the forum but I still don't know how it works)

Threads:
Need help to compile esniper (http://wl500g.info/showthread.php?t=7035)

sonice
05-04-2008, 03:25
I have the same problem-


esniper encountered a bug. It looks like your esniper version is not
current. You have version 2.17.1, the newest version is 2.18.0.
Please go to http://esniper.sf.net/ and update your copy of esniper.

If you want to report this bug, please go to:
http://sourceforge.net/tracker/?func=add&group_id=45285&atid=442436
paste this into "Detailed Description":
Automated esniper bug report.
esniper version 2.17.1
libcurl/7.18.0 OpenSSL/0.9.7m zlib/1.2.3
Error encountered in function parseBidHistory in history.c line 447


can someone cross-compile the new version????

DrChair
07-04-2008, 20:55
can someone cross-compile the new version????

I just committed version 2.18.1 into the repository.
It should appear in the feed in a couple of hours.

polygrindle
09-04-2008, 19:39
I'm getting the following errors with esniper 2.18.1 and openSSL 0.9.7m-4:

Auction 150234587061: Cannot connect to URL ñD: Peer certificate cannot be authenticated with known CA certificates: SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Retrying...

polygrindle
10-04-2008, 12:12
The following combination of packages is working for me:

From http://ipkg.nslu2-linux.org/feeds/unslung/wl500g:
libcurl - 7.17.0-2 -
openssl - 0.9.7m-3 -

From http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable
esniper - 2.18.1-1 - A lightweight eBay sniping tool

It seems like it has something to do with the newer version of libcurl and openssl in the optware feed (i.e. openssl_0.9.7m-4 and libcurl_7.18.1-1).

trampjuice
07-08-2009, 12:04
http://patrickmd.net/blog/2008/07/07/where-can-i-get-all-the-ssl-root-certificates/

Apparently you have to update the certificate cache that cURL uses as the default cache is not very upto date (10 years old). Obvoiusly the new packages have solved this issue.