You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this an issue specifically with Appium Inspector?
I have verified that my issue does not occur with Appium, and should be investigated as an Appium Inspector issue
Is there an existing issue for this?
I have searched the existing issues
Current Behavior
Describe the bug
When starting a session:
Error
Failed to create session. Unexpected token '<', "<html> <he"... is not valid JSON
The only thing that changes the error is to remove the http:// in the Host value, which gives me a different error: Failed to create session. Unexpected token '<', "<!DOCTYPE "... is not valid JSON.
Expected Behavior
I would like to receive a clearer message. When http:// is copied from appium, Then warn the user that http:// shouldn't be there. Using placeholder text to communicate when a specific format is needed is not accessible, especially contrast-insufficient placeholder text.
Adding that fixing the address, but using the wrong port number produces a similarly cryptic error message, though this one is worse between the two. Thank you!
@award-adhoc could you please provide the rest of the Appium server log, including the moment when you tried to start a session and received this error?
I do not believe the issue is caused by the http:// in the Remote Host field - I tried to start a session with the same session parameters as in your screenshot, and I got this error:
It's not ideal, but it does show that the attempted URL is malformed, suggesting that http:// should be removed from the Host field.
Is this an issue specifically with Appium Inspector?
Is there an existing issue for this?
Current Behavior
Describe the bug
When starting a session:
The only thing that changes the error is to remove the http:// in the Host value, which gives me a different error: Failed to create session. Unexpected token '<', "<!DOCTYPE "... is not valid JSON.
Expected Behavior
I would like to receive a clearer message.
When http:// is copied from appium,
Then warn the user that http:// shouldn't be there. Using placeholder text to communicate when a specific format is needed is not accessible, especially contrast-insufficient placeholder text.
Operating System
Mac
Appium Inspector Version
App Version: 2024.9.1
Appium Version
2.12.0
Further Information
Link to Appium Server logs
appium server log level debug
Environment
The text was updated successfully, but these errors were encountered: