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]: S3 Region was not a valid DNS name. #214

Closed
1 task done
yutthaphon opened this issue Apr 1, 2024 · 4 comments
Closed
1 task done

[Bug]: S3 Region was not a valid DNS name. #214

yutthaphon opened this issue Apr 1, 2024 · 4 comments
Assignees
Labels

Comments

@yutthaphon
Copy link
Contributor

Preflight Checklist

  • I have searched the issue tracker for a bug report that matches the one I want to file, without success.

OpenComic Version

1.2.0

Operating System

Windows 11 23H2 Build 22635.3350

Steps to reproduce

  1. Add login S3 server information.
  • Server name: Funtoons
  • S3 Endpoints: s3://sgp1.vultrobjects.com/****
  • accessID in Username
  • secretKey in Password
    and then save.
  1. Try to connect but show error.

Expected Behavior

Loading folders list from s3 server and display them.

Actual Behavior

Error found. not load anythings.

Error message

ScreenShot_20240401110146

Additional Information

No response

Sample file

No response

@yutthaphon yutthaphon added the bug label Apr 1, 2024
@ollm
Copy link
Owner

ollm commented Apr 1, 2024

Try this build with this fix ec1340d

Build https://mega.nz/file/DCxw2BIb#yyvNlizYEOLxVMG4r-SDMXbKkVeAuK0jzpyjcLyjoWA

I've tested it on an Amazon S3 server, so I don't know if it works on other servers.

@ollm ollm self-assigned this Apr 1, 2024
@yutthaphon
Copy link
Contributor Author

For this build, it can successfully connect to the S3 Server and display the folders within the Bucket. However, it cannot access the subfolders. The file structure is as follows:
Cover: Manga\Title{title}.webp
Chapter Images: Manga\Title\Chapter-{i}{images}.webp
If you enter the Manga folder, an error will be displayed: "There is no compatible file in this folder" and it is unable to retrieve the list of subfolders within.
ScreenShot_20240403092226
ScreenShot_20240403091213

@ollm
Copy link
Owner

ollm commented Apr 3, 2024

I have also fixed this 9352e3a, Windows backslash paths were not being processed correctly (I had tested it only in Ubuntu).

You will probably have to clear the cache (From app settings), since the list of files is saved in cache and read from there in some cases (Thumbnails, etc.)

Regarding the covers, let me know if OpenComic doesn't detect them correctly.

Build: https://mega.nz/file/THYDEJ7a#oaYA5jQ8gMJxZQh8bO-oDYeqA62FC7TzYq-Qq0QEHT0

@yutthaphon
Copy link
Contributor Author

This problem has been solved. Everything works fine. Thank you so much.

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