mirror of
https://github.com/nextcloud/twofactor_gateway.git
synced 2026-04-26 01:25:48 +03:00
[GH-ISSUE #380] Host violates local access rules #87
Labels
No labels
0. to triage
1. to develop
3. to review
blocked
bug
discussion
duplicate
enhancement
enhancement
gateway:signal
gateway:signal
gateway:signal
gateway:sms
gateway:telegram
hacktoberfest
help wanted
invalid
needs info
php
pull-request
question
technical debt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/twofactor_gateway-nextcloud#87
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Shuvi-Hub on GitHub (Sep 2, 2020).
Original GitHub issue: https://github.com/nextcloud/twofactor_gateway/issues/380
I did everything like in the documentary but it never works
This is what the log says...
[index] Error: OCP\Http\Client\LocalServerException: Host violates local access rules at <>
OC\Http\Client\Client->preventLocalAddress("http://localhost:5000", {body: {to: "+49 ... }})
OC\Http\Client\Client->post("http://localhost:5000", {body: {to: "+49 ... }})
OCA\TwoFactorGateway\Service\Gateway\Signal\Gateway->send(OC\User\User {}, "+49174*******", "050421 is your ... .")
OCA\TwoFactorGateway\Service\SetupService->startSetup(OC\User\User {}, "signal", "+49174*******")
OCA\TwoFactorGateway\Controller\SettingsController->startVerification("signal", "+49174*******")
OC\AppFramework\Http\Dispatcher->executeController(OCA\TwoFactorGat ... {}, "startVerification")
OC\AppFramework\Http\Dispatcher->dispatch(OCA\TwoFactorGat ... {}, "startVerification")
OC\AppFramework\App::main("OCA\TwoFactorG ... r", "startVerification", OC\AppFramework\ ... {}, {gateway: "signa ... "})
OC\AppFramework\Routing\RouteActionHandler->__invoke({gateway: "signa ... "})
call_user_func(OC\AppFramework\ ... {}, {gateway: "signa ... "})
OC\Route\Router->match("/apps/twofactor ... t")
OC::handleRequest()
POST /index.php/apps/twofactor_gateway/settings/signal/verification/start
@ChristophWurst commented on GitHub (Sep 2, 2020):
Try with
in your
config/config.php.@Shuvi-Hub commented on GitHub (Sep 2, 2020):
Thx it works now. ^^