简体   繁体   English

无法使用来自 Mobile Native Android / iOS 应用程序的 Stomp 客户端使用 ws 或 wss 进行连接

[英]Unable to connect using Stomp client from Mobile Native Android / iOS app Using ws or wss

Unable to connect using Stomp client from Mobile Native Android / iOS app Using ws or wss from Using ws or wss.无法使用来自 Mobile Native Android / iOS 应用程序的 Stomp 客户端使用 ws 或 wss 从使用 ws 或 wss 进行连接。

Gives following Error:给出以下错误:

"Websocket: onClosed : Expected HTTP 101 response but was '200 'Response{protocol=http/1.1, code=200, message=, url= https://myURL/ }" “Websocket:onClosed:预期的 HTTP 101 响应,但为 '200'响应{protocol=http/1.1, code=200, message=, url= https://myURL/ }”

Working fine when try to connect open network server.尝试连接开放网络服务器时工作正常。

But unable to connect ngnix configured server.但是无法连接ngnix配置的服务器。 Where Socket connected successfully from Web/ Web view.从 Web/Web 视图成功连接 Socket 的地方。

It's not a real problem.这不是一个真正的问题。 The server tells you it try to elevate HTTP request in as WebSocket request.服务器告诉您它尝试将 HTTP 请求提升为 WebSocket 请求。

My project is still a work in progress, but I think it could be useful as case study.我的项目仍在进行中,但我认为它作为案例研究很有用。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法在android中将websocket与wss连接 - Unable to connect websocket with wss in android IBM Worklight 6.0-使用HTTPS时,本地Android应用无法连接 - IBM Worklight 6.0 - Native Android app unable to connect when using HTTPS 求一个简单的Android示例连接到Spring websocket(使用STOMP和sockjs) - Seeking a simple Android example to connect to Spring websocket (using STOMP and sockjs) 使用ADFS的本机应用(iOS / Android)自动化 - Native app (ios/android) autentication using ADFS 是否可以使用.NET开发本机Android和IOS移动应用程序? - Is it possible to develop native Android and IOS Mobile Application using .NET? 无法使用PHP从Android连接到MySQL - Unable to connect to MySQL from Android using PHP 尝试使用Android异步Http客户端将android应用连接到服务器 - trying to connect an android app to a server using Android Asynchronous Http Client 无法使用XAMPP将使用JDBC的Android App连接到MYSQL数据库 - Unable to connect android App using JDBC to MYSQL database using XAMPP 在通过 WSS 从 websocket 服务器接收超过 16KB 的二进制消息时,原生 Android 应用程序上的 Tyrus websocket 客户端异常关闭 - Tyrus websocket client on native Android app closes abnormally on receiving more than 16KB binary messages from websocket server over WSS 恢复从iOS和Android上使用Corona sdk编写的移动应用程序下载大文件的下载 - Resume a download of a large file from a mobile app written using corona sdk on ios and android
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM