Could not find GALX Key
-
- Posts: 8
- Joined: Wed Nov 13, 2013 6:52 pm
Could not find GALX Key
I downloaded the sipsorcery-1.2 and installed as described in the Quick start section. My XLite logged into the local copy and used the same dialplan that I used with the on-line version. I was able to received the call from PSTN. However, when I tried to make a call, the Command Prompt window showed the following errors:
"Google Voice pre-login page loaded successfully,
Exception GoogleVoiceCall InitiateCall. Could not find GALX Key on your GoogleVoice pre-login page, callback cannot proceed.
......"
Can someone let me know what I did wrong or which step I didn't perform?
Thanks.
Edit:
Looks like it had happened on the on-line system before also but Aaron fixed it on Oct. 29, 2013. Maybe it was not fixed in the Local Version?
Aaron: can you update the local version service code also? Thanks.
"Google Voice pre-login page loaded successfully,
Exception GoogleVoiceCall InitiateCall. Could not find GALX Key on your GoogleVoice pre-login page, callback cannot proceed.
......"
Can someone let me know what I did wrong or which step I didn't perform?
Thanks.
Edit:
Looks like it had happened on the on-line system before also but Aaron fixed it on Oct. 29, 2013. Maybe it was not fixed in the Local Version?
Aaron: can you update the local version service code also? Thanks.
Re: Could not find GALX Key
You need to compile the latest version, 1.2 GoogleVoice is out of date. There is a new version of the Google Voice source code with more robust GALX retrieval.
-
- Posts: 8
- Joined: Wed Nov 13, 2013 6:52 pm
Re: Could not find GALX Key
I tried but always got compilation error. I really don't know much about C#. Is there a test version compiled from the new source code that I can try? Thanks.
Re: Could not find GALX Key
Yes you can try the compiled files in the sipsorcery-servers\build directory from the codeplex source repository (https://sipsorcery.codeplex.com/SourceControl/latest). I commit the latest version of my build each time I update the source code.
-
- Posts: 8
- Joined: Wed Nov 13, 2013 6:52 pm
Re: Could not find GALX Key
Aaron:
Thanks very much for your reply and direction. I found the build directory, which is under sipsorcery-servers, and downloaded it. However, I still have trouble to make it work. What I did was as follows:
1. I duplicated the sipsorcery-1.2 directory to have a new one and deleted the files but not the subdirectories. Copied the files in the build directory into this directory.
2. According to Quickstart in the Configuration Guild file, I opened an command window as administrator. In the new directory, I ran "sipsorcery-allinone.exe –c >>debug.log", since the sipsorcery-appsvr.exe is not available.
3. Then the process stopped and showed me: SIPSorcery.SIPAppServer has stopped working
4. The debug.log showed the following:
"Starting logging initialisation.
Logging initialised.
SIP App Server starting
SIP App Server Console starting...
pid=4544.
os=Microsoft Windows NT 6.1.7601 Service Pack 1.
current directory=c:\sipsorcery.
base directory=c:\sipsorcery\.
Exception SIPAppServerDaemon Start. Could not load file or assembly 'MySql.Data, Version=6.6.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)"
On the Command Window, it showed:
"Unhandled Exception: MySql.Data.MySqlClient.MySqlEception: Unable to connect to any of the specified MySQL hosts.
at SIPSorsery.SIPAppServer.SIPAllInOneDeamon.Start()
.....
"
The same procedure worked when I use the 1.2 version with sipsorcery-appsvr.exe –c.
Could you please let me know did I miss anything or did anything wrong?
Thanks in advance.
Thanks very much for your reply and direction. I found the build directory, which is under sipsorcery-servers, and downloaded it. However, I still have trouble to make it work. What I did was as follows:
1. I duplicated the sipsorcery-1.2 directory to have a new one and deleted the files but not the subdirectories. Copied the files in the build directory into this directory.
2. According to Quickstart in the Configuration Guild file, I opened an command window as administrator. In the new directory, I ran "sipsorcery-allinone.exe –c >>debug.log", since the sipsorcery-appsvr.exe is not available.
3. Then the process stopped and showed me: SIPSorcery.SIPAppServer has stopped working
4. The debug.log showed the following:
"Starting logging initialisation.
Logging initialised.
SIP App Server starting
SIP App Server Console starting...
pid=4544.
os=Microsoft Windows NT 6.1.7601 Service Pack 1.
current directory=c:\sipsorcery.
base directory=c:\sipsorcery\.
Exception SIPAppServerDaemon Start. Could not load file or assembly 'MySql.Data, Version=6.6.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)"
On the Command Window, it showed:
"Unhandled Exception: MySql.Data.MySqlClient.MySqlEception: Unable to connect to any of the specified MySQL hosts.
at SIPSorsery.SIPAppServer.SIPAllInOneDeamon.Start()
.....
"
The same procedure worked when I use the 1.2 version with sipsorcery-appsvr.exe –c.
Could you please let me know did I miss anything or did anything wrong?
Thanks in advance.
Re: Could not find GALX Key
Try copying the MySQL* dll's from https://sipsorcery.codeplex.com/SourceC ... st#stable/ into the same directory.
-
- Posts: 8
- Joined: Wed Nov 13, 2013 6:52 pm
Re: Could not find GALX Key
Still doesn't work. The result is the same. Command window screenshot attached. Thanks.
Re: Could not find GALX Key
Same here, not able to start local version after copy the binaries, including the MySQL files
Exception SQLQueryProvider Execute. .Select(asset => asset). Unable to connect to any of the specified MySQL hosts.
Exception SQLAssetPersistor Get (list) (for SIPDomain). Unable to connect to any of the specified MySQL hosts.
Exception LoadSIPDomains. Unable to connect to any of the specified MySQL hosts.
Exception SIPAppServerDaemon Start. Unable to connect to any of the specified MySQL hosts.
Unhandled Exception: MySql.Data.MySqlClient.MySqlException: Unable to connect to any of the specified MySQL hosts.
at SIPSorcery.SIPAppServer.SIPAllInOneDaemon.Start()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
Aaron, could you please release a new version of local installer? or do you have any detail documents for the build and deployment?
Thanks,
fs
Exception SQLQueryProvider Execute. .Select(asset => asset). Unable to connect to any of the specified MySQL hosts.
Exception SQLAssetPersistor Get (list) (for SIPDomain). Unable to connect to any of the specified MySQL hosts.
Exception LoadSIPDomains. Unable to connect to any of the specified MySQL hosts.
Exception SIPAppServerDaemon Start. Unable to connect to any of the specified MySQL hosts.
Unhandled Exception: MySql.Data.MySqlClient.MySqlException: Unable to connect to any of the specified MySQL hosts.
at SIPSorcery.SIPAppServer.SIPAllInOneDaemon.Start()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
Aaron, could you please release a new version of local installer? or do you have any detail documents for the build and deployment?
Thanks,
fs
-
- Posts: 8
- Joined: Wed Nov 13, 2013 6:52 pm
Re: Could not find GALX Key
Totally agree. I tried everything but could not get it to work. An update of v1.2 will be really helpful.fs wrote:Same here, not able to start local version after copy the binaries, including the MySQL files
.....
Aaron, could you please release a new version of local installer? or do you have any detail documents for the build and deployment?
Thanks,
fs