Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Operation not permitted #6443

Closed
lzz212 opened this issue Jun 25, 2024 · 0 comments
Closed

Operation not permitted #6443

lzz212 opened this issue Jun 25, 2024 · 0 comments

Comments

@lzz212
Copy link

lzz212 commented Jun 25, 2024

Hello
I am currently attempting to set up a macOS Spice client using CocoaSpice, and have been referring to both the Readme of CocoaSpice as well as the relevant code within the iOS-Remote portion of the UTM project for guidance. However, I've encountered an issue where, when trying to connect to our own Spice server, an error related to Gio is reported.

And, in the UTM project, is there currently no entry point available for connecting to a Spice server?

Following is log:

2024-06-24 17:30:38,279 DEBUG GLib-GIO-_g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
2024-06-24 17:30:38,288 DEBUG GSpice-../src/spice-channel.c:2718 main-1:0: Open coroutine starting 0x1198140d0
2024-06-24 17:30:38,288 DEBUG GSpice-../src/spice-channel.c:2542 main-1:0: Started background coroutine 0x119813ea8
2024-06-24 17:30:38,288 DEBUG GSpice-../src/spice-session.c:2267 main-1:0: Using plain text, port 5936
2024-06-24 17:30:38,289 DEBUG GSpice-../src/spice-session.c:2198 open host 112.17.28.216:5936
2024-06-24 17:30:38,289 DEBUG GSpice-../src/spice-session.c:2120 main-1:0: connecting 0x1140ffdc8...
2024-06-24 17:30:38,289 DEBUG GLib-GIO-GSocketClient: Starting new address enumeration
2024-06-24 17:30:38,289 DEBUG GLib-GIO-GSocketClient: Address enumeration succeeded
2024-06-24 17:30:38,290 DEBUG GLib-GIO-GSocketClient: Starting TCP connection attempt
2024-06-24 17:30:38,290 DEBUG GLib-GIO-GSocketClient: Connection attempt failed: Operation not permitted
2024-06-24 17:30:38,290 DEBUG GLib-GIO-GSocketClient: Starting new address enumeration
2024-06-24 17:30:38,290 DEBUG GLib-GIO-GSocketClient: Address enumeration completed (out of addresses)
2024-06-24 17:30:38,290 DEBUG GLib-GIO-GSocketClient: Address enumeration failed: (null)
2024-06-24 17:30:38,290 DEBUG GLib-GIO-GSocketClient: Connection failed: Could not connect to 112.17.28.216: Operation not permitted
2024-06-24 17:30:38,290 DEBUG GSpice-../src/spice-session.c:2104 main-1:0: connect ready
2024-06-24 17:30:38,290 DEBUG GSpice-../src/spice-session.c:2279 main-1:0: open host: Could not connect to 112.17.28.216: Operation not permitted
2024-06-24 17:30:38,290 DEBUG GSpice-../src/spice-channel.c:2572 main-1:0: Connect error
2024-06-24 17:30:38,290 DEBUG GSpice-../src/spice-channel.c:2691 main-1:0: Coroutine exit main-1:0
2024-06-24 17:30:38,290 DEBUG GSpice-../src/spice-channel.c:2881 main-1:0: reset
2024-06-24 17:30:38,290 DEBUG GSpice-../src/channel-main.c:1590 agent connected: no
2024-06-24 17:30:38,290 DEBUG (null)-/Users/zz/Library/Developer/Xcode/DerivedData/TestSpice-fyonchwqsmpurdfjqnwiytagkpez/SourcePackages/checkouts/CocoaSpice/Sources/CocoaSpice/CSConnection.m:139 [CocoaSpice] SPICE agent connected: 0
spiceAgentDisconnected
2024-06-24 17:30:38,290 DEBUG GSpice-../src/spice-channel.c:2829 main-1:0: channel reset
2024-06-24 17:30:38,290 DEBUG GSpice-../src/spice-channel.c:2430 main-1:0: Delayed unref channel 0x1198140d0
spiceErrorCSConnectionError(rawValue: 1), message:Optional("Could not connect to 112.17.28.216: Operation not permitted")

@lzz212 lzz212 closed this as completed Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant