-
-
Notifications
You must be signed in to change notification settings - Fork 403
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
Newsletter: This email is only available on devices that support HTML. #1116
Comments
Hi! |
In the EAP branch there is additional logging. Can you please set your logging to DEBUG and then try and send a test and post the results back here? |
Done with latest 2.1.1427 EAP |
@tidusjar is working on a fix to solve this problem |
Still same for me on emby server and ombi eap 2.1.1482 need any further logs? |
@BAS-MB Is there any errors in Emby when you run this? |
This is what I am seeing in the logs when the newsletter is triggered to send:
|
can you update to EAP? |
Updated to 2.1.1496
|
Can you go into the scheduled settings are manually run the Emby Content
Cacher job by pressing the refresh icon. Wait for it to say Success and
then try again?
…On Mon, 6 Mar 2017, 10:25 pm applbaum, ***@***.***> wrote:
Updated to 2.1.1496
Still getting email only available on devices that support HTML. Here are
the logs when the newsletter triggers.
2017/03/06 17:20:10.955 Ombi.Api.EmbyApi Error: Could not get the media
item's information 2017/03/06 17:20:10.971 Ombi.Api.EmbyApi Error:
Newtonsoft.Json.JsonReaderException: Unexpected character encountered while
parsing value: O. Path '', line 0, position 0. at
Newtonsoft.Json.JsonTextReader.ParseValue() at
Newtonsoft.Json.JsonTextReader.Read() at
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader
reader, JsonContract contract, Boolean hasConverter) at
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader
reader, Type objectType, Boolean checkAdditionalContent) at
Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type
objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value,
Type type, JsonSerializerSettings settings) at
Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value,
JsonSerializerSettings settings) at Ombi.Api.EmbyApi.GetInformation(String
mediaId, EmbyMediaType type, String apiKey, String userId, Uri baseUri) in
C:\projects\requestplex\Ombi.Api\EmbyApi.cs:line 198
Newtonsoft.Json.JsonReaderException: Unexpected character encountered while
parsing value: O. Path '', line 0, position 0. at
Newtonsoft.Json.JsonTextReader.ParseValue() at
Newtonsoft.Json.JsonTextReader.Read() at
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader
reader, JsonContract contract, Boolean hasConverter) at
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader
reader, Type objectType, Boolean checkAdditionalContent) at
Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type
objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value,
Type type, JsonSerializerSettings settings) at
Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value,
JsonSerializerSettings settings) at Ombi.Api.EmbyApi.GetInformation(String
mediaId, EmbyMediaType type, String apiKey, String userId, Uri baseUri) in
C:\projects\requestplex\Ombi.Api\EmbyApi.cs:line 198 2017/03/06
17:20:10.971 Ombi.Services.Jobs.EmbyAvailabilityChecker Debug: Requests
that will be updated count 3 2017/03/06 17:20:10.986 Ombi.Api.EmbyApi
Debug: ResponseContent 2017/03/06 17:20:11.002 Ombi.Api.EmbyApi Debug: One
or more errors occurred. 2017/03/06 17:20:11.018 Ombi.Api.EmbyApi Debug:
ResponseStatusCode 2017/03/06 17:20:11.018 Ombi.Api.EmbyApi Debug:
InternalServerError 2017/03/06 17:20:11.033
Ombi.Services.Notification.EmbyNotificationEngine Debug: Notifying Users
Count 0 2017/03/06 17:20:11.033 Ombi.Api.EmbyApi Debug: ResponseError
2017/03/06 17:20:11.049 Ombi.Api.EmbyApi Debug: No Error 2017/03/06
17:20:11.064 Ombi.Api.EmbyApi Debug: ResponseException 2017/03/06
17:20:11.346 Ombi.Api.EmbyApi Debug: System.Exception: Exception of type
'System.Exception' was thrown. System.Exception: Exception of type
'System.Exception' was thrown. 2017/03/06 17:20:11.361
Ombi.Services.Jobs.RecentlyAddedNewsletter.EmbyAddedNewsletter Error:
Newtonsoft.Json.JsonReaderException: Unexpected character encountered while
parsing value: O. Path '', line 0, position 0. at
Newtonsoft.Json.JsonTextReader.ParseValue() at
Newtonsoft.Json.JsonTextReader.Read() at
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader
reader, JsonContract contract, Boolean hasConverter) at
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader
reader, Type objectType, Boolean checkAdditionalContent) at
Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type
objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value,
Type type, JsonSerializerSettings settings) at
Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value,
JsonSerializerSettings settings) at Ombi.Api.EmbyApi.GetInformation(String
mediaId, EmbyMediaType type, String apiKey, String userId, Uri baseUri) in
C:\projects\requestplex\Ombi.Api\EmbyApi.cs:line 230 at
Ombi.Services.Jobs.RecentlyAddedNewsletter.EmbyAddedNewsletter.GetHtml(Boolean
test) in
C:\projects\requestplex\Ombi.Services\Jobs\RecentlyAddedNewsletter\EmbyRecentlyAddedNewsletter.cs:line
134 at
Ombi.Services.Jobs.RecentlyAddedNewsletter.EmbyAddedNewsletter.GetNewsletterHtml(Boolean
test) in
C:\projects\requestplex\Ombi.Services\Jobs\RecentlyAddedNewsletter\EmbyRecentlyAddedNewsletter.cs:line
84 Newtonsoft.Json.JsonReaderException: Unexpected character encountered
while parsing value: O. Path '', line 0, position 0. at
Newtonsoft.Json.JsonTextReader.ParseValue() at
Newtonsoft.Json.JsonTextReader.Read() at
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader
reader, JsonContract contract, Boolean hasConverter) at
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader
reader, Type objectType, Boolean checkAdditionalContent) at
Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type
objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value,
Type type, JsonSerializerSettings settings) at
Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value,
JsonSerializerSettings settings) at Ombi.Api.EmbyApi.GetInformation(String
mediaId, EmbyMediaType type, String apiKey, String userId, Uri baseUri) in
C:\projects\requestplex\Ombi.Api\EmbyApi.cs:line 230 at
Ombi.Services.Jobs.RecentlyAddedNewsletter.EmbyAddedNewsletter.GetHtml(Boolean
test) in
C:\projects\requestplex\Ombi.Services\Jobs\RecentlyAddedNewsletter\EmbyRecentlyAddedNewsletter.cs:line
134 at
Ombi.Services.Jobs.RecentlyAddedNewsletter.EmbyAddedNewsletter.GetNewsletterHtml(Boolean
test) in
C:\projects\requestplex\Ombi.Services\Jobs\RecentlyAddedNewsletter\EmbyRecentlyAddedNewsletter.cs:line
84 2017/03/06 17:20:11.381
Ombi.Services.Jobs.RecentlyAddedNewsletter.RecentlyAddedNewsletter Debug:
2017/03/06 17:20:11.397
Ombi.Services.Jobs.RecentlyAddedNewsletter.RecentlyAddedNewsletter Debug:
Entering SendNewsletter 2017/03/06 17:20:11.475
Ombi.Services.Jobs.RecentlyAddedNewsletter.RecentlyAddedNewsletter Debug:
Created Plain/HTML MIME body 2017/03/06 17:20:12.275
Ombi.Services.Jobs.RecentlyAddedNewsletter.RecentlyAddedNewsletter Debug:
Sending 2017/03/06 17:20:16.743
Ombi.Services.Jobs.RecentlyAddedNewsletter.RecentlyAddedNewsletter Debug:
Sent
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1116 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AGVaLDXKhc3wTtBFXN87WyFRMIWGlZT1ks5rjIfNgaJpZM4MAMSM>
.
|
Same result.
|
What's in the Emby logs when you get this error in Ombi? |
2017-03-13 17:20:00.4615 Info HttpServer: HTTP Response 500 to 192.168.1.35. Time: 0ms. http://192.168.1.35:8096/emby/users/7aaf123e0f7a401bad98defabb46c6b1/items/a4a4aa51ee121069d1e4686f6db313eb |
I just updated to 2.1.1538 and was able to send out a newsletter without receiving the message "This email is only available on devices that support HTML." It sent out my entire library as new content even though I had previously used the newsletter function. I will continue to test and report back. |
Also tested with latest EAP branch. No error in Mail, content shows as expected! Thanks @tidusjar |
Ombi Version:
Tested with 2.1.1401 til 2.1.1412
Update Branch:
Early Access Preview/development (switched to check a behaviour change)
Operating System:
Win7 Enterprise
Mono Version (only if your not on windows)
Applicable Logs (from
/logs/
directory or the Admin page):Problem Description:
For me, every mail is working except newsletter. When the newsletter is send, Ombi (latest dev build) spits out this error above and the received E-Mail just contains "This email is only available on devices that support HTML."
E-Mails got sent over Gmail. Tried port 465 and 587, sending works with both, but no content is shown. When I first set up Ombi for Emby when it came out, content was shown in newsletter. The problem occured from one version to another.
Reproduction Steps:
The text was updated successfully, but these errors were encountered: