Spyke

Posts

gamegraveyard·游戏墓地bycat
selfhosted·自己动手丰衣足食bycat

[问题记录] watchtower报错:Error response from daemon: client version 1.25 is too old. Minimum supported API version is 1.44, please upgrade your client to a newer version

报错信息:

Error response from daemon: client version 1.25 is too old. Minimum supported API version is 1.44, please upgrade your client to a newer version

问题原因:

一句话总结,watchtower默认使用的Docker API版本低于本地的Docker API最低要求版本,需要强制让watchtower使用最低要求版本。


解决办法:

在watchtower的docker-compose配置文件中,添加强制使用的Docker API版本信息到environment中。

environment:
  - DOCKER_API_VERSION=1.44
View original on fasheng.ing
ideas·小想法bycat

黑客滥用 GitHub 评论地址传播恶意程序

恶意攻击者滥用了 GitHub 的一个缺陷或设计决策,当用户在软件包库发表评论上传文件时它会自动生成一个关联网址,即使评论最后并没有发布。当用户看到来自微软库的文件网址时可能会认为是可信网址。

举例来说, 这两个文件都不属于 vcpkg 和 STL 库,而是作为用户评论的一部分上传的。

https://github/[.]com/microsoft/vcpkg/files/14125503/Cheat.Lab.2.7.2.zip 

https://github/[.]com/microsoft/STL/files/14432565/Cheater.Pro.1.6.0.zip
https://www.solidot.org/story?sid=78002Open linkView original on fasheng.ing

Troubleshooting Lemmy: How to Fix Image/Avatar Upload Issues and Configure Network Proxies

When uploading an avatar in Lemmy, the following error appears in the bottom left corner:

Error Message

Browser error message:

{"data":{"error":"unknown","message":"error decoding response body: EOF while parsing a value at line 1 column 0"},"state":"success"}

Response status code: 400

Cause of the Problem

Based on the error message, it is speculated to be a network issue. Upon inspecting the docker-compose configuration, a http proxy testing configuration added a few days ago was discovered. After removing the proxy, the image upload worked normally.

Solutions

Quick Fix: Repair the Network

If there is a network proxy, simply repairing the network connection should resolve the issue.

Perfect Solution: Optimize Network Proxy Configuration

A network proxy can hide the real request IP of the server. Without losing the proxy, local services affected can be excluded using no_proxy.

The final network proxy configuration in docker-compose.yml is as follows:

environment:
      - http_proxy=192.168.x.x:xxxx
      - no_proxy="lemmy,localhost,127.0.0.1,postgres,pictrs,0.0.0.0"
View original on fasheng.ing

You reached the end