Can not login through external URL but working with local IP

[details=“Can not access the web interface anymore through external URL”]

Hi,
I updated to NC29 RC4, since, unable to log to the front end… page appear, I put my credential and… error…
using debian 12 apache and PHP 8.3

In Nextcloud.log

{"reqId":"ZhquDQigmlAQ6yh2qxk_tgAAAAk","level":0,"time":"April 13, 2024 16:08:45","remoteAddr":"XXX.XXX.XXX.XXX","user":"--","app":"no app in context","method":"POST","url":"/login","message":"The loading of lazy AppConfig values have been requested","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0","version":"29.0.0.17","exception":{"Exception":"RuntimeException","Message":"ignorable exception","Code":0,"Trace":[{"file":"/var/www/html/lib/private/AppConfig.php","line":1200,"function":"loadConfig","class":"O>
{"reqId":"ZhquDQigmlAQ6yh2qxk_tgAAAAk","level":0,"time":"April 13, 2024 16:08:47","remoteAddr":"XXX.XXX.XXX.XXX","user":"johnDoe","app":"suspicious_login","method":"POST","url":"/login","message":"loading latest model","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0","version":"29.0.0.17","data":{"app":"suspicious_login"}}
{"reqId":"ZhquDQigmlAQ6yh2qxk_tgAAAAk","level":0,"time":"April 13, 2024 16:08:47","remoteAddr":"XXX.XXX.XXX.XXX","user":"johnDoe","app":"suspicious_login","method":"POST","url":"/login","message":"using cached model 120","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0","version":"29.0.0.17","data":{"app":"suspicious_login"}}
{"reqId":"ZhquDQigmlAQ6yh2qxk_tgAAAAk","level":0,"time":"April 13, 2024 16:08:47","remoteAddr":"XXX.XXX.XXX.XXX","user":"johnDoe","app":"suspicious_login","method":"POST","url":"/login","message":"seralized model size: 209364","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0","version":"29.0.0.17","data":{"app":"suspicious_login"}}
{"reqId":"ZhquDQigmlAQ6yh2qxk_tgAAAAk","level":0,"time":"April 13, 2024 16:08:47","remoteAddr":"XXX.XXX.XXX.XXX","user":"johnDoe","app":"PHP","method":"POST","url":"/login","message":"Return type of Tensor\\Matrix::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice at /var/www/html/apps/suspicious_login/vendor/rubix/tensor/src/Matrix.php#3813","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/201001>
{"reqId":"ZhquDQigmlAQ6yh2qxk_tgAAAAk","level":0,"time":"April 13, 2024 16:08:47","remoteAddr":"XXX.XXX.XXX.XXX","user":"johnDoe","app":"PHP","method":"POST","url":"/login","message":"Return type of Tensor\\Vector::offsetGet($index) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice at /var/www/html/apps/suspicious_login/vendor/rubix/tensor/src/Vector.php#2399","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/201>
{"reqId":"ZhquDQigmlAQ6yh2qxk_tgAAAAk","level":0,"time":"April 13, 2024 16:08:47","remoteAddr":"XXX.XXX.XXX.XXX","user":"johnDoe","app":"PHP","method":"POST","url":"/login","message":"Return type of Tensor\\Vector::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice at /var/www/html/apps/suspicious_login/vendor/rubix/tensor/src/Vector.php#2414","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/201001>
{"reqId":"ZhquDQigmlAQ6yh2qxk_tgAAAAk","level":0,"time":"April 13, 2024 16:08:47","remoteAddr":"XXX.XXX.XXX.XXX","user":"johnDoe","app":"suspicious_login","method":"POST","url":"/login","message":"Ip XXX.XXX.XXX.XXX for user johnDoe is not suspicious","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0","version":"29.0.0.17","data":{"app":"suspicious_login"}}
{"reqId":"ZhquDQigmlAQ6yh2qxk_tgAAAAk","level":0,"time":"April 13, 2024 16:08:47","remoteAddr":"XXX.XXX.XXX.XXX","user":"johnDoe","app":"no app in context","method":"POST","url":"/login","message":"dirty table reads: SELECT * FROM `*PREFIX*authtoken` WHERE `uid` = :dcValue1 ORDER BY `id` ASC LIMIT 1","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0","version":"29.0.0.17","exception":{"Exception":"Exception","Message":"dirty table reads: SELECT * FROM `*PREFIX*authtoken` WHERE `uid` = :dcValue1 ORDER BY `id` A>