Comments (2)
Hi @jaredsinclair,
I think I see what's going on and have hopefully fixed the issue. I updated Rails last night and something did change that would prevent Unread from syncing.
Looking at the traffic from Charles Proxy I can see most requests that Unread makes for an initial sync go through successfully:
GET /v2/unread_entries.json HTTP/1.1
Host: api.feedbin.me
User-Agent: Unread/105 (iPhone; iOS 7.1.1; Scale/2.00)
Authorization: Basic XXXXXXXXXXXXXXXX==
However the /entries.json
requests that are failing look a little different:
GET /v2/entries.json HTTP/1.1
Host: api.feedbin.me
User-Agent: Unread/105 (iPhone; iOS 7.1.1; Scale/2.00)
Authorization: XXXXXXXXXXXXXXXX==
The difference is that the Authorization
header does not specify that it is using Basic
authentication.
In other words:
Authorization: Basic XXXXXXXXXXXXXXXX==
WorksAuthorization: XXXXXXXXXXXXXXXX==
Does not work
Why did this stop working? Good question.
I found a pull request that has been merged into the version of Rails that Feedbin is now using that checks if the authorization scheme is Basic
.
I've made a change to prepend Basic
to Authorization
headers that are missing it which should allow customers to sync successfully again.
It would probably also be good to have Unread use Basic
in a future update.
from feedbin-api.
Thanks! I will do that.
Sent from my iPhone
On Jul 8, 2014, at 12:05 PM, Ben Ubois [email protected] wrote:
Hi @jaredsinclair,
I think I see what's going on and have hopefully fixed the issue. I updated Rails last night and something did change that would prevent Unread from syncing.
Looking at the traffic from Charles Proxy I can see most requests that Unread makes for an initial sync go through successfully:
GET /v2/unread_entries.json HTTP/1.1
Host: api.feedbin.me
User-Agent: Unread/105 (iPhone; iOS 7.1.1; Scale/2.00)
Authorization: Basic XXXXXXXXXXXXXXXX==
However the /entries.json requests that are failing look a little different:GET /v2/entries.json HTTP/1.1
Host: api.feedbin.me
User-Agent: Unread/105 (iPhone; iOS 7.1.1; Scale/2.00)
Authorization: XXXXXXXXXXXXXXXX==
The difference is that the Authorization header does not specify that it is using Basic authentication.In other words:
Authorization: Basic XXXXXXXXXXXXXXXX== Works
Authorization: XXXXXXXXXXXXXXXX== Does not work
Why did this stop working? Good question.I found a pull request that has been merged into the version of Rails that Feedbin is now using that checks if the authorization scheme is Basic.
I've made a change to prepend Basic to Authorization headers that are missing it which should allow customers to sync successfully again.
It would probably also be good to have Unread use Basic in a future update.
—
Reply to this email directly or view it on GitHub.
from feedbin-api.
Related Issues (20)
- Icons endpoint does not match icons seen in Feedbin
- How to Post a new subscription to a Tag? HOT 1
- Trying to use Taggings - but I have confusing results.
- Cannot Delete Subscription
- Feature Request: Remove Pagination when fetching Saved Searches' entry IDs only. HOT 1
- created_at date in the future? HOT 1
- Update entries state from unread to read HOT 1
- get entries tags
- [feedbin api feedback] Confusing extract-full-content return value HOT 1
- Last-Modified header is not returned when using /v2/feeds/{feed_id}/entries.json HOT 2
- Count unread entries HOT 4
- Airshow api?
- Publish and maintain OpenAPI schema
- Get entries by tag? HOT 2
- Newsletter metadata HOT 2
- Retrieve icon of individual subscription HOT 2
- Document the maximum number of entries that can be retrieve with the `id` query parameter HOT 2
- Document missing Content-Type headers for deleting unread entries HOT 3
- Starred items returning error 403 HOT 2
- Unable to retrieve starred entries HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from feedbin-api.