[GH-ISSUE #419] Signal gateway #92

Closed
opened 2026-02-26 05:33:03 +03:00 by kerem · 1 comment
Owner

Originally created by @piti-diablotin on GitHub (Feb 5, 2021).
Original GitHub issue: https://github.com/nextcloud/twofactor_gateway/issues/419

Hi

I am trying to setup the Signal gateway. I installed the docker signal web gateway as explained in the documentation but I am stuck to send the verification code.

First I tried to send a message using curl like

curl -X POST -F "to=+xxxxxxxxxxx" -F "message=Test" http://localhost:5000

and it works ! I already very happy with that 😄

How ever when I enter the same phone number in the signal TOTP use conf I always get

Could not verify your code. Please try again. Enter your identification 

I try to identify the probleme but it seems I don't even enter the send function (I put a file opening+write in it and got no file created)
The gateway I configure is http://localhost:5000 which is the same as default I guess.

What could be the problem ? I have nothing in the logs of the docker so NC does not even contact the docker.

I am trying to figure out the problem but any help is appreciate to fix my problem...

Thanks in advance

Edit:
I tried

sudo -u www-data php ./occ twofactorauth:gateway:test uid signal +xxxxxxxxxxx
Host violates local access rules

Is it because the server is http://localhost:5000? I can set my apache as a proxy if needed or ?

Originally created by @piti-diablotin on GitHub (Feb 5, 2021). Original GitHub issue: https://github.com/nextcloud/twofactor_gateway/issues/419 Hi I am trying to setup the Signal gateway. I installed the docker signal web gateway as explained in the documentation but I am stuck to send the verification code. First I tried to send a message using `curl` like ``` curl -X POST -F "to=+xxxxxxxxxxx" -F "message=Test" http://localhost:5000 ``` and it works ! I already very happy with that :smile: How ever when I enter the same phone number in the signal TOTP use conf I always get ``` Could not verify your code. Please try again. Enter your identification ``` I try to identify the probleme but it seems I don't even enter the `send` function (I put a file opening+write in it and got no file created) The gateway I configure is `http://localhost:5000` which is the same as default I guess. What could be the problem ? I have nothing in the logs of the docker so NC does not even contact the docker. I am trying to figure out the problem but any help is appreciate to fix my problem... Thanks in advance Edit: I tried ``` sudo -u www-data php ./occ twofactorauth:gateway:test uid signal +xxxxxxxxxxx Host violates local access rules ``` Is it because the server is `http://localhost:5000`? I can set my apache as a proxy if needed or ?
kerem closed this issue 2026-02-26 05:33:03 +03:00
Author
Owner

@piti-diablotin commented on GitHub (Feb 5, 2021):

Ok sorry, I solve the problem setting my "true" or with allow_local_remote_servers=true in the config.php

<!-- gh-comment-id:774262377 --> @piti-diablotin commented on GitHub (Feb 5, 2021): Ok sorry, I solve the problem setting my "true" or with `allow_local_remote_servers=true` in the `config.php`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/twofactor_gateway-nextcloud#92
No description provided.