Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Host 10.0.17.6 was not connected to because it violates local access rules #188

Closed
marcatsmci opened this issue Feb 1, 2022 · 7 comments · Fixed by #189
Closed

Host 10.0.17.6 was not connected to because it violates local access rules #188

marcatsmci opened this issue Feb 1, 2022 · 7 comments · Fixed by #189
Labels
2. developing Work in progress bug Something isn't working
Milestone

Comments

@marcatsmci
Copy link

This ip is the server's ip behind my vpn :

[no app in context] Warning: Host 10.0.17.6 was not connected to because it violates local access rules GET /core/preview?fileId=11436&c=aceb6a0c5957df016e3c081536f8a2d7&x=250&y=250&forceIcon=0&a=0 from 10.3.17.2 by f3nix at 2022-02-01T13:32:29+00:00

{"reqId":"x7xjPnEzno9pfCRIQaAA","level":2,"time":"2022-02-01T13:32:29+00:00","remoteAddr":"10.3.17.2","user":"f3nix","app":"no app in context","method":"GET","url":"/core/preview?fileId=11436&c=aceb6a0c5957df016e3c081536f8a2d7&x=250&y=250&forceIcon=0&a=0","message":"Host 10.0.17.6 was not connected to because it violates local access rules","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0","version":"23.0.1.2","id":"61f9366dd3abc"}

I added the ip in the config file as a trusted_domains :

  1. is this the good way ?
  2. Is the config file automatically taken into account or do I have to restart the containers?
@szaimen
Copy link
Collaborator

szaimen commented Feb 1, 2022

Hi, I am honestly not sure what you did. Can you please add some steps how to reproduce this issue? Thanks!

@szaimen szaimen added the needs info Not enough information provided label Feb 1, 2022
@marcatsmci
Copy link
Author

I don't know how this happens: I just noticed the ip... But I don't do any specific action...
To try to correct I inserted the ip in the trusted_domains constant.

ip.pdf

@szaimen
Copy link
Collaborator

szaimen commented Feb 1, 2022

Hm... Maybe you could try to add this to the config.php and report back if it fixes the issue:
'allow_local_remote_servers' => true,
Thanks!

@marcatsmci
Copy link
Author

OK, added...
Is the config file automatically taken into account or do I have to restart the containers?

@szaimen
Copy link
Collaborator

szaimen commented Feb 1, 2022

It should be automatically taken into account.

@marcatsmci
Copy link
Author

No more messages => ok !
Thanks !

@szaimen
Copy link
Collaborator

szaimen commented Feb 2, 2022

Thanks for testing! This needs to be solved for everyone so I am reopening this.

@szaimen szaimen reopened this Feb 2, 2022
@szaimen szaimen added 1. to develop Accepted and waiting to be taken care of bug Something isn't working and removed needs info Not enough information provided labels Feb 2, 2022
@szaimen szaimen added this to the next milestone Feb 2, 2022
@szaimen szaimen added 2. developing Work in progress and removed 1. to develop Accepted and waiting to be taken care of labels Feb 3, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
2. developing Work in progress bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants