Bug ErrorException: Received unexpected response code 404 (Not Found) src/XF/Error.php:77

Status
Not open for further replies.

Forsaken

Customer
ErrorException: Received unexpected response code 404 (Not Found) src/XF/Error.php:77

#0 src/XF.php(219): XF\Error->logError(Object(XF\Phrase), false)
#1 src/addons/DBTech/Security/Repository/Watcher.php(261): XF::logError(Object(XF\Phrase))
#2 src/addons/DBTech/Security/XF/Service/User/Login.php(71): DBTech\Security\Repository\Watcher->breachCheck(Object(SV\ConversationSharing\XF\Entity\User))
#3 src/XF/Service/User/Login.php(126): DBTech\Security\XF\Service\User\Login->recordFailedAttempt()
#4 src/addons/SV/PasswordTools/XF/Service/User/Login.php(18): XF\Service\User\Login->validate('*****', NULL)
#5 src/addons/SV/SignupAbuseBlocking/XF/Service/User/Login.php(18): SV\PasswordTools\XF\Service\User\Login->validate('*****', NULL)
#6 src/XF/ControllerPlugin/Login.php(243): SV\SignupAbuseBlocking\XF\Service\User\Login->validate('*****', NULL)
#7 src/XF/Pub/Controller/Login.php(164): XF\ControllerPlugin\Login->actionPasswordConfirm()
#8 src/XF/Mvc/Dispatcher.php(352): XF\Pub\Controller\Login->actionPasswordConfirm(Object(XF\Mvc\ParameterBag))
#9 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Login', 'PasswordConfirm', Object(XF\Mvc\RouteMatch), Object(SV\SignupAbuseBlocking\XF\Pub\Controller\Login), NULL)
#10 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\SignupAbuseBlocking\XF\Pub\Controller\Login), NULL)
#11 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#12 src/XF/App.php(2352): XF\Mvc\Dispatcher->run()
#13 src/XF.php(524): XF\App->run()
#14 index.php(20): XF::runApp('XF\\Pub\\App')
#15 {main}

I have both Signup Abuse and Password Tools by Xon added; I disabled Password Tools now because there is not much point as I started enforcing 2FA for everyone, rather than for people who were compromised.
 
I've just tested this with a fresh API key and there's no problems. Is the API key still active?

If so, you may need to edit /src/addons/DBTech/Security/Repository/Watcher.php and find
PHP:
\XF::logError(\XF::phraseDeferred('received_unexpected_response_code_x_message_y', [
   'code' => $response->getStatusCode(),
   'message' => $response->getReasonPhrase()
]));
Add below:
PHP:
\XF::logError(urlencode($user->username));
This should also log the user name that was attempted.
 
So not sure why this was happening, but I disabled Signup Abuse and Conversation Sharing/Conversation Monitor and had one of the people who had the problem manage to setup 2FA and login. I re-enabled Signup Abuse and will see if there are still issues.

I also disabled HIBP and Project Honeypot for now but will look at re-enabling if there are no more errors.
 
So, I was no longer having issues, and have re-enabled Project Honeypot, and ran that for ~2 days.

I've now re-added HIBP, but am leaving out the username check (probably leaving that out).
 
I have not gotten this error since, so I'm not sure exactly what was causing it. You can likely just close this, but I will let you know if it comes back.
 
Status
Not open for further replies.

DragonByte Security

XenForo 1.5.3+ XenForo 2.0.x XenForo 2.1.x XenForo 2.2.x XenForo 2.3.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
2,344
Customer rating
5.00 star(s) 1 ratings
Back
Top