weserv / images

Source code of wsrv.nl (formerly images.weserv.nl), to be used on your own server(s).
https://wsrv.nl/
BSD 3-Clause "New" or "Revised" License
1.84k stars 187 forks source link

How to cancel the access restriction in the self-built server? #337

Closed crypto-moe closed 1 year ago

crypto-moe commented 2 years ago

I am currently using this image due to an error when deploying using the image provided by the project

supersandro2000/images-weserv

But I found that some domains show blocked by policy How do I disable the limit

kleisauke commented 2 years ago

Sounds like the IPv6 interface is not properly configured, see #206 for more information.

crypto-moe commented 2 years ago

thank you very much The image loss issue should have been fixed

Yesterday I used the image deployment of the project and this error occurred. What could be the reason nginx: error while loading shared libraries: /lib64/libgsf-1.so.114: invalid ELF header

kleisauke commented 2 years ago

That error might occur if you build the Docker image on one architecture (e.g, x86-64) and then try to use the same built image on a different architecture (e.g, AArch64).

Are you testing on AArch64? If so, you might need to use the alpine.Dockerfile image, since the RPM repositories we depend on do not provide AArch64 packages.

crypto-moe commented 2 years ago

In Ubuntu 20.04.4 LTS on Windows 10 x86_64 using wsl1

kleisauke commented 2 years ago

Could you try to upgrade to WSL 2? I cannot reproduce this with Ubuntu 20.04.4 on Windows 10 using WSL 2.

kleisauke commented 1 year ago

@yansyuei Were you able to make any progress with this?

crypto-moe commented 1 year ago

@kleisauke I can't test with wsl2 because the server doesn't support nested virtualization

kleisauke commented 1 year ago

Perhaps you could use Docker with the legacy Hyper-V backend in that case? It might still be worth testing the alpine.Dockerfile image, to check if you could reproduce it with that.

kleisauke commented 1 year ago

Closing due to inactivity. Please feel free to re-open if questions remain.