KRA 39 Posted December 30, 2014 Share Posted December 30, 2014 I have Ubuntu with server version 3.0.5464.40000 and Windows phone Mediabrowser 8.0.64.0 First I have a comment, why is the upload restricted to Charging, batteri at 90% + and connected to wifi ? Second, it's not working Most of the time MBS just say I have no devices that support camera upload even though it lists my Windows Phone in the device list. Does the MB app need to be running/in front ? I just started the app and put my phone on charge and the MBS server now list my phone as "camera upload" supported. If I click on my phone in the device list, it gives this error : "Argument cannot be null. Parameter name: result" If I try to give it a name it gives: "Object reference not set to an instance of an object" I've had my phone charge to 100% but no images are uploaded. I will try now to have the MB app running in front while charging and see what happens. I use QI charing if it matters (if the app is looking for something in the usb port) Link to comment Share on other sites More sharing options...
Beardyname 195 Posted December 30, 2014 Share Posted December 30, 2014 the limitations are due to what MS has set so nothing the developer can do about that. As for the errors i believe scott will help you out shortly Link to comment Share on other sites More sharing options...
Luke 37259 Posted December 30, 2014 Share Posted December 30, 2014 No the limitations of battery, wifi, etc are defined what the device and under the conditions they allow background processes to run under https://github.com/MediaBrowser/Wiki/wiki/Camera%20upload Link to comment Share on other sites More sharing options...
KRA 39 Posted December 30, 2014 Author Share Posted December 30, 2014 This popped up in my log, same error for all files: 2014-12-30 20:57:14.3783 Error - DtoUtils: ServiceBase<TRequest>::Service Exception *** Error Report *** Version: 3.0.5464.40000 Command line: /opt/mediabrowser/MediaBrowser.Server.Mono.exe -programdata /var/lib/mediabrowser Operating system: Unix 3.13.0.43 Processor count: 4 64-Bit OS: True 64-Bit Process: True Program data path: /var/lib/mediabrowser Mono: 3.10.0 (tarball Wed Nov 5 12:50:04 UTC 2014) Application Path: /opt/mediabrowser/MediaBrowser.Server.Mono.exe Object reference not set to an instance of an object System.NullReferenceException at MediaBrowser.Server.Implementations.Devices.DeviceManager.GetUploadPath (System.String deviceId) [0x00000] in <filename unknown>:0 at MediaBrowser.Server.Implementations.Devices.DeviceManager+<AcceptCameraUpload>c__async1.MoveNext () [0x00000] in <filename unknown>:0 2014-12-30 20:57:14.3783 Error - HttpServer: Error processing request for /mediabrowser/Devices/CameraUploads?DeviceId=KJuLZabhvFyor5NA+x1lCYATcHs=&Name=WP_20141229_12_22_04_Pro.jpg&Id=Camera%20Roll.WP_20141229_12_22_04_Pro.jpg&Album=Camera%20Roll *** Error Report *** Version: 3.0.5464.40000 Command line: /opt/mediabrowser/MediaBrowser.Server.Mono.exe -programdata /var/lib/mediabrowser Operating system: Unix 3.13.0.43 Processor count: 4 64-Bit OS: True 64-Bit Process: True Program data path: /var/lib/mediabrowser Mono: 3.10.0 (tarball Wed Nov 5 12:50:04 UTC 2014) Application Path: /opt/mediabrowser/MediaBrowser.Server.Mono.exe Object reference not set to an instance of an object ServiceStack.HttpError No Stack Trace Available Link to comment Share on other sites More sharing options...
KRA 39 Posted January 16, 2015 Author Share Posted January 16, 2015 (edited) Updated to MBS Versjon 3.0.5490.2 and WinPhone app 8.0.65.0 Still not uploading from phone. I tried to manually open the url listed in the log, this is the error I got (I also deleted the access token, and logged in on the phone again, no change. Then deleted the device and restarted, still not uploading) Snapshot of GetCameraUploads generated by ServiceStack on 1/16/2015 10:16:28 PM view json datasource from original url: http://192.168.10.205:8096/mediabrowser/Devices/CameraUploads?DeviceId=KJuLZabhvFyor5NA+x1lCYATcHs=&Name=WP_20130831_022.jpg&Id=Saved%20Pictures.WP_20130831_022.jpg&Album=Saved%20Pictures& in other formats: json xml csv jsv This reports json data source {"ResponseStatus":{"ErrorCode":"SecurityException","Message":"Access token is invalid or expired.","StackTrace":" at MediaBrowser.Server.Implementations.HttpServer.Security.AuthService.ValidateSecurityToken (IServiceRequest request, System.String token) [0x00000] in <filename unknown>:0 \n at MediaBrowser.Server.Implementations.HttpServer.Security.AuthService.ValidateUser (IServiceRequest request, IAuthenticationAttributes authAttribtues) [0x00000] in <filename unknown>:0 \n at MediaBrowser.Server.Implementations.HttpServer.Security.AuthService.Authenticate (IServiceRequest request, IAuthenticationAttributes authAttribtues) [0x00000] in <filename unknown>:0 \n at MediaBrowser.Controller.Net.AuthenticatedAttribute.RequestFilter (IRequest request, IResponse response, System.Object requestDto) [0x00000] in <filename unknown>:0 \n at ServiceStack.ServiceStackHost.ApplyRequestFiltersSingle (IRequest req, IResponse res, System.Object requestDto) [0x00000] in <filename unknown>:0 \n at ServiceStack.ServiceStackHost.ApplyRequestFilters (IRequest req, IResponse res, System.Object requestDto) [0x00000] in <filename unknown>:0 \n at ServiceStack.Host.RestHandler.ProcessRequestAsync (IRequest httpReq, IResponse httpRes, System.String operationName) [0x00000] in <filename unknown>:0 "}}Close Window Response Status Error Code SecurityException Message Access token is invalid or expired. Stack Trace at MediaBrowser.Server.Implementations.HttpServer.Security.AuthService.ValidateSecurityToken (IServiceRequest request, System.String token) [0x00000] in <filename unknown>:0 at MediaBrowser.Server.Implementations.HttpServer.Security.AuthService.ValidateUser (IServiceRequest request, IAuthenticationAttributes authAttribtues) [0x00000] in <filename unknown>:0 at MediaBrowser.Server.Implementations.HttpServer.Security.AuthService.Authenticate (IServiceRequest request, IAuthenticationAttributes authAttribtues) [0x00000] in <filename unknown>:0 at MediaBrowser.Controller.Net.AuthenticatedAttribute.RequestFilter (IRequest request, IResponse response, System.Object requestDto) [0x00000] in <filename unknown>:0 at ServiceStack.ServiceStackHost.ApplyRequestFiltersSingle (IRequest req, IResponse res, System.Object requestDto) [0x00000] in <filename unknown>:0 at ServiceStack.ServiceStackHost.ApplyRequestFilters (IRequest req, IResponse res, System.Object requestDto) [0x00000] in <filename unknown>:0 at ServiceStack.Host.RestHandler.ProcessRequestAsync (IRequest httpReq, IResponse httpRes, System.String operationName) [0x00000] in <filename unknown>:0 Edited January 16, 2015 by KRA Link to comment Share on other sites More sharing options...
RalphR 0 Posted January 21, 2015 Share Posted January 21, 2015 (edited) Is camera upload also possible on a android device-clients ? Thanks in advance,.... Edited January 21, 2015 by RalphR Link to comment Share on other sites More sharing options...
da1stprince 4 Posted February 10, 2015 Share Posted February 10, 2015 im very interested in a solution to this issue as well Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now