Closed jeffro256 closed 3 months ago
welp, restarting the xmrchain process / daemon didn't fix it.
watching the logs live while i request that blockheight
8 12:56:49 Ubuntu-1804-bionic-64-minimal clearnet_exp.sh[4164353]: MicroCore::get_tx tx does not exist in blockchain: <4540870ca42ce3eed66eaac6e5bc9f1063b3b499a4532fe49b6ea77609e3d07e>
Feb 28 12:56:49 Ubuntu-1804-bionic-64-minimal clearnet_exp.sh[4164353]: Cant get tx in blockchain: <4540870ca42ce3eed66eaac6e5bc9f1063b3b499a4532fe49b6ea77609e3d07e>.
Feb 28 12:56:49 Ubuntu-1804-bionic-64-minimal clearnet_exp.sh[4164353]: Check mempool now
Feb 28 12:56:49 Ubuntu-1804-bionic-64-minimal clearnet_exp.sh[4164353]: mempool status txs: 87
Feb 28 12:56:49 Ubuntu-1804-bionic-64-minimal clearnet_exp.sh[4164353]: (2024-02-28 11:56:49) [ERROR ] An uncaught exception occurred: Attempted to retrieve non-existent block height
Feb 28 12:56:49 Ubuntu-1804-bionic-64-minimal clearnet_exp.sh[4164353]: (2024-02-28 11:56:49) [INFO ] Response: 0x7f729000bbd0 /search?value=4540870ca42ce3eed66eaac6e5bc9f1063b3b499a4532fe49b6ea77609e3d07e 500 0
I can't replicate the issue. Are you using master
branch of the explorer with monero-v018?
im on commit d66972065fd34339451c248b4dfb5c54be0d0719 for the explorer, and
7b7958bbd9d76375c47dc418b4adabba0f0b1785 on monero
according to git log
The commit is only html style style.css
change, nothing to do with blockchain functionality. https://xmrchain.net/ seems not affected when using the block id given by OP.
You can go to xmrchain.net right now and type in that blockID into the search bar and get the 500 internal error. Browser: Firefox 122.0.1.
https://xmrchain.net/search?value=4540870ca42ce3eed66eaac6e5bc9f1063b3b499a4532fe49b6ea77609e3d07e
I see. xmrchain (if you check at the bottom) seems to be running version from 2023-03-28
. I tested on the current build and there is no such error.
the webpage never shows the actual compile for some reason. I'll try recompiling from master and see if it fixes this.
welp, having a trouble compiling. reported in separate issue. #311
OK, so I just recompiled onion explorer on master using monero on 18.3.1 , and the error still exists.
the version doesn't update on the xmrchain.net page because when I compile I just copy the newly compiled binary to an already existing onion-explorer directory so I don't have to mess with the HTML templates etc.
@Gingeropolous I'm testing on freshly compiled version, and HTTP 500 Internal Server Error
does not occur. Instead there is normal explorer info that tx does not exist:
@moneroexamples Probably an issue related to some internal state then, either the daemon or the web server. Does the web server cache certain pages / data?
i'll try running the explorer from a new directory. i'll copy over my html and css into the newly compiled directory.
No updates so closing.
Basically the title. For example, if you go onto the site right now and request block ID <4540870ca42ce3eed66eaac6e5bc9f1063b3b499a4532fe49b6ea77609e3d07e>, you will get an internal server error response.
This block used to be part of the main chain, until it was reorg'ed out. I don't know about the internal code of this server, so I don't know if that makes a difference. Perhaps there is some cache somewhere that isn't cleaned up.