将Web3 Websocket连接到Azure以太网PoA网络无法正常工作 [英] Connecting Web3 Websocket to Azure Ethereum PoA Network not working

查看:119
本文介绍了将Web3 Websocket连接到Azure以太网PoA网络无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好, 


我使用Azure Marketplace中的安装程序设置了以太坊PoA网络。安装后,RPC端点似乎没问题。 websocket端点给我带来了问题。即使调用web3.eth.getBlock(0)也不起作用。我收到错误消息
"格式错误的HTTP消息"或者"未找到方法"。 


我不确定我做错了什么或忘记了什么。我还在LoadBalancer和Network Security Group中添加了websocket端口。


任何人都知道我是否遗漏了什么?

解决方案

感谢您的反馈jackvar,


请确认您已按照此文档中描述的所有步骤操作:  https://docs.microsoft.com/en-us/azure/blockchain/templates/ethereum-poa-deployment


另外,请按照此处的问题排查步骤告诉我们您的搜索结果:  https://docs.microsoft.com/en-us/azure/blockchain/workbench/troubleshooting


谢谢!


Hi everyone, 

I set up a Ethereum PoA Network using the Setup from the Azure Marketplace. After installing it, the RPC endpoint seems to be fine. The websocket endpoint is giving me problems. Even a call of web3.eth.getBlock(0) does not work. I receive the error message "Malformed HTTP message" or "Method not found". 

I am not really sure if I did something wrong or if I forgot anything. I added the websocket port also in the LoadBalancer and the Network Security Group.

Anyone having an idea if I am missing something?

解决方案

Thanks for your feedback jackvar,

Please confirm that you followed all steps described on this doc: https://docs.microsoft.com/en-us/azure/blockchain/templates/ethereum-poa-deployment

Also please follow the troubleshooting steps here and let us know what you found: https://docs.microsoft.com/en-us/azure/blockchain/workbench/troubleshooting

Thank you!


这篇关于将Web3 Websocket连接到Azure以太网PoA网络无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆