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

Error 408 #7

Open
KRAM4321 opened this issue Jul 29, 2018 · 10 comments
Open

Error 408 #7

KRAM4321 opened this issue Jul 29, 2018 · 10 comments
Labels
enhancement New feature or request

Comments

@KRAM4321
Copy link

hi

When I enter the data to connect first time, the error "Permission Problem: Synology returns error 408" appears. If I use my user within Synology, I can create folders and files in the same path

Sony A6000

Thanks!!

@LubikR
Copy link
Owner

LubikR commented Jul 30, 2018

Hello, Could you please add log file? And one hint : User has to have rights for File Station application. Thanks

@KRAM4321
Copy link
Author

Hi!

With the same user I can create, move, delete, etc... files in File Station application.

Log:
[INFO][SettingsActivity] Getting address : ********************:5000 https:false
[INFO][SettingsActivity] Got maxVersions: SYNO.API.Auth=6, SYNO.FileStation.CheckPermission=3
[INFO][SettingsActivity] Logged-in OK, sid=5JeZBeODYx6h61430M4N004777
[ERROR][SettingsActivity] Problem during permission check: 408
[INFO][SettingsActivity] Logged-out

Thanks!!

@LubikR
Copy link
Owner

LubikR commented Jul 30, 2018

According to Synology API document error 408 means "No such file or directory". I got error 408 when I fill not existing directory in. Please check if directory exists and user has got appropriate rights to this directory.

@KRAM4321
Copy link
Author

Hi!
ok, change the path "/volume1/test" to "/test" and now it works. The button changed to "save and exit", the problem now is when I upload the photo ("upload now" button), the error appears after "uploading 1/1" "connection error 401"

With the same user I can create, move, delete, etc... files in File Station application

PD: No upload .arw files?

Regards!

[INFO][SettingsActivity] Getting address : ********************:5000 https:false
[INFO][SettingsActivity] Got maxVersions: SYNO.API.Auth=6, SYNO.FileStation.CheckPermission=3
[INFO][SettingsActivity] Logged-in OK, sid=5lldhiAa5rQZs1430M4N004777
[INFO][SettingsActivity] Check permission OK. Directory=/test
[INFO][SettingsActivity] Logged-out
[INFO][SettingsActivity] Saved and Go to MainActivity
[INFO][MainActivity] Getting address : ********************:5000 https:false
[INFO][MainActivity] Publish progress: Connecting to the server...
[INFO][MainActivity] Got maxVersions: SYNO.API.Auth=6, SYNO.FileStation.Upload=3
[INFO][MainActivity] Logged-in OK, sid=iJ.gvdSLyE46w1430M4N004777
[INFO][MainActivity] Publish progress: Uploading 1 / 1
[INFO][MainActivity] UploadVersion=3
[INFO][MainActivity] Path=//test/ILCE-6000/30072018
[INFO][MainActivity] Filename=DSC00002.JPG
[INFO][MainActivity] Error during upload: 401
[INFO][MainActivity] Publish progress: Connection error : 401
[ERROR][MainActivity] HttpException - org.apache.http.HttpException: 401

@LubikR
Copy link
Owner

LubikR commented Jul 31, 2018

Please try only "test" as directory without backslash. Let me know. Thanks

@KRAM4321
Copy link
Author

Hi LubikR!

Ok, now work and upload the images, but only in JPG format. Do not upload raw and video files?

Regards!

@LubikR
Copy link
Owner

LubikR commented Aug 3, 2018

Hello,
For video files I`ve raised an issue in framework project, see ma1co/OpenMemories-Framework#20

Raw files - I am not able to test it because my camera doesn`t support raw files but it seems to be framework problem. Application uploads everything what mediaManager.queryImages() returns. I will check it if there is some way how to query raw files.

@LubikR LubikR added the enhancement New feature or request label Aug 3, 2018
@KRAM4321
Copy link
Author

KRAM4321 commented Aug 7, 2018

Hi LubikR

Any new ? :)

Thanks!

@deepfriedmind
Copy link

Did you ever figure anything out in regards to RAW files?

@retrography
Copy link

I'm not sure if he is active on this app anymore. Maybe someone else should pick the mantle up. The other upload app, STG uploader app, actually has an excellent implementation with a well-functioning file scanner detecting all available filetypes on the card. You can see the source here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants