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

[Bug] Server reports failed to verify certificate #334

Open
3 tasks done
chierinyan opened this issue May 31, 2024 · 2 comments
Open
3 tasks done

[Bug] Server reports failed to verify certificate #334

chierinyan opened this issue May 31, 2024 · 2 comments
Labels

Comments

@chierinyan
Copy link

Verify steps

  • Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome.
  • I have read the Wiki, especially the FAQ page.
  • I have searched on the issue tracker for a related issue.

MetaTube Plugin Version

2024.512.1925.0

MetaTube Server Version

1.2.3 (9126becc99dd)

What OS are you seeing the problem on?

Linux

Description

Server reports certificate signed by unknown authority.

Note: The URL in the following log is (obviously) NSFW

{"error":{"code":500,"message":"Get \"https://gyutto.com/data/item_img/1980/198093/198093.jpg\": GET https://gyutto.com/data/item_img/1980/198093/198093.jpg giving up after 4 attempt(s): Get \"https://image.gyutto.com/data/item_img/1980/198093/198093.jpg\": tls: failed to verify certificate: x509: certificate signed by unknown authority"}}

However chrome believes that the certificate is valid.

Tried updating ca-certificates in the container, with no luck

MetaTube Server

  metatube:
    image: "metatube/metatube-server"
    container_name: "metatube"
    user: "1000:1000"
    restart: "unless-stopped"
    logging:
      options:
        max-size: "16m"
    ports: ["8200:8080"]
    command: "-dsn /config/metatube.db"
    volumes:
      - "./metatube:/config"
    environment:
      TZ: "Asia/Shanghai"

Jellyfin/Emby Logs

{"error":{"code":500,"message":"Get \"https://gyutto.com/data/item_img/1980/198093/198093.jpg\": GET https://gyutto.com/data/item_img/1980/198093/198093.jpg giving up after 4 attempt(s): Get \"https://image.gyutto.com/data/item_img/1980/198093/198093.jpg\": tls: failed to verify certificate: x509: certificate signed by unknown authority"}}

MetaTube Server Logs

[GORM] 2024/05/31 11:22:50 github.com/metatube-community/metatube-sdk-go/engine/movie.go:197
[0.340ms] [rows:1] SELECT * FROM `movie_metadata` WHERE provider = "AVBASE" AND id = "4004925" COLLATE NOCASE ORDER BY `movie_metadata`.`id` LIMIT 1
[GIN] 2024/05/31 - 11:23:01 | 500 | 11.238473426s |        10.6.6.1 | GET      "/v1/images/backdrop/AVBASE/4004925?ratio=-1&pos=-1&auto=False&quality=90"

How to Reproduce

Try parse GETCHU-004925

@xjasonlyu
Copy link
Contributor

Thanks for the feedback. Don't know if it's a temporary issue from the site or something else. will fix it later.

Copy link

github-actions bot commented Jul 1, 2024

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the Stale label Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants