I have been trying to get my old Roku channel converted into the new Direct Publisher Roku channel for a few months now, and I’m still hitting a wall at Unable to download from feedUrl.error. Hopefully someone here can help me.
I am hosting the JSON file on my server. I can access the URL when I put it into chrome or any other IE no problem. It’s not HTTPS. My web host is Host Gator. My videos are hosted in Vimeo Pro.
Here is what I’m seeing:
√ Properties / Updated
√ Feed URL / Updated
! Feed Status Unable to download from feedUrl
√ Branding / Updated
√ Layout / Updated
√ Categories / Updated
√ Channel Store Info / Updated
√ Monetization / Updated
√ Support Information / Updated
I tried hosting the JSON feed in my Dropbox, but that did not work either. Got an error having to do with Roku expecting JSON but getting text instead. I don’t know where else to host this JSON feed. And I’m assuming that this error does not pertain to the JSON feed itself, but of Roku not being able to get it from the server?
Can you you guys make a suggestion as to why I keep getting this error? And how to fix it?
If you check your webserver logs you will find a bunch of 406 errros. Web servers expect a useragent and other header info to be passed from the web client when a request is made. The Roku servers use http as a transport but don’t pass the all header info so the server becomes suspicious and doesn’t send.
Your URL can’t be HTTPS either.
You may need to disable ModSecurity in your Apache setup on your WebHost to get past the errors. The following thread discusses all of these issues a little more clearly.
https://forums.roku.com/viewtopic.php?t=99232[/url:3rccztr6]
If your hosting provider gives you access to cPanel you will find it under Security → ModSecurity.
If not, just call up your hosting provider and they will do it for you.
HostGator is just being difficult. Have them look at your logs for 406 errors and tell them it needs to be fixed.
You can also try putting the following in your .htaccess file:
SecFilterEngine Off
SecFilterScanPOST Off
You MIGHT have better luck with HostGator disabling ModSecurity if you call them.
If neither of these work you might have to go with a service like myjson.com.
I am not sure. I’ve never had to use it as all of the hosting companies I have worked with have no issue disabling ModSecurity.
Others on here would know better.
Enjoy!
Hey, what hosting companies do you guys use that allow you to disable modsecurity?
I called Host Gator, put in a ticket, and they wouldn’t do it. This is what they said:
Hello,
Apologies, unfortunately the rule your installation is hitting is a rule which we are unable to whitelist within our shared hosting packages. This is because the set of rules which this belongs to are among the highest security risk. As such, if you require this rule whitelisted you will need to move to a VPS or Dedicated solution where you will have greater control over the implemented mod security rules. You may review our offerings for these package types below. Please let us know if you have any further questions or concerns
I use Bluehost for most of my projects. They give the option to disable in cPanel.
Can I help You with Medhahosting.com
or
https://medhahosting.com/cpanel-server-management/
Troubleshooting unexpected system failure and backup errors
• SSL and virus-oriented issues
• Creating and disabling CPanel accounts
• Name server Setup. Backup Restoration. Disk space issues
• Server Log Monitoring. IP blocking and security related issues
• MySQL optimization. TMP Directory Issues
• Database and FTP related issue detection and resolution
• Cron Job failures
• SSL related issues
• DNS related errors
• Multiple Website Hosting issues
I host my feed on Github. You need to set up Github Pages (gh-pages branch) and use a robots.txt file with the user agent set to disallow. It makes it public, but only if you know where it is. Then you don’t need to change any settings.
You could also host from a public folder and use the robots.txt approach.