skyhigh123 / siphon

Automatically exported from code.google.com/p/siphon
0 stars 0 forks source link

Error message "Could not start SIP user agent" #504

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start Siphon
2.
3.

What is the expected output? What do you see instead?
Instead normal start I get error message "Could not start SIP user agent". 
Status is Offline.

What version of the product are you using? On what operating system?
Version 3.9.8 on iOS 4.3.1

Please provide any additional information below.
Version 3.9.8 worked perfectly on iOS 4.2.1

Original issue reported on code.google.com by bratisla...@gmail.com on 6 Apr 2011 at 12:58

GoogleCodeExporter commented 9 years ago
I tested the current dev version on iPad with iOS 4.3.1. Everything works fine. 
I tested on not jailbreak device.

You could enable log level to detailed. And post here or send me the file 
(log.txt).
The file should be write in /var/mobile/Documents.

So could you test when I release the 3.9.9 version?

Original comment by samuelv0...@gmail.com on 6 Apr 2011 at 11:26

GoogleCodeExporter commented 9 years ago
It also works fine for me on iPad 1 with iOS 4.3.1. Mine is jailbroken, of 
course.

I get the above error when I try to start Siphon 3.9.8 on jailbroken iPhone 4 
with iOS 4.3.1.

Siphon 3.9.8 worked fine on both jailbroken iPhone 4 and iPad 1 with iOS 4.2.1.

I'll send you log file later in the day.

No problem about testing version 3.9.9.

Original comment by bratisla...@gmail.com on 7 Apr 2011 at 6:52

GoogleCodeExporter commented 9 years ago
I have enabled log level to detailed. But I can't find log file in 
/var/mobile/Documents.

Is there any other folder that I can look for log file?

Original comment by bratisla...@gmail.com on 7 Apr 2011 at 10:53

GoogleCodeExporter commented 9 years ago
Hi,

I have enabled log level to detailed. But I can't find log file in
/var/mobile/Documents.

Is there any other folder that I can look for log file?

Original comment by bratisla...@gmail.com on 7 Apr 2011 at 10:55

GoogleCodeExporter commented 9 years ago
Same problem for me I will try to get log files. iPhone 3GS here 4.3.1

Original comment by ch...@mihachris.com on 12 Apr 2011 at 12:46

GoogleCodeExporter commented 9 years ago
I also have no log files in the location listed above. When is 3.9.9 being 
released?

Original comment by ch...@mihachris.com on 12 Apr 2011 at 1:13

GoogleCodeExporter commented 9 years ago
It worked with iOS 4.2.1 on all devices.
It seems Siphon 3.9.8 with iOS 4.3.1:
    - doesn't work  on iPhone 4, iPhone 3GS and iPod touch 4G.
    - works on iPad 1

I need to find a device to test this configuration.

Original comment by samuelv0...@gmail.com on 12 Apr 2011 at 6:28

GoogleCodeExporter commented 9 years ago
I tried Siphon on iPod touch 4G with iOS 4.3.1 and everything works fine.
Tomorrow I will jailbreak to test it.

Original comment by samuelv0...@gmail.com on 13 Apr 2011 at 1:22

GoogleCodeExporter commented 9 years ago
I released a new beta version 3.9.9, it should work now.
Maybe you need to delete com.googlecode.siphon in 
/var/mobile/Library/Preferences.

Original comment by samuelv0...@gmail.com on 13 Apr 2011 at 9:42

GoogleCodeExporter commented 9 years ago
I deleted the preferences file then installed 3.9.9. I am still having the same 
problem. Still no log file. 

Original comment by ch...@mihachris.com on 13 Apr 2011 at 10:02

GoogleCodeExporter commented 9 years ago
Same with me. Still the same error.

iPhone 4 with iOS 4.3.1.

Original comment by bratisla...@gmail.com on 14 Apr 2011 at 6:40

GoogleCodeExporter commented 9 years ago
Very strange because it worked on my device :-(
Did you kill application and uninstall application before install the 3.9.9 ?

Original comment by samuelv0...@gmail.com on 14 Apr 2011 at 7:49

GoogleCodeExporter commented 9 years ago
Yes, twice I killed, uninstall, delet preference , install, setup , error

Original comment by ch...@mihachris.com on 14 Apr 2011 at 10:30

GoogleCodeExporter commented 9 years ago

Original comment by samuelv0...@gmail.com on 14 Apr 2011 at 1:09

GoogleCodeExporter commented 9 years ago
Are there any tests I can try?

Original comment by ch...@mihachris.com on 14 Apr 2011 at 1:15

GoogleCodeExporter commented 9 years ago
I have also killed and uninstalled Siphon, deleted preference files, restarted 
iPhone, reinstalled and configured Siphon.

Same error again.

Original comment by bratisla...@gmail.com on 14 Apr 2011 at 5:04

GoogleCodeExporter commented 9 years ago
Could you tell me what is the version number ? (look in the settings)
I don't reproduce your issue with 3.9.9 :-( 

Original comment by samuelv0...@gmail.com on 14 Apr 2011 at 6:19

GoogleCodeExporter commented 9 years ago
Yeah for sure3.9.9
This error only happens when it tries to connect. If i disable my sip account 
it will stop the error some coming and will return when I enable the account 
again.
I noticed I also get error when I click on Recents:
Fatal database error: Unable to initialize database: The operation couldn't be 
completed(Cocoa error 513.) 

Could the root of this be a permissions issue? No log file? unable to 
initialize database or Could no start sip agent? 
Are there certain file/folder permissions I can maybe check that are required 
by Siphon?
Maybe it's something old related to this. I have had my phone for a long time 
and in the early IOS 4.1 days I did enjoy older version of siphon. Would there 
be any files left over from that or do the jail breaked programs all get 
cleared on IOS upgrades?

Original comment by ch...@mihachris.com on 14 Apr 2011 at 7:49

GoogleCodeExporter commented 9 years ago
Hey! I think we are off to a good start. The fold that the log file is supposed 
to be in only has write access to root. I have gave it write access to everyone 
and then reloaded siphon.

I now have log.txt and CoreDataSiphon.sqlite in that folder. When I open the 
siphon no more error. It says connecting then goes unavailable. no pop up 
error. I am going to check my settings to make sure I got it 100%

Original comment by ch...@mihachris.com on 14 Apr 2011 at 8:09

GoogleCodeExporter commented 9 years ago
I can confirm I am 100% up and running after changing the permissions.
I added write permissions to /var/mobile/Documents . It was set to write only 
for root. I used ifile to add write access to group(mobile) and the World.
I have fixed an issue with my settings and now am 100% up and running. 

I think part of starting the sip user agent is creating the log file? even at 
no logging i noticed it even creates an empty log.txt file still.

Original comment by ch...@mihachris.com on 14 Apr 2011 at 8:20

GoogleCodeExporter commented 9 years ago
Good job
Work for me now =)

Original comment by alexis.b...@gmail.com on 14 Apr 2011 at 8:37

GoogleCodeExporter commented 9 years ago
Good news. It's very weird, because application should be run with mobile 
account right. And the directory right of /var/mobile should be allow to write 
in the tree.

Maybe it's an issue from jailbreak

Original comment by samuelv0...@gmail.com on 14 Apr 2011 at 8:54

GoogleCodeExporter commented 9 years ago
Thanks all for the info.
Here is how I have fixed mine.  Logged on my 3GS with PuTTY(make sure changing 
the default password)

iPhone:~ root# chown -R mobile /var/mobile/Documents/

Original comment by Opposite...@gmail.com on 14 Apr 2011 at 10:22

GoogleCodeExporter commented 9 years ago
On my device the path: /var/mobile/Documents/ seems that doesn't exist.
Here is my commands:
  cd /var/mobile
  mkdir Documents
  chown mobile Documents

Original comment by samuelv0...@gmail.com on 14 Apr 2011 at 11:11

GoogleCodeExporter commented 9 years ago
Fixed in 3.9.10

Original comment by samuelv0...@gmail.com on 14 Apr 2011 at 11:34

GoogleCodeExporter commented 9 years ago
I still have this issue with 3.9.10. Do i need to do some manual change of 
permissions to make it work?

Original comment by berne...@googlemail.com on 15 Apr 2011 at 5:51

GoogleCodeExporter commented 9 years ago
3.9.10 worked when I upgraded my already fixed 3.9.9. I uninstalled 3.9.10, 
reverted my folder permissions to how I found them when 3.9.9 wasn't working 
and deleted the 2 files siphon created. Installed 3.9.10 and same problem. It 
appears your script didn't affect the permissions of my folder. I think your 
script will only work as root. My documents folder owner is root and your 
script didn't change that.

Original comment by ch...@mihachris.com on 15 Apr 2011 at 3:46

GoogleCodeExporter commented 9 years ago
I installed version 3.9.11 fine on a iOS 4.3.2 jailbroken but
after a restoration with iTunes at same os level 4.3.2 (then re-jailbreak), 
this error occurred (version 3.9.11).
The rights were : drwxr-xr-x  3 root   mobile  102 May  3 20:07 Documents/
the command (as root) "chown -R mobile /var/mobile/Documents/" solved the issue.

Original comment by franck.g...@gmail.com on 3 May 2011 at 8:33

GoogleCodeExporter commented 9 years ago
I installed for the first time 3.9.12, same problem. i will try to learn how to 
putty into my iphone and make the changes ... i will report back once done

Original comment by bila...@gmail.com on 27 May 2011 at 7:03

GoogleCodeExporter commented 9 years ago
You can fix the permissions with ifile. you don't need to ssh into your iphone.

Original comment by ch...@mihachris.com on 27 May 2011 at 7:19

GoogleCodeExporter commented 9 years ago
yup it worked with ifile, strangely the problem didnt go away even with 3.9.13 
but ifile fixed it, also to be noted that the ifile in installous is older 
version and dosnt give the access to system files strangely ... have to install 
it via cydia and is a shareware now.

this could be unrelated question, but can i just dl the G729a codec and install 
it in other sip phone/s directories to use it?

Original comment by bila...@gmail.com on 28 May 2011 at 4:59

GoogleCodeExporter commented 9 years ago
hello

i need help to configure the version 3.9.14 on iphone 4 ios 4.3.3, i have the 
password an the proxy but it is giving me athentication error, no matter if i 
enter the password in upper or lower case.

please help want to try to use my magic jack on my iphone... oh one more thing 
i am in the dominican republic i don't know if that is a problem.

Original comment by odalisde...@gmail.com on 5 Jun 2011 at 5:09

GoogleCodeExporter commented 9 years ago
hello

i need help to configure the version 3.9.14 on iphone 4 ios 4.3.3, i have the 
password an the proxy but it is giving me athentication error, no matter if i 
enter the password in upper or lower case.

please help want to try to use my magic jack on my iphone... oh one more thing 
i am in the dominican republic i don't know if that is a problem.

Original comment by odalisde...@gmail.com on 5 Jun 2011 at 5:09