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

getting java script error #4

Closed
high-solutions opened this issue Feb 21, 2021 · 7 comments
Closed

getting java script error #4

high-solutions opened this issue Feb 21, 2021 · 7 comments

Comments

@high-solutions
Copy link

high-solutions commented Feb 21, 2021

i'm getting a Javascript error as soon as i "connect" with obs:
A JavaScript error occurred in the main process:
Uncaught Exception:
Error: can't decode incoming message: invalid type tag in incoming OSC message, must start with comma
at Socket. (/Applications/OBSosc.app/Contents/Resources/app/node_modules/node-osc/dist/lib/Server.js:29:23)
at Socket.emit (events.js:315:20)
at UDP.onMessage [as onmessage] (dgram.js:910:8)

any idea if i did something wrong?
It is a great great super great app if it works, the osc syntax looks amazing to work with but i can't get past this error.

I'm even getting this error when no other OSC apps or OBS is running

@jshea2
Copy link
Owner

jshea2 commented Feb 21, 2021 via email

@high-solutions
Copy link
Author

high-solutions commented Feb 21, 2021

Sorry, ofc i should have said I'm running on mac.

I'm using OSCulator and bitfocus companion (and also tested with qlab)
The strange thing is that if I close everything osc related I stil get this message but only on specific ports, so in the range 3333 to more or les 3380 (probably al in the 3000 or 3300 range).

When i switched to 7070 and 5000 it was gone. I will research some more this evening.

By the way, if i let OSCulator listen on port 3333 when obsosc is closed there is nothing coming in

@jshea2
Copy link
Owner

jshea2 commented Feb 21, 2021

Hmm interesting.. I know if port 3333 is in use with another software, using 3333 in OBSosc can't bind

@jshea2
Copy link
Owner

jshea2 commented Feb 21, 2021

I will test with OSCulator and Bit companion later. I've only tested OBSosc with QLab, Open Stage Control, and Isadora

@high-solutions
Copy link
Author

Yeah but i'm not sure what could be running on port 3333, and its not only port 3333. But for now the issue is fixed. Only looking how to change the deffault settings for the port and password, but have to look in to that yet

@jshea2
Copy link
Owner

jshea2 commented Feb 23, 2021

You can probably hard code change the defualt values in the HTML file located in...
Show Package Contents > Contents > Resources > app > src > index.html
Just change the "value" for the one you want and save. (OSC IN Port is on line 32)
Port: <label for="oscinport"></label> <input type="text" id="oscinport" value="3333" size="5">

@high-solutions
Copy link
Author

Thanks! worked like a charm!

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

2 participants