When ABE is enabled last.fm fails to connect to Spotify (disabling ABE fixes the problem). The Firefox console is filled with messages looking something like:
21:30:40.631 Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://gfcqfnwmey.spotilocal.com:4370/remote/pause.json?pause=true&csrf=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&oauth=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&ref=http%3A%2F%2Fwww.last.fm%2Fhome&cors=. (Reason: CORS request failed).1 <unknown>
I think spotilocal.com is my Spotify client's API (it resolves to 127.0.0.1).
How can I configure ABE to allow last.fm to connect to Spotify?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
Site ^https://[^/:]*\.spotilocal\.com[/:]
Accept from www.last.fm
# Prevent Internet sites from requesting LAN resources.
Site LOCAL
Accept from LOCAL
Deny
Console still gets filled with blocked requests. The request addresses differ slightly depending on what you are trying to do (start, pause, skip, etc). The port also seems random. For example this time I saw a lot of copies of the following but with different port numbers:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://ciqkfrjwxb.spotilocal.com:4380/service/version.json?service=remote&ref=http%3A%2F%2Fwww.last.fm%2Fhome&cors=. (Reason: CORS request failed). <unknown>
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
Then please post the message(s) from ABE as suggested above, since the messages about the failed CORS request evidently doesn't provide enough information. Thanks
*Always* check the changelogs BEFORE updating that important software!
# Prevent Internet sites from requesting LAN resources.
Site LOCAL
Accept from LOCAL .last.fm
Deny
If it doesn't work there is something else not LOCAL involved here, and without seeing the ABE console message(s) I can't help further, sorry.
(Could they be getting pushed out by other messages, can you increase the scrolback limit of the Browser Console somehow? maybe http://forums.mozillazine.org/viewtopic ... &t=2882867?)
*Always* check the changelogs BEFORE updating that important software!