autobahn.js 无法从 s3 访问文件

autobahn.js file is not accessible from s3

有一段时间我在我的项目中使用 autobahn.js 和 autobahn.min.js 文件直接链接自:

https://autobahn.s3.amazonaws.com/autobahnjs/latest/autobahn.js and 
https://autobahn.s3.amazonaws.com/autobahnjs/latest/autobahn.min.js

按照 http://autobahn.ws/ 网站上的建议。

今天我发现以上两个文件无法再通过这些链接访问。我唯一能看到的是 403 错误消息:拒绝访问。

我到处都找不到任何镜像。我尝试使用以下指令构建它们:http://autobahn.ws/js/building.html。没有这样的运气。我在哪里可以找到 autobahn.js 文件,以便在将来发生这种情况时下载它们?

试试这个 link https://github.com/crossbario/autobahn-js-built 。他们有文件

自己回答。不幸的是,作者决定按照描述从 Amazon S3 中删除所有文件:https://groups.google.com/forum/#!topic/autobahnws/aHxWgImJvCY

Hi,

we (Crossbar.io GmbH) have not only provided massive development funding of AutobahnJS, but also free hosting of AutobahnJS for development purposes (download it and host it yourself).

We asked people NOT to hot link to this bucket MULTIPLE times, as we have to pay for the traffic obviously.

Now, it seems, people don't get that.

Our traffic costs have persistently increased to a surprising level. I just wanted to delete the log folder alone in that bucket - and I have a hard time, the log files number in the 100k's!

There seem to be a number of highly frequented sites hot linking to our bucket.

Now, instead of injecting some nice JavaScript to completely take over all those sites (which is trivial and would take me half an hour to do!), we have decided to remove the whole bucket.

Dozens of sites will break. Not our problem.

Cheers, /Tobias

仍然可以在 github(实现 wamp v2 的文件)上找到较新的源文件。实现 wamp v1(autobahn-js 的 v.0.8.2)的最后一个版本可以在这个 repo 中找到: https://github.com/sergeyvolkov/autobahn-old

如果您使用我问题中的链接,它可以热插拔。其他旧版本的良好来源是通过 GitHub 页面上的发布挖掘: https://github.com/crossbario/autobahn-js/releases

有一个自述文件: https://github.com/crossbario/autobahn-js-built/blob/master/README.md

总结如下:

安装凉亭:

npm install -g bower

在您的网络目录中安装高速公路:

bower install autobahn

将您的链接更改为指向:

<script src="/bower_components/autobahnjs/autobahn.min.js"></script>

我不确定你为什么回复另一条评论 RE wamp v1 / v2,因为你发布的 URL 正在检索最新的。