web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Unanswered

WebSocket Connection from offline FieldServiceMobile

(1) ShareShare
ReportReport
Posted on by 25

Hello everyone,

we encounter a problem using web sockets from within the Field Service Mobile app (downloaded from Microsoft Store).

On some computers we are able to open a web socket connection to a web socket server on the same machine:
const socket = new WebSocket("ws://localhost:9001");

On other computers the connection attempts fail with timeout errors and the web sockets get closed.
We have exactly the same app version isntalled on both machines.
Opening a web socket connection in the Edge browser with the same locally hosted web socket server works fine on all computers.


Information of the computer where it works:

Microsoft Dynamics 365 Field Service app: 2022 release wave 2 enabled App name: Field Service Mobile Organization name: SICK DEV SANDBOX Server version: 9.2.22103.00194 App version: 3.22113.10.0.0 (1,1) Client version: 1.4.4957-2210.3 Session ID: 7009f132-9c4d-44d3-a825-c4fed844ea18 External correlation ID: 5ba6213a-0edb-4c3d-98bb-35a44a3710e2 Time: 2.12.2022 11:02:04 GMT+0100 (Mitteleuropäische Normalzeit) Edge Version: 107.0.1418.62 (Offizielles Build) (64-Bit) --------------

Information of the computer where it does not work (same as above):

Microsoft Dynamics 365 Field Service app: 2022 release wave 2 enabled App name: Field Service Mobile Organization name: SICK DEV Server version: 9.2.22103.00194 App version: 3.22113.10.0.0 (1,1) Client version: 1.4.4957-2210.3 Session ID: ede9a6cd-fc9f-4336-9e11-a15f98bed07c External correlation ID: 97b70327-a80c-4efc-854b-589ee7932260 Time: 12/2/2022 11:11:17 AM GMT+0100 (Central European Standard Time) Edge Version: 107.0.1418.62 (Official build) (64-bit) --------------


pastedimage1671121784541v1.png

Are there some settings in the app that would prevent the socket connection?

Even though the connections work fine in MS Edge, we compared all Edge settings and found no difference there. The problem occurs in both, online and offline mode of the Field Service Mobile app.

I have the same question (0)
  • Leco Lv Profile Picture
    on at

    Hi RoKon,

    It seems to be related to the following details. I hope it helps.

    Proxy servers and firewalls. Check if you have a proxy server or firewall that blocks WebSocket access. Try using a different web browser.

    stackoverflow.com/.../websocket-connection-to-ws-mydomain-com8084-peer-id-123-failed-error-in-c
    stackoverflow.com/.../websocket-connection-to-failed-error-in-connection-establishment-neterr-conn

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 55 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 27 Most Valuable Professional

#3
Soundari Profile Picture

Soundari 15

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans